Apparmor permissions do not allow avahi-daemon to run

Bug #1080401 reported by doclist
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Apparmor permissions do not allow avahi-daemon to run

% sudo avahi-daemon --debug --no-drop-root
open(/var/run/avahi-daemon//pid): Permission denied
Failed to create PID file: Permission denied

Nov 18 12:37:12 machine kernel: [ 1899.121695] type=1400 audit(1353260232.550:230): apparmor="DENIED" operation="chown" parent=12235 profile="/usr/sbin/avahi-daemon" name="/run/avahi-daemon/" pid=12236 comm="avahi-daemon" requested_mask="w" denied_mask="w" fsuid=0 ouid=104
Nov 18 12:37:12 machine kernel: [ 1899.121721] type=1400 audit(1353260232.550:231): apparmor="DENIED" operation="mknod" parent=12235 profile="/usr/sbin/avahi-daemon" name="/run/avahi-daemon/pid" pid=12236 comm="avahi-daemon" requested_mask="c" denied_mask="c" fsuid=0 ouid=0

I don't know why name="/run/avahi-daemon" and not "/var/run/avahi-daemon". ltrace appears to show the latter being used.

Revision history for this message
doclist (dclist) wrote :

0.6.31-1ubuntu2 on Quantal

no longer affects: avahi (Ubuntu)
Changed in apparmor (Ubuntu):
status: New → Fix Released
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.