]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: make sure the service gets access to the linger directory
authorLennart Poettering <lennart@poettering.net>
Sun, 28 Apr 2019 09:17:59 +0000 (11:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 May 2019 13:05:27 +0000 (15:05 +0200)
Fixes: #12401
units/systemd-logind.service.in

index 3eef95c6614f03fdbe25b16344251ef5d3ac4837..8a7262776f9236ad697278099593c1dbe2ac9903 100644 (file)
@@ -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