[MacPorts] #17950: dbus patched with launchd support and version dump

MacPorts noreply at macports.org
Mon Jan 12 02:38:30 PST 2009


#17950: dbus patched with launchd support and version dump
---------------------------------+------------------------------------------
  Reporter:  jonas.baehr@…       |       Owner:  macports-tickets@…                   
      Type:  enhancement         |      Status:  closed                               
  Priority:  Normal              |   Milestone:  Port Enhancements                    
 Component:  ports               |     Version:  1.7.0                                
Resolution:  fixed               |    Keywords:  launchd kde4 x11                     
      Port:  dbus                |  
---------------------------------+------------------------------------------

Comment(by jonas.baehr@…):

 Replying to [comment:15 tcwan@…]:
 > I tried to run dbus-launch (1.2.12) in a user account:
 >
 > Failed to start message bus: Check-in failed: Permission denied
 >
 > EOF in dbus-launch reading address from bus daemon
 >
 > $ ps ax |fgrep dbus returns:
 > 128   ??  S      0:00.16 /opt/local/bin/dbus-daemon --nofork --session
 >
 > $ launchctl  load /Library/LaunchAgents/org.freedesktop.dbus-
 session.plist
 > org.freedesktop.dbus-session: Already loaded

 dbus-launch is only needed for X11 systems. There it starts up the bus,
 and prints the parameter to stdout. When using the --autolaunch option, it
 also registers the session bus address as a X11 property and sets up a
 babysitter process to watch and restart the bus in case of failure. All
 this is obsolete as now launchd starts up the session bus, plays watchdog,
 and manages the session bus address. Don't use dbus-launch anymore unless
 you know what you're doing! Normally the user should just ''once'' call
 `launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist`.
 Since 10.5 users can even let launchd start dbus on demand by activating
 it in /Library/LaunchAgents/org.freedesktop.dbus-session.plist (in 10.4
 it's unfortunately broken, but that's a launchd bug)

-- 
Ticket URL: <http://trac.macports.org/ticket/17950#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list