ntpd fails to start, "Cannot find user 'ntp'"

Matt Zimmerman mdz at ubuntu.com
Sat Jan 22 08:56:04 UTC 2005


On Mon, Jan 10, 2005 at 04:47:35PM +0100, Claes Wallin wrote:

> Package: ntp
> Version: 1:4.2.0a-11ubuntu2
> Severity: grave
> Tags: patch
> Justification: renders package unusable
> 
> For some unknown reason, ntpd.c gets null response from getpwnam(user).
> *user is "ntp" and user ntp exists in /etc/passwd. A test program doing
> the exakt same thing returns a valid passwd struct.
> 
> A workaround is to put the parameter
> 
> "-u `getent passwd ntp|cut -f 3 -d :`"
> 
> in /etc/init.d/ntp-server, but the real solution is of course to find
> out why a simple getpwnam call fails.

This is: https://bugzilla.ubuntu.com/show_bug.cgi?id=5399

and it is a strange one.

-- 
 - mdz




More information about the ubuntu-users mailing list