]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: do not create /run/nologin if PAM is disabled
authorXi Ruoyao <xry111@mengyan1223.wang>
Sun, 12 May 2019 06:22:11 +0000 (14:22 +0800)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 May 2019 13:35:51 +0000 (15:35 +0200)
commita45ef5070d5875d70e39fc430e82eb26c221ded5
tree25e9380a8ecfad6d9eaa139b0cbf4261d38b4cbf
parentccc162e03c9608b53577bc2155111891ed6fc012
tmpfiles: do not create /run/nologin if PAM is disabled

If systemd is not built with PAM support, systemd-user-sessions.service
won't be built.  On systems without PAM, /run/nologin is useless.  On
systems with PAM but systemd is not built with PAM, /run/nologin won't
be removed and all unprivileged users can't login.

So, we should not create /run/nologin if systemd is built without PAM.
tmpfiles.d/meson.build