AppArmor profile denies access to /var/lib/NetworkManager/dhclient6-*.conf

Bug #1198187 reported by Felix Geyer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The AppArmor profile /sbin/dhclient doesn't allow access to /var/lib/NetworkManager/dhclient6-<iface>.conf so it's not able to read the config options of NetworkManager for DHCPv6.

Syslog entry:
Jul 5 14:09:03 triton kernel: [12795.689370] type=1400 audit(1373026143.248:262): apparmor="DENIED" operation="open" parent=1201 profile="/sbin/dhclient" name="/var/lib/NetworkManager/dhclient6-wlan0.conf" pid=13287 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Changing this line in debian/apparmor-profile.dhclient
  /var/lib/NetworkManager/dhclient-*.conf lrw,
to
  /var/lib/NetworkManager/dhclient{,6}-*.conf lrw,
fixes the problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in isc-dhcp (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.