[debhelper-devel] Bug#764678: dh-systemd: Please support systemd user services

Michael Biebl biebl at debian.org
Wed Dec 21 08:49:08 UTC 2016


Am 24.11.2016 um 17:35 schrieb Michael Biebl:
> Am 23.11.2016 um 16:00 schrieb Daniel Kahn Gillmor:
>> On Mon 2016-10-31 15:49:29 -0400, Daniel Kahn Gillmor wrote:

>> Sorry to nag about this, but is there any alternative to my just
>> shipping symlinks?
> 
> Are those user services supposed to be enabled by default?
> If so, I'd just ship the symlinks in the package for now.
> 
> See for example dbus-user-session, which ships
> 
> /usr/lib/systemd/user/dbus.service
> /usr/lib/systemd/user/dbus.socket
> and
> /usr/lib/systemd/user/sockets.target.wants/dbus.socket

My earlier comment [1], that shipping the symlink in the package is
ugly, was specifically meant for doing it in /etc.
Shipping the symlinks in /usr/lib/systemd/user/foo.wants/ is imho an
acceptable solution for stretch, i.e.
/usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket

I'm not sure if gpg-agent-ssh.socket and gpg-agent-extra.socket should
be enabled by default. Those look like they should be enabled on a
per-user basis and default to off?

In buster we should definitely add proper support for user services to
i-s-h and dh-systemd. For stretch this is too late and not going to
happen (anymore). Sorry about that.

Regards,
Michael


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764678#15
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20161221/68b4523d/attachment-0001.sig>


More information about the debhelper-devel mailing list