[MacPorts] #29797: dbus-daemon cannot be restarted after dbus upgrade

MacPorts noreply at macports.org
Sun Jun 12 14:14:27 PDT 2011


#29797: dbus-daemon cannot be restarted after dbus upgrade
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  mcalhoun@…           
     Type:  defect               |      Status:  new                  
 Priority:  Normal               |   Milestone:                       
Component:  ports                |     Version:  1.9.2                
 Keywords:                       |        Port:  dbus                 
---------------------------------+------------------------------------------
 Upgrade of dbus says:
 {{{
 ############################################################################
 # Startup items have been generated that will aid in
 # starting dbus with launchd. They are disabled
 # by default. Execute the following command to start them,
 # and to cause them to launch at startup:
 #
 # sudo launchctl load -w
 /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
 # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
 session.plist
 ############################################################################
 }}}
 but I get the following error:
 {{{
 launchctl:
 CFURLWriteDataAndPropertiesToResource(/Library/LaunchAgents/org.freedesktop
 .dbus-session.plist) failed: -10
 org.freedesktop.dbus-session: Already loaded
 }}}
 That's an error, because this is still the old dbus-daemon that is
 running.

 If I try to unload it first and load it again as described, it doesn't
 work (I cannot see the "/opt/local/bin/dbus-daemon --nofork --session"
 process).

 I reverted to dbus @1.2.24_1 and this problem has disappeared (I still get
 the same "... failed: -10" error, but it isn't fatal).

-- 
Ticket URL: <https://trac.macports.org/ticket/29797>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list