Opened 15 years ago

Closed 14 years ago

#23475 closed defect (fixed)

dbus uses deprecated launchd options

Reported by: drkp (Dan Ports) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: dbus

Description

dbus's launchd integration uses some launchd options that are valid for 10.4 but deprecated in 10.5 and beyond. This isn't yet causing any problems that I'm aware of (except for preventing launch-on-demand), but might break in the future.

In /Library/LaunchDaemons/org.freedesktop.dbus-system.plist:

  • OnDemand = false should now be RunAtLoad = true

In /Library/LaunchAgents/org.freedesktop.dbus-session.plist:

  • ServiceIPC is no longer necessary
  • OnDemand = false should be RunAtLoad = true, or better yet deleted entirely for on-demand loading

With on-demand loading, it seems worth considering enabling these plists by default, although this may go against current policy: see http://lists.macosforge.org/pipermail/macports-dev/2010-January/011129.html

#15081 (dbus doesn't need to create a pid file when using launchd) is also vaguely related.

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: mcalhoun@… removed
Owner: changed from macports-tickets@… to mcalhoun@…

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.