[pkg-ntp-maintainers] Bug#793745: ntp fails to start

Vincent Lefevre vincent at vinc17.net
Tue Jul 28 12:52:35 UTC 2015


On 2015-07-28 14:41:12 +0200, Christophe Wolfhugel wrote:
> I do agree there must be something else which broke the
> getpw call or the libc somehow. On another machine I also
> have compat for nsswitch.conf and it worked.
> 
> Also on my setup the Perl "getpwuid/getpwnam" functions
> were still working correctly despite the ntpd's call failing.

I'm not sure that Perl's implementation is equivalent to getpwuid().
You may also want to try:

  getent passwd <UID>

> I do not have a clear track about other packages which were
> upgraded and may have caused the failure, it can virtually
> be anywhere in the system.
> 
> My libc6 is also 2.19-19, but there have been ways too many
> package upgrades for me to easily identify things step by
> step.

strace output may give interesting information, if you can compare
a machine where ntpd fails and one where it succeeds. This sometimes
depends on obscure (undocumented) config files, and this can be
seen in strace output. You will also see the exact library files
that are used.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-ntp-maintainers mailing list