Opened 13 years ago

Closed 10 years ago

#29797 closed defect (worksforme)

dbus-daemon cannot be restarted after dbus upgrade

Reported by: vinc17@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: dbus

Description

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).

Change History (1)

comment:1 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: newclosed

dbus has gone numerous revisions since this ticket was opened (apologies for never acknowledging).
I have never been able to reproduce this problem.
With the hope that this problem has been fixed in the interim, closing for now.
If there still is a problem, we can reassess.

Note: See TracTickets for help on using tickets.