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

Christophe Wolfhugel chris at wolfhugel.eu
Thu Jul 30 07:26:43 UTC 2015


On 28/07/15 15:28, Kurt Roeckx wrote:
> Do you use the default ntp.conf as shipped in the latest package?
> If not can you either try that or add "rlimit memlock 0" at the
> top of ntp.conf?

Good hit Kurt.

No I do not use the stock ntp.conf (I have an autokey config),
and indeed "rlimit memlock 0" make it. So summary:

1) No rlimit memlock 0 and "compat" used in nsswitch.conf
   for passwd/group/shadow

Jul 30 07:23:39 smile ntpd[55489]: Listening on routing socket on fd #26 for interface updates
Jul 30 07:23:39 smile ntpd[55489]: Cannot find user ID 114

2) rlimit memlock 0 + "compat"

Starts normally

3) No rlimit memlock 0 + "files" in nsswitch.conf

Starts normally.


I would conclude that "something somewhere" makes the getpw*
call fail when "rlimit memlock 0" is not used.

-- 
Christophe Wolfhugel  -+-  chris at wolfhugel.eu



More information about the pkg-ntp-maintainers mailing list