Comment 2 for bug 1635607

Revision history for this message
Simon Fels (morphis) wrote :

The relevant part out of the log from above is

Oct 19 13:00:57 localhost NetworkManager[1527]: <warn> [1476882057.1364] settings: couldn't set the system hostname to '10-155-115-54.conference' using hostnamed: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.9" (uid=0 pid=1527 comm="/snap/network-manager/31/usr/sbin/NetworkManager -") interface="org.freedesktop.hostname1" member="SetHostname" error name="(unset)" requested_reply="0" destination=":1.6" (uid=0 pid=1319 comm="/lib/systemd/systemd-hostnamed ")
Oct 19 13:00:57 localhost kernel: [ 46.972759] audit: type=1326 audit(1476882057.129:58): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1527 comm="NetworkManager" exe="/snap/network-manager/31/usr/sbin/NetworkManager" sig=31 arch=c000003e syscall=170 compat=0 ip=0x7f3119a22c17 code=0x0

The seccomp denial makes NetworkManager restart.