summaryrefslogtreecommitdiff
path: root/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-16 18:38:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-07-16 18:38:15 -0300
commit7fac4b99ab7cf8b97ac4925277e014c4a062fe22 (patch)
treea77681d0104c08e44315bd120a92e43263de0d62 /libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
parent5e92143b58bc8552319151b87c531fa5a66005e5 (diff)
parent718af6e3e7f3d39d288257ebe37d0cb8a7c2338e (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch')
-rw-r--r--libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch b/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
new file mode 100644
index 000000000..a9b7a2423
--- /dev/null
+++ b/libre/initscripts/0001-remove-run-nologin-before-leaving-rc.multi.patch
@@ -0,0 +1,29 @@
+From 55bd14c586f0f64b8ee5515161be1aa1098d3226 Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner@archlinux.org>
+Date: Tue, 3 Jul 2012 22:28:05 -0400
+Subject: [initscripts][PATCH] remove /run/nologin before leaving rc.multi
+To: arch-projects@archlinux.org
+
+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@archlinux.org>
+Signed-off-by: Dave Reisner <dreisner@archlinux.org>
+---
+ rc.multi | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/rc.multi b/rc.multi
+index daf2372..7d4acaa 100755
+--- a/rc.multi
++++ b/rc.multi
+@@ -31,4 +31,6 @@ run_hook multi_end
+
+ bootlogd_stop
+
++rm -f /run/nologin
++
+ # vim: set ts=2 sw=2 noet:
+--
+1.7.11.1
+