Merge lp:~cameronnemo/apparmor/dnsmasq-lxc into lp:apparmor/2.12

Proposed by Cameron Norman
Status: Merged
Merged at revision: 2974
Proposed branch: lp:~cameronnemo/apparmor/dnsmasq-lxc
Merge into: lp:apparmor/2.12
Diff against target: 14 lines (+4/-0)
1 file modified
profiles/apparmor.d/usr.sbin.dnsmasq (+4/-0)
To merge this branch: bzr merge lp:~cameronnemo/apparmor/dnsmasq-lxc
Reviewer Review Type Date Requested Status
Steve Beattie Approve
Review via email: mp+254523@code.launchpad.net

Description of the change

Adds the paths for the LXC network setup scripts.

To post a comment you must log in.
lp:~cameronnemo/apparmor/dnsmasq-lxc updated
2974. By Cameron Norman

usr.sbin.dnsmasq: add lxc-net paths

Revision history for this message
Seth Arnold (seth-arnold) wrote :

On Mon, Mar 30, 2015 at 12:14:23AM -0000, Cameron Norman wrote:
> Cameron Norman has proposed merging lp:~cameronnemo/apparmor/dnsmasq-lxc into lp:apparmor.
>
> Requested reviews:
> AppArmor Developers (apparmor-dev)
>
> For more details, see:
> https://code.launchpad.net/~cameronnemo/apparmor/dnsmasq-lxc/+merge/254523

Funny, the merge request looks good on the website, but the inlined diff
on the mail list looks like it includes merge conflict resolution hints:
https://lists.ubuntu.com/archives/apparmor/2015-March/007595.html

Any ideas what went wrong where?

Thanks

> Adds the paths for the LXC network setup scripts.
> --
> Your team AppArmor Developers is requested to review the proposed merge of lp:~cameronnemo/apparmor/dnsmasq-lxc into lp:apparmor.

> === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> --- profiles/apparmor.d/usr.sbin.dnsmasq 2014-12-22 16:56:37 +0000
> +++ profiles/apparmor.d/usr.sbin.dnsmasq 2015-03-30 00:13:50 +0000
> @@ -65,10 +65,17 @@
> /{,var/}run/libvirt/network/ r,
> /{,var/}run/libvirt/network/*.pid rw,
>
> +<<<<<<< TREE
> # libvirt lease helper
> /usr/lib{,64}/libvirt/libvirt_leaseshelper ix,
> /{,var/}run/leaseshelper.pid rwk,
>
> +=======
> + # lxc-net pid and lease files
> + /{,var/}run/lxc/dnsmasq.pid rw,
> + /var/lib/misc/dnsmasq.*.leases rw,
> +
> +>>>>>>> MERGE-SOURCE
> # NetworkManager integration
> /{,var/}run/nm-dns-dnsmasq.conf r,
> /{,var/}run/sendsigs.omit.d/*dnsmasq.pid w,

Revision history for this message
Cameron Norman (cameronnemo) wrote :

Yeah it seems that the first version had merge conflicts. I pushed to the repo with the overwrite flag and fixed that after I saw it. No idea what the original problem was... I just grabbed a new branch.

Revision history for this message
Steve Beattie (sbeattie) wrote :

Thanks, merged your updated branch to trunk and the 2.9 branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
2--- profiles/apparmor.d/usr.sbin.dnsmasq 2014-12-22 16:56:37 +0000
3+++ profiles/apparmor.d/usr.sbin.dnsmasq 2015-03-30 03:50:01 +0000
4@@ -69,6 +69,10 @@
5 /usr/lib{,64}/libvirt/libvirt_leaseshelper ix,
6 /{,var/}run/leaseshelper.pid rwk,
7
8+ # lxc-net pid and lease files
9+ /{,var/}run/lxc/dnsmasq.pid rw,
10+ /var/lib/misc/dnsmasq.*.leases rw,
11+
12 # NetworkManager integration
13 /{,var/}run/nm-dns-dnsmasq.conf r,
14 /{,var/}run/sendsigs.omit.d/*dnsmasq.pid w,

Subscribers

People subscribed via source and target branches