On Jul 4, 2012 4:35 AM, "Dave Reisner" <dreisner@archlinux.org> wrote:
>
> 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>
> ---
> 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
> --- 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
>
Sounds good.