Bug#890509: dh_installsystemd/init-system-helpers: support user units

Iain Lane iain at orangesquash.org.uk
Thu Feb 15 12:44:25 GMT 2018


Package: debhelper,init-system-helpers
Severity: wishlist

Hi there!

I'm working on some GNOME changes (upstream) to support activating
session components using systemd user units instead of execing them from
gnome-session. As a part of this, a few packages will grow systemd user
units.

AFAICS dh_installsystemd and deb-systemd-helper don't support user
units, only system ones. Particularly enabling/disabling is interesting
- I think it'd be useful if they were to gain this functionality so that
packagers don't have to manage the symlinks themselves. It's mostly a
matter of additionally operating on the systemwide non-transient …/user
directories listed in systemd.unit(5) - /etc/systemd/user and
/usr/lib/systemd/user.

I'll try to get some time to work on this change, but I wanted to get
your opinions first. (If we decide this is indeed desirable, I'll
clone/reassign the bug to each package.) I suppose from
dh_installsystemd this should be done at a compat bump, to not break
packages which might set user units up themselves already.

Cheers,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]


More information about the Pkg-systemd-maintainers mailing list