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

Michael Biebl biebl at debian.org
Thu Nov 24 16:35:58 UTC 2016


Am 23.11.2016 um 16:00 schrieb Daniel Kahn Gillmor:
> On Mon 2016-10-31 15:49:29 -0400, Daniel Kahn Gillmor wrote:
>> Is there any word on this?  GnuPG upstream has now merged patches to
>> support socket-activation of dirmngr and gpg-agent, and gnupg2 version
>> 2.1.15-8 has .service and .socket files for managing nice clean
>> user-level services.
>>
>> I don't plan on enabling them globally right away (i'd love to hear more
>> feedback from users who have enabled them manually), but i'd really like
>> to be *able* to enable them in the package if we decide that makes
>> sense.
>>
>> In the event that globally-enabling seems warranted, if there is no
>> explicit support by dh-systemd or any better alternatives, i'm likely to
>> resort to shipping symlinks in /etc/systemd/user/ :/ any other
>> suggestions?
> 
> 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


Sorry I don't have a better answer atm.

Regards,
Michael
-- 
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/20161124/180611e7/attachment-0001.sig>


More information about the debhelper-devel mailing list