From: Lennart Poettering Date: Sun, 28 Apr 2019 09:17:59 +0000 (+0200) Subject: logind: make sure the service gets access to the linger directory X-Git-Tag: v243-rc1~295^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19483c60bb105fa33831dfdee221c86db7f12a4e;p=thirdparty%2Fsystemd.git logind: make sure the service gets access to the linger directory Fixes: #12401 --- diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 3eef95c6614..8a7262776f9 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -43,6 +43,7 @@ RestrictRealtime=yes RestrictSUIDSGID=yes RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown RuntimeDirectoryPreserve=yes +StateDirectory=systemd/linger SystemCallArchitectures=native SystemCallErrorNumber=EPERM SystemCallFilter=@system-service