Meld fails to start; complains about launchd not providing socket path
Rainer Müller
raimue at macports.org
Sun May 24 19:15:22 PDT 2009
Mike Alexander wrote:
> This message is slightly wrong in the current version of the dbus
> Portfile. I think a more nearly correct version would be
>
> #################################################################################################
>
> # Startup items have been generated that will aid in
> # starting ${portname} with launchd. They are disabled
> # by default. Execute the following command to start the system bus,
> # and to cause it to launch at startup:
> #
> # ${sudo}launchctl load -w ${startup_root}/Library/LaunchDaemons/[file
> tail ${plistFl}]
> #
> # Execute the following command for each user using dbus to cause the
> session bus to
> # be started automatically when needed (you do not want sudo on this
> command):
> #
> # launchctl load
> ${startup_root}/Library/LaunchAgents/org.freedesktop.dbus-session.plist
> ##################################################################################################
You are right, the org.freedesktop.dbus-session.plist is intended to be
loaded by a user, not system-wide by root.
The message has been changed by mcalhoun in r49300. The old message was:
##############################################################################
# It is absolutely necessary for dbus enabled programs to work to execute
#
# launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
#
# once for every user. Don't use 'sudo', else it will work only for root!
# You also have to unload it before deactivating/uninstalling this software!
##############################################################################
This was more correct and it should be changed to read like this again
in my opinion.
Rainer
More information about the macports-users
mailing list