Please do not respond off list. 1) It says it is already loaded... so I think you're fine. It's loaded. The context of the original message has been lost on me, so I don't know what to do from there. Is the problem that it isn't loaded even though it says it is? What does 'launchctl list org.freedesktop.dbus-session' show?
2) The CFURLWriteDataAndPropertiesToResource error is odd. -10 is kCFURLUnknownError which doesn't give much help. Is it maybe a permissions issue? What about: ls -l /var/db/launchd.db/com.apple.launchd.peruser.502/overrides.plist cat /var/db/launchd.db/com.apple.launchd.peruser.502/overrides.plist On Aug 30, 2010, at 22:13, Matthias Ohmsen wrote: > Hi, > > this is what I get, when I call "launchctl load -w > /Library/LaunchAgents/org.freedesktop.dbus-session.plist": > org.freedesktop.dbus-session: Already loaded > launchctl: > CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/com.apple.launchd.peruser.502/overrides.plist) > failed: -10 > > > and this is my /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>Disabled</key> > <true/> > > <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> > > greetings > Matthias > > Am 26.08.2010 um 18:16 schrieb Jeremy Huddleston: > >> >> On Aug 26, 2010, at 09:01, Rainer Müller wrote: >> >>> On 2010-08-26 17:37 , Jeremy Huddleston wrote: >>>> Snow Leopard: >>>> launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist >>>> >>>> Leopard: >>>> sudo launchctl load -w >>>> /Library/LaunchAgents/org.freedesktop.dbus-session.plist >>> >>> Does this really require sudo on Leopard? >> >> SL has a per-user launchd in which the Disabled boolean is set outside of >> the plist. The SL version is what behaves "correctly". On Leopard, you >> need to use sudo with -w in order to have write permission to the plist. >> >>> From launchctl(1) on SL: >> -w Overrides the Disabled key and sets it to false. >> In previous versions, this option would modify the >> configuration file. Now the state of the Disabled >> key is stored elsewhere on-disk. >> >>> If so, instructions given by 'port notes dbus' are wrong for Leopard and >>> should be made conditional per OS version. >> >> On Leopard, you don't need sudo if you don't have -w. The instructions in >> the kde4 portgroups don't use '-w' and thus should work for both versions. >> They should probably be updated then to inform the user to remove the >> Disabled key by other means (editing the file?) >> >> >> _______________________________________________ >> macports-users mailing list >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
