[apparmor] [PATCH] update dnsmasq profile for libvirt
Steve Beattie
steve at nxnw.org
Tue Jul 26 17:20:56 UTC 2011
On Mon, Jul 25, 2011 at 08:32:23AM -0500, Jamie Strandboge wrote:
> This is bug #815883. The dnsmasq profile needs to be updated for newer
> libvirt. Patch is attached. The glob is needed since the lease file's
> name is derived from the libvirt network name.
>
> Also nominate for 2.6 series.
Acked-By: Steve Beattie <sbeattie at ubuntu.com> for trunk and 2.6
> ------------------------------------------------------------
> revno: 1748
> committer: Jamie Strandboge <jamie at canonical.com>
> branch nick: apparmor-trunk
> timestamp: Mon 2011-07-25 08:28:04 -0500
> message:
> fix LP: #815883
> - update dnsmasq profile for new libvirt lease file path
> diff:
> === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> --- profiles/apparmor.d/usr.sbin.dnsmasq 2011-07-14 12:57:57 +0000
> +++ profiles/apparmor.d/usr.sbin.dnsmasq 2011-07-25 13:28:04 +0000
> @@ -34,6 +34,9 @@
>
> /var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
>
> + # libvirt lease files for dnsmasq
> + /var/lib/libvirt/dnsmasq/*.leases rw,
> +
> # libvirt pid files for dnsmasq
> /{,var/}run/libvirt/network/ r,
> /{,var/}run/libvirt/network/*.pid rw,
--
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/20110726/dcae0ced/attachment.pgp>
More information about the AppArmor
mailing list