Public bug reported: On one of my 10.04LTS systems, ntpd was failing to start with the following error messages. I modified the apparmor profile(/etc/apparmor.d/usr.sbin.ntpd) to add 'network inet6 dgram' and all appears to be well. Please let me know if there is any additional information I can provide that would be of assistance.
Nov 18 15:02:26 evans ntpd[15656]: ntpd [email protected] Tue Apr 19 07:08:18 UTC 2011 (1) Nov 18 15:02:26 evans ntpd[15656]: set_process_priority: Leave priority alone: priority_done is <2> Nov 18 15:02:26 evans ntpd[15656]: precision = 1.000 usec Nov 18 15:02:26 evans ntpd[15656]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 Nov 18 15:02:26 evans ntpd[15656]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled Nov 18 15:02:26 evans ntpd[15656]: socket(AF_INET6, SOCK_DGRAM, 0) failed on address ::: Permission denied Nov 18 15:02:26 evans ntpd[15656]: unexpected error code 13 (not PROTONOSUPPORT|AFNOSUPPORT|FPNOSUPPORT) - exiting Nov 18 15:02:26 evans kernel: [368207.847994] type=1503 audit(1321646546.846:69): operation="socket_create" pid=15656 parent=13563 profile="/usr/sbin/ntpd" family="inet6" sock_type="dgram" protocol=0 ADDITIONAL INFORMATION: ~$ lsb_release -rd Description: Ubuntu 10.04.2 LTS Release: 10.04 ~$ apt-cache policy ntp ntp: Installed: 1:4.2.4p8+dfsg-1ubuntu2.1 Candidate: 1:4.2.4p8+dfsg-1ubuntu2.1 Version table: *** 1:4.2.4p8+dfsg-1ubuntu2.1 0 500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 100 /var/lib/dpkg/status 1:4.2.4p8+dfsg-1ubuntu2 0 500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages ** Affects: ntp (Ubuntu) Importance: Undecided Status: New ** Tags: apparmor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/892332 Title: ntp apparmor profile insufficient ipv6 rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/892332/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
