[arch-general] NTP: Possible permissions bug
kyleterrien at gmail.com
Fri May 9 11:26:59 EDT 2014
On 05/08/2014 11:00 PM, Gaetan Bisson wrote:
> [2014-05-08 18:34:54 -0700] Kyle Terrien:
>> I took out the "-u ntp:ntp" parameter (so ntp runs as root), and these
>> errors disappeared. Also, ntpq -p returns the NTP servers I'm
>> synchronized with. So, I'm pretty sure the issue is permissions related,
>> but I have no idea what it's running into. Any insight?
> What does `ls -la /var/lib/ntp/` say?
> Couldn't there be another daemon binding port 123?
In ntp-4.2.7, there is a file called .placeholder. This is not present
in ntp-4.2.6. Deleting the file seems to have no effect.
kyle at landru /var/lib
$ la ntp/
drwxr-xr-x 2 ntp root 4096 May 6 03:14 .
drwxr-xr-x 32 root root 4096 May 9 08:11 ..
-rw-r--r-- 1 root root 1 May 6 03:14 .placeholder
ntpd eventually creates its ntp.drift in this directory (if ntpd runs
As far as I can tell (using netstat -l to list listening ports), there
is nothing holding port 123.
- Output for ntp-4.2.6: <http://sprunge.us/FdVa>
- Output for ntp-4.2.7: <http://sprunge.us/feHI>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 901 bytes
Desc: OpenPGP digital signature
More information about the arch-general