Run command: ntpd --user=ntpd:ntpd --logfile=/var/log/ntpd.log
It runs for some seconds and then is segfaults.
Happens only when I use both the --user and --logfile parameters.
Happens only when I have configured it with --enable-clockctl alone.
If configured with both --enable-clockctl and --enable-linuxcaps it works OK.
/var/log/ntpd.log: -rw-r--r-- 1 ntpd ntpd 21957 Jun 11 14:49 /var/log/ntpd.log
/etc/passwd: ntpd:x:10:17:ntpd:/dev/null:/bin/false
/etc/group: ntpd:x:1008:
/etc/ntpd.conf is empty.
Hello everyone, I want to file a bug.
Run command: ntpd --user=ntpd:ntpd --logfile= /var/log/ ntpd.log
It runs for some seconds and then is segfaults.
Happens only when I use both the --user and --logfile parameters.
Happens only when I have configured it with --enable-clockctl alone.
If configured with both --enable-clockctl and --enable-linuxcaps it works OK.
/var/log/ntpd.log: -rw-r--r-- 1 ntpd ntpd 21957 Jun 11 14:49 /var/log/ntpd.log 10:17:ntpd: /dev/null: /bin/false
/etc/passwd: ntpd:x:
/etc/group: ntpd:x:1008:
/etc/ntpd.conf is empty.
Strace gives in the end: http:// pastebin. com/Bujn2MNn pastebin. com/YNWBrRJG pastebin. com/2JpzK4jh
With more advanced debugging I got: http://
When runs in normal manner, strace gives: http://
In my humble opinion, the error occurs when ntpd tries to do something with the network interfaces.
My machine is a kernel 2.6.35.14 with glibc 2.14.1.
ntpd - NTP daemon program - Ver. 4.2.6p5
Greetings.