systemd: add user unit

The user unit omits the "ProtectKernelModules" setting which fails
with modular kernels:

 Failed at step CAPABILITIES spawning /usr/bin/mpd: Operation not permitted

It is unfortunate that systemd (version 232) is unable to reduce its
own capabilities, because this requires us to split system and user
units.

 https://bugs.musicpd.org/view.php?id=4608
This commit is contained in:
Max Kellermann
2016-12-13 08:41:55 +01:00
parent 53e22b81ef
commit ab332d7b2e
5 changed files with 79 additions and 0 deletions

1
NEWS
View File

@@ -2,6 +2,7 @@ ver 0.19.20 (not yet released)
* decoder
- ffmpeg: fix crash bug
* fix unit test failure after recent "setprio" change
* systemd: add user unit
ver 0.19.20 (2016/12/09)
* protocol