[arch-projects] [initscripts][PATCH] remove /run/nologin before leaving rc.multi
dreisner at archlinux.org
Tue Jul 3 22:35:43 EDT 2012
systemd-186 writes this file when running systemd-tmpfiles, but
initscripts never removes it. This disallows all non-root logins.
Reported-by: Dan McGee <dan at archlinux.org>
Signed-off-by: Dave Reisner <dreisner at archlinux.org>
Tom: I've applied this to initscripts and released a new pkg just to avoid
any pain that this would otherwise undoubtedly cause. There's a few solutions
to this problem but I thought that this would be the most straightforward.
Feel free to disagree and we can work out an alternative.
rc.multi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rc.multi b/rc.multi
index daf2372..7d4acaa 100755
@@ -31,4 +31,6 @@ run_hook multi_end
+rm -f /run/nologin
# vim: set ts=2 sw=2 noet:
More information about the arch-projects