Hi.

When running ntpd I get the same error that Erwan David reported. ntpd outputs 
"Cannot find user `ntp'" to syslog and then exits. This seems to be another 
bug than the segmentation fault.

Syslog:
Mar 15 21:30:35 p250 ntpd[20223]: kernel time sync status 0040
Mar 15 21:30:35 p250 ntpd[20223]: frequency initialized -160.212 PPM 
from /var/lib/ntp/ntp.drift
Mar 15 21:30:35 p250 ntpd[20223]: Cannot find user `ntp'

I think the problem has something to do with the code that drops root 
privileges that is new according to changelog.Debian. That message is only 
sent if getpwnam(user) is NULL (ntpd/ntpd.c line 890). Running ltrace 
confirms that getpwnamn("ntp") actually returns NULL which is strange since 
the user ntp does exist.

I removed the --enable-linuxcaps configure options in debian/rules and 
recompiled the packages. With those recompiled packages I get the same 
segmentation fault that others have reported. :(

Best regards
Pär

Reply via email to