Same here. Just upgraded from 14.04.5 to 16.04.1
Apparmor forbids avahi to create datagram socket, so it dies with an assertion:
$ journalctl -ab0 | grep avahi
авг 30 11:51:46 amanda audit[2230]: AVC apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/sbin/avahi-daemon" 
pid=2230 comm="apparmor_parser"
авг 30 11:51:48 amanda avahi-daemon[2368]: Found user 'avahi' (UID 114) and 
group 'avahi' (GID 121).
авг 30 11:51:48 amanda avahi-daemon[2368]: Successfully dropped root privileges.
авг 30 11:51:48 amanda avahi-daemon[2368]: avahi-daemon 0.6.32-rc starting up.
авг 30 11:51:48 amanda audit[2368]: AVC apparmor="DENIED" operation="sendmsg" 
profile="/usr/sbin/avahi-daemon" name="/run/systemd/notify" pid=2368 
comm="avahi-daemon" requested_mask="w" denied_mask="w" fsuid=114 ouid=0
авг 30 11:51:48 amanda avahi-daemon[2368]: Successfully called chroot().
авг 30 11:51:48 amanda avahi-daemon[2368]: Successfully dropped remaining 
capabilities.
авг 30 11:51:48 amanda avahi-daemon[2368]: No service file found in 
/etc/avahi/services.
авг 30 11:51:48 amanda audit[2368]: AVC apparmor="DENIED" operation="create" 
profile="/usr/sbin/avahi-daemon" pid=2368 comm="avahi-daemon" family="netlink" 
sock_type="dgram" protocol=0 requested_mask="create" denied_mask="create"
авг 30 11:51:48 amanda avahi-daemon[2368]: on: starting up: iface-linux.c:380: 
avahi_interface_monitor_sync: Assertion `m' failed.
авг 30 11:51:48 amanda avahi-daemon[2368]: netlink.c: socket(PF_NETLINK): 
Permission denied
авг 30 11:51:48 amanda systemd[1]: avahi-daemon.service: Main process exited, 
code=killed, status=6/ABRT
авг 30 11:51:48 amanda systemd[1]: avahi-daemon.service: Unit entered failed 
state.
авг 30 11:51:48 amanda systemd[1]: avahi-daemon.service: Failed with result 
'signal'.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1542033

Title:
  avahi-daemon doesn't start

Status in avahi package in Ubuntu:
  Confirmed

Bug description:
  While upgrading from 14.04 to 16.04 yesterday, I notived that avahi-
  daemon doesn't start.

  Log:
  Feb 04 22:00:15 michis-ibm-haupt systemd[1]: Starting Avahi mDNS/DNS-SD 
Stack...
  -- Subject: Unit avahi-daemon.service has begun start-up
  -- Defined-By: systemd
  -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  -- 
  -- Unit avahi-daemon.service has begun starting up.
  Feb 04 22:00:15 michis-ibm-haupt audit[13101]: AVC apparmor="DENIED" 
operation="open" profile="/usr/sbin/avahi-daemon" name="/etc/ld.so.preload" 
pid=13101 comm="avahi-daemon" requested_mask="r" denied_ma
  Feb 04 22:00:15 michis-ibm-haupt kernel: audit: type=1400 
audit(1454619615.281:301): apparmor="DENIED" operation="open" 
profile="/usr/sbin/avahi-daemon" name="/etc/ld.so.preload" pid=13101 
comm="avahi-da
  Feb 04 22:00:15 michis-ibm-haupt kernel: audit: type=1400 
audit(1454619615.285:302): apparmor="DENIED" operation="chown" 
profile="/usr/sbin/avahi-daemon" name="/run/avahi-daemon/" pid=13101 
comm="avahi-d
  Feb 04 22:00:15 michis-ibm-haupt audit[13101]: AVC apparmor="DENIED" 
operation="chown" profile="/usr/sbin/avahi-daemon" name="/run/avahi-daemon/" 
pid=13101 comm="avahi-daemon" requested_mask="w" denied_m
  Feb 04 22:00:15 michis-ibm-haupt avahi-daemon[13101]: Failed to create 
runtime directory /var/run/avahi-daemon/.
  Feb 04 22:00:15 michis-ibm-haupt systemd[1]: avahi-daemon.service: Main 
process exited, code=exited, status=255/n/a
  Feb 04 22:00:15 michis-ibm-haupt systemd[1]: Failed to start Avahi 
mDNS/DNS-SD Stack.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1542033/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to