dbus @1.2.12_5 apparent regression, can't "launchctl load"

Jim DeLaHunt from.macports at jdlh.com
Sun May 24 23:25:29 PDT 2009


Rainer:

Thank you for your suggestion. Unfortunately, I 
don't recognise a  <Disabled> key in my plist. 
See the listing below.  Also, don't dbus 
@1.2.12_5 and dbus @1.2.12_4 operate on the same 
plist file?  Why would one work, and not the 
other?

At 3:50 AM +0200 5/25/09, Rainer Müller wrote:
>Jim DeLaHunt wrote:
>>  Here's a summary of a command-line session which persuades me that
>>  MacPorts' dbus @1.2.12_5 is not working, causing gnucash to fail to get
>>  its configuration, and that rolling back to dbus @1.2.12_4 is a suitable
>>  fix. My comments are marked with "[JDLH: ...]".
>>
>>
>>  % launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>>  nothing found to load
>>  % ps auxwww | grep dbus
>>  jdlh       365   0.0  0.0   599780    392 s000  R+    6:21PM 0:00.00
>>  grep dbus
>
>Most probably this .plist has a <Disabled> key which is set to "Yes".
>Thus launchctl does not recognize anything to load.
>Try to enable it by using:
>launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
>
>HTH,
>Rainer

=====
% more /Library/LaunchAgents/org.freedesktop.dbus-session.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 
1.0//EN" "http://www.apple.com/DTDs/
PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
         <key>Label</key>
         <string>org.freedesktop.dbus-session</string>

         <key>ServiceIPC</key>
         <true/>

         <!-- bug in 10.4's launchd - on-demand loading does not work -->
         <key>OnDemand</key>
         <false />

         <key>ProgramArguments</key>
         <array>
                 <string>/opt/local/bin/dbus-daemon</string>
                 <string>--nofork</string>
                 <string>--session</string>
         </array>

         <key>Sockets</key>
         <dict>
                 <key>unix_domain_listener</key>
                 <dict>
                         <key>SecureSocketWithKey</key>
                         <string>DBUS_LAUNCHD_SESSION_BUS_SOCKET</string>
                 </dict>
         </dict>
</dict>
</plist>

=====

Any other suggestions?
For now, I've reverted to dbus @1.2.12_4, and that works for me.
-- 
     --Jim DeLaHunt, jdlh at jdlh.com     http://blog.jdlh.com/ (http://jdlh.com/)
       multilingual websites consultant

       157-2906 West Broadway, Vancouver BC V6K 2G8, Canada
          Canada mobile +1-604-376-8953


More information about the macports-users mailing list