'daemon: dbus' is incomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
In Progress
|
Undecided
|
James Henstridge |
Bug Description
'daemon: dbus' was part of Ubuntu Core 15.04, it was only for system services and it was removed in series 16 in favor of 'interfaces'. As of now,
1. snapd allows specifying 'daemon: dbus' but when you do it generates an incomplete systemd service file:
/usr/lib/
2. snapcraft doesn't allow you to specify it (which is good since the implementation doesn't work correctly)
3. http://
4. https:/
I adjusted '4' just now. I'm not sure where to file a bug for '3'.
For '1', we could consider updating the 'dbus' interface in some manner to have snapd properly tie in with systemd. It already supports 'system' dbus names, generates a dbus bus policy file and adjusts security policy such that a daemon started without Type=dbus will work. It should therefore be possible to let the developer specify 'daemon: dbus' under certain conditions. This needs some design since the systemd service files allow only one BusName, but snapd supports a daemon to specify multiple slots for acquiring multiple dbus well-known names.
tags: | added: snap-docs |
affects: | snappy → snapd |
Changed in snapd: | |
assignee: | nobody → James Henstridge (jamesh) |
Regarding 3.
Adding the snap-docs tag to track the snapcraft.io bug.
Fixed in docs (next deployment tomorrow) and setting up this page to import from the wiki.