[apparmor] [patch] /var/run in profiles/apparmor/profiles/extras/sbin.dhclient

Steve Beattie steve at nxnw.org
Tue Aug 9 08:01:49 UTC 2011


On Tue, Aug 09, 2011 at 01:14:52AM +0200, Christian Boltz wrote:
> Hello,
> 
> I just grepped through all profiles and found a last one that has 
> /var/run/ instead of /{,var/}run//{,var/}run/
>
> Therefore I propose the following patch:

Good catch. Acked-By: Steve Beattie <sbeattie at ubuntu.com>

Thanks!

> === modified file 'profiles/apparmor/profiles/extras/sbin.dhclient'
> --- profiles/apparmor/profiles/extras/sbin.dhclient     2011-08-08 20:54:23 +0000
> +++ profiles/apparmor/profiles/extras/sbin.dhclient     2011-08-08 23:12:42 +0000
> @@ -69,6 +69,6 @@
>    /sbin/ip mrix,
>    /usr/lib/NetworkManager/nm-dhcp-client.action mrix,
>    /var/lib/dhcp/* rw,
> -  /var/run/nm-dhclient-*.conf r,
> +  /{,var/}run/nm-dhclient-*.conf r,
>  
>  }
> 

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110809/2ac5384c/attachment.pgp>


More information about the AppArmor mailing list