Bug#951411: systemd: user service units not getting precedence
Michael Biebl
biebl at debian.org
Sun Feb 16 18:05:00 GMT 2020
Control: tags -1 + unreproducible moreinfo
Am 16.02.20 um 09:08 schrieb westlake:
> Package: systemd
> Version: 244-3~bpo10+1
> Severity: important
>
> Dear maintainer,
>
> please repair the precedence for the user's service units.
>
> having an example.service unit in ~/.config/systemd/user overrides it's
> counterpart in /usr/lib/systemd/user.
>
~/.config/systemd/user does override /etc/systemd/user and
/usr/lib/systemd/user. See
michael at pluto:~$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled;
vendor preset: enabled)
Active: active (running) since Sun 2020-02-16 08:00:45 CET; 10h ago
TriggeredBy: ● pipewire.socket
Main PID: 1481 (pipewire)
Memory: 1.2M
CGroup: /user.slice/user-1000.slice/user at 1000.service/pipewire.service
└─1481 /usr/bin/pipewire
Feb 16 08:00:45 pluto systemd[1470]: Started Multimedia Service.
Feb 16 08:00:46 pluto pipewire[1481]: [E][v4l2-utils.c:91
spa_v4l2_open()] v4l2: /dev/video1 is no video capture device
michael at pluto:~$ sudo cp /usr/lib/systemd/user/pipewire.service
/etc/systemd/user/
michael at pluto:~$ systemctl --user daemon-reload
michael at pluto:~$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
Loaded: loaded (/etc/systemd/user/pipewire.service; enabled; vendor
preset: enabled)
Active: active (running) since Sun 2020-02-16 08:00:45 CET; 11h ago
TriggeredBy: ● pipewire.socket
Main PID: 1481 (pipewire)
Memory: 1.2M
CGroup: /user.slice/user-1000.slice/user at 1000.service/pipewire.service
└─1481 /usr/bin/pipewire
Feb 16 08:00:45 pluto systemd[1470]: Started Multimedia Service.
Feb 16 08:00:46 pluto pipewire[1481]: [E][v4l2-utils.c:91
spa_v4l2_open()] v4l2: /dev/video1 is no video capture device
michael at pluto:~$ cp /etc/systemd/user/pipewire.service ~/.config/systemd
michael at pluto:~$ systemctl --user daemon-reload
michael at pluto:~$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
Loaded: loaded
(/home/michael/.config/systemd/user/pipewire.service; enabled; vendor
preset: enabled)
Active: active (running) since Sun 2020-02-16 08:00:45 CET; 11h ago
TriggeredBy: ● pipewire.socket
Main PID: 1481 (pipewire)
Memory: 1.2M
CGroup: /user.slice/user-1000.slice/user at 1000.service/pipewire.service
└─1481 /usr/bin/pipewire
Feb 16 08:00:45 pluto systemd[1470]: Started Multimedia Service.
Feb 16 08:00:46 pluto pipewire[1481]: [E][v4l2-utils.c:91
spa_v4l2_open()] v4l2: /dev/video1 is no video capture device
$ systemctl --user --version
systemd 244 (244.2-1)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP
+LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS
+KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
Please elaborate!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20200216/41bc8f05/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list