[apparmor] [PATCH] allow writes to /{, var/}run/sendsigs.omit.d/*dnsmasq.pid for NM integration

Steve Beattie steve at nxnw.org
Sat Mar 3 03:56:05 UTC 2012


On Fri, Mar 02, 2012 at 11:34:57AM -0600, Jamie Strandboge wrote:
> Author: Jamie Strandboge <jamie at canonical.com>
> Description: allow writes to /{,var/}run/sendsigs.omit.d/*dnsmasq.pid for
>  network manager integration
> Bug-Ubuntu: https://launchpad.net/bugs/941808
> 
> Index: apparmor-2.7.99/profiles/apparmor.d/usr.sbin.dnsmasq
> ===================================================================
> --- apparmor-2.7.99.orig/profiles/apparmor.d/usr.sbin.dnsmasq	2012-03-02 08:13:38.000000000 -0600
> +++ apparmor-2.7.99/profiles/apparmor.d/usr.sbin.dnsmasq	2012-03-02 09:53:59.000000000 -0600
> @@ -53,6 +53,7 @@
>  
>    # NetworkManager integration
>    /{,var/}run/nm-dns-dnsmasq.conf r,
> +  /{,var/}run/sendsigs.omit.d/*dnsmasq.pid w,
>  
>    # Site-specific additions and overrides. See local/README for details.
>    #include <local/usr.sbin.dnsmasq>

I'm clearly not smart enough, because I tried to figure out what the
point of this directory is from the /etc/init.d/sendsigs init script
is and failed.

This feels awfully Ubuntu specific. Is there any sign that the dnsmasq
network-manager integration and the need to write this pid file is going
anywhere else?

-- 
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/20120302/9cc35658/attachment.pgp>


More information about the AppArmor mailing list