[apparmor] [patch] Add new dnsmasq.leases location for lxd to dnsmasq profiles

Christian Boltz apparmor at cboltz.de
Tue Oct 18 18:53:35 UTC 2016


Hello,

Am Dienstag, 18. Oktober 2016, 11:42:08 CEST schrieb Seth Arnold:
> On Mon, Oct 17, 2016 at 09:00:56PM +0200, Christian Boltz wrote:
> > References: https://bugs.launchpad.net/bugs/1634199
> > 
> > 
> > I propose this patch for trunk, 2.10 and 2.9.
> 
> Acked for all three, thanks
> 
> Acked-by: Seth Arnold <seth.arnold at canonical.com>
> 
> > [ profiles-dnsmasq.diff ]
> > 
> > === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> > --- profiles/apparmor.d/usr.sbin.dnsmasq        2016-04-12 21:36:43
> > +0000 +++ profiles/apparmor.d/usr.sbin.dnsmasq        2016-10-17
> > 18:58:18 +0000 @@ -77,6 +77,7 @@
> > 
> >    # lxd-bridge pid and lease files
> >    /{,var/}run/lxd-bridge/dnsmasq.pid   rw,
> >    /var/lib/lxd-bridge/dnsmasq.*.leases rw,
> > +  /var/lib/lxd/networks/*/dnsmasq.leases rw,

I noticed what the whole lxd section is only in trunk, which means 
it doesn't make sense to commit this patch to 2.10 or 2.9 ;-)
(that's what I get for being lazy and not checking the 2.10 and 2.9 
profile in advance.)

Also, there are new comments in the bugreport saying it needs access to 
some more files. I'll collect them for some days and then send a follow-
up patch.


Regards,

Christian Boltz
-- 
Zu Schade, daß der ASCII-Zeichensatz keine kleinen Totenköpfe,
Blitze, Fäuste und Bömbchen hat...  [Ratti in fontlinge-devel]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161018/5dc76cd3/attachment.pgp>


More information about the AppArmor mailing list