[systemd-devel] [PATCH] tmpfiles: do not make /run/nologin executable

Dave Reisner d at falconindy.com
Fri Jan 18 12:54:28 PST 2013


On Fri, Jan 18, 2013 at 09:33:59PM +0100, Michał Bartoszkiewicz wrote:
> ---
>  tmpfiles.d/systemd.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
> index f3928d6..ee86f2e 100644
> --- a/tmpfiles.d/systemd.conf
> +++ b/tmpfiles.d/systemd.conf
> @@ -21,4 +21,4 @@ d /run/systemd/sessions 0755 root root -
>  d /run/systemd/users 0755 root root -
>  d /run/systemd/shutdown 0755 root root -
>  
> -F /run/nologin 0755 - - - "System is booting up."
> +F /run/nologin 0644 - - - "System is booting up."
> -- 
> 1.8.1.1
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

It'd be even better if this particular entry were to go away entirely
and be replaced by some other mechanism. It's not cool that the default
behavior of running 'systemd-tmpfiles --create' will lock you out of
your machine.


More information about the systemd-devel mailing list