[Bug 548885] Re: ntp host name not found error
Mike Kupfer
m.kupfer at acm.org
Sun Mar 13 16:29:24 UTC 2011
After enabling NTP this morning, I noticed very similar messages to the
above in my syslog.
Mar 13 09:16:23 assam kernel: [ 927.068998] type=1503 audit(1300032983.633:25): operation="open" pid=2184 parent=1 profile="/usr/sbin/ntpd" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/etc/resolv.conf.rawbw"
Mar 13 09:16:23 assam kernel: [ 927.069297] type=1503 audit(1300032983.633:26): operation="open" pid=2184 parent=1 profile="/usr/sbin/ntpd" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/etc/resolv.conf.rawbw"
Mar 13 09:16:25 assam ntpd_initres[2186]: host name not found: ntp.rawbw.com
Mar 13 09:16:25 assam ntpd_initres[2186]: host name not found: ntp.ubuntu.com
I had /etc/resolv.conf as a symlink pointing to resolv.conf.rawbw After
deleting the symlink and copying /etc/resolv.conf.rawbw to
/etc/resolv.conf, I restarted ntpd (using "/etc/init.d/ntp stop" and
"/etc/init.d/ntp start"). This time I didn't get the error messages.
The permissions on /etc/resolv.conf.rawbw are
-rw-r--r-- 1 root root 80 Mar 13 09:01 resolv.conf.rawbw
so it's not a problem with the file permissions. dig(1) and everything
else worked just fine when /etc/resolv.conf was a symlink. Why is it a
problem for ntpd?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.
https://bugs.launchpad.net/bugs/548885
Title:
ntp host name not found error
More information about the Ubuntu-server-bugs
mailing list