dbus no longer supports Upstart service activation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In certain areas, Ubuntu Touch needs to use D-Bus activation to start Upstart jobs.
= Overview =
This bug is for tracking the re-enabling of Upstart service activation in D-Bus.
In certain areas, Ubuntu Touch needs to use D-Bus activation to start Upstart jobs. The version of D-Bus in Ubuntu no longer supports Upstart service activation which has resulted in work-arounds being introduced for Touch that attempt to simulate proper service activation with varying degrees of success.
= Background =
D-Bus in Ubuntu used to support Upstart service activation. The lp:ubuntu/dbus logs shows that it was added in r112:
revno: 112 [merge]
fixes bug: https:/
author: Sebastien Bacher <email address hidden>, Iain Lane
committer: Package Import Robot <email address hidden>
branch nick: quantal
timestamp: Fri 2012-08-03 14:05:38 +0200
message:
* Upload to quantal (lp: #1014850)
* debian/control:
- use "Breaks: unity-services (<< 6.0.0-0ubuntu6)", the new dbus
eavedropping protection was creating issues with previous versions
[ Iain Lane ]
* Merge with Debian experimental for the new stable series. Remaining Ubuntu
changes:
- Install binaries into / rather than /usr:
+ debian/rules: Set --exec-prefix=/
+ debian/
- Use upstart to start:
+ Add debian/
+ debian/control: Add upstart dependency.
+ debian/
script for checking if we are already running.
+ debian/control: versioned dependency on netbase that emits the new
- 20_system_
the system bus to 5000 (LP #454093)
- 81-session.
to 60 seconds. It may be too short on the live CD with slow machines.
- Add 0001-activation
0002-
0003-
0004-
0005-
James Remnant to implement Upstart service activation. Not upstream.
Disable patches since they do not apply and this facility is unused
anyway.
* Remove systemd BDs; not appropriate for Ubuntu.
At some point [1], the lp:ubuntu/dbus branch lost the ability to support Upstart service activation [2] as the patches were dropped.
[1] - Can't find out exactly when since lp:ubuntu/dbus is not current:
Most recent Ubuntu version: 1.6.12-0ubuntu8
Packaging branch version: 1.6.12-0ubuntu1
Packaging branch status: OUT-OF-DATE
[2] - See debian/
0001-
0002-
0003-
0004-
0005-
= Plan =
The existing patches may need slight rework to apply now. It would be highly preferable if upstream D-Bus merge Upstart service activation since dbus-daemon already provides a '--systemd-
However, the ideal would be a consistent and generic service activation approach which does not require hard-coding particular init daemon names anywhere.
= References =
- https:/
- http://
Status changed to 'Confirmed' because the bug affects multiple users.