You have been subscribed to a public bug:

the apparmor logs shows a couple of problems:

Nov 18 13:07:45 carol kernel: [107615.254389] audit: type=1400
audit(1511010465.396:304): apparmor="DENIED" operation="sendmsg"
info="Failed name lookup - disconnected path" error=-13
profile="/usr/sbin/ntpd" name="run/systemd/journal/dev-log" pid=16818
comm="ntpd" requested_mask="w" denied_mask="w" fsuid=0 ouid=0


and

Nov 18 13:07:45 carol kernel: [107615.253441] audit: type=1400
audit(1511010465.395:300): apparmor="DENIED" operation="open"
profile="/usr/sbin/ntpd" name="/usr/local/bin/" pid=16815 comm="ntpd"
requested_mask="r" denied_mask="r" fsuid=0 ouid=0


I fixed these by amending /etc/apparmor.d/usr.sbin.ntpd...

change the opening to this:
  /usr/sbin/ntpd flags=(attach_disconnected) {


add these:
  # syslog
  /run/systemd/journal/dev-log w,

  # not sure why it needs this
  /usr/local/bin/ r,

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

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

-- 
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