[systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

Tom Gundersen teg at jklm.no
Wed Jul 16 03:15:09 PDT 2014


Why do you think this should be changed?

On Wed, Jul 16, 2014 at 12:09 PM, Jon Severinsson <jon at severinsson.net> wrote:
> From: Tollef Fog Heen <tfheen at err.no>
>
> ---
>  tmpfiles.d/legacy.conf | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tmpfiles.d/legacy.conf b/tmpfiles.d/legacy.conf
> index 3219672..a634c17 100644
> --- a/tmpfiles.d/legacy.conf
> +++ b/tmpfiles.d/legacy.conf
> @@ -10,7 +10,7 @@
>  # These files are considered legacy and are unnecessary on legacy-free
>  # systems.
>
> -d /run/lock 0755 root root -
> +d /run/lock 1777 root root -
>  L /var/lock - - - - ../run/lock
>
>  # /run/lock/subsys is used for serializing SysV service execution, and
> @@ -24,7 +24,7 @@ d /run/lock/subsys 0755 root root -
>  # On modern systems a BSD file lock is a better choice if
>  # serialization is needed on those devices.
>
> -d /run/lock/lockdev 0775 root lock -
> +d /run/lock/lockdev 0775 root root -
>
>  # /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the
>  # kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and
> --
> 2.0.1
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list