[apparmor] [PATCH] remove /var/run alternations in favor of /run

Seth Arnold seth.arnold at canonical.com
Fri Sep 15 20:00:46 UTC 2017


On Fri, Sep 15, 2017 at 08:19:24AM -0500, Jamie Strandboge wrote:
> 
> Description: remove /{,var/}run, /{var/,}run and {var/run,run} alternations in
> favor of /run. This migration happened corss-distribution in late 2011 when the
> compatibility symlink for /var/run -> /run was introduced.
> 
> References: https://lists.ubuntu.com/archives/apparmor/2017-April/010724.html
> 
> Signed-Off-By: Jamie Strandboge <jamie at canonical.com>

Acked-by: Seth Arnold <seth.arnold at canonical.com>

.. with one concern:

> === modified file 'profiles/apparmor.d/usr.sbin.ntpd'
> --- profiles/apparmor.d/usr.sbin.ntpd	2016-11-14 23:41:53 +0000
> +++ profiles/apparmor.d/usr.sbin.ntpd	2017-09-15 13:02:48 +0000
> @@ -50,15 +50,15 @@
>    /var/lib/ntp/etc/* r,
>    /var/lib/ntp/ntp.drift rw,
>    /var/lib/ntp/ntp.drift.TEMP rw,
> -  /var/lib/ntp/{,var/}run/ntp/ntpd.pid w,
> +  /var/lib/ntp/run/ntp/ntpd.pid w,


With a path this ugly and ntpd's long history of moving these files around
all the time, I think we shouldn't commit this change.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170915/247fd566/attachment.sig>


More information about the AppArmor mailing list