Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 01:49:41 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-current@freebsd.org
Subject:   Re: ntpd as ntpd user question
Message-ID:  <20180721234941.2ojf76kxxqfhnys7@mail.bsd4all.net>
In-Reply-To: <20180721220925.GA40238@www.zefox.net>
References:  <5b90c49f-4616-9ef7-28a1-6445137245ef@nomadlogic.org> <1532191655.1344.80.camel@freebsd.org> <4b7acbd2-0230-345c-4370-24a72d0b492a@nomadlogic.org> <1532193285.1344.83.camel@freebsd.org> <20180721174722.GA40167@www.zefox.net> <1532196850.1344.87.camel@freebsd.org> <20180721220925.GA40238@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2018 at 03:09:26PM -0700, bob prohaska wrote:
> On Sat, Jul 21, 2018 at 12:14:10PM -0600, Ian Lepore wrote:
> > 
> > I can't see any way that installkernel would lead to the complaint
> > about the ntpd user not existing; that check is tied to the
> > installworld target.
> > 
> My mistake. I was sleepy and in a hurry. The error message was in installworld
> and my attempt to adduser ntpd concluded with an error:
> Locked     : yes
> OK? (yes/no): yes
> pw: Bad id 'ntpd': invalid
> adduser: ERROR: There was an error adding user (ntpd).
> On reboot the old ntpd set the clock and I thought all was well.
> 
> The failure is a little surprising, is ntpd a reserved name?

Why? You obviously entered the string "ntpd" instead of an integer when
asked for the uid!?

> The machine is re-running buildworld/installworld from a clean start,
> so presumably it'll halt over the same error again. When that happens, 
> what's the simplest way to recover? Mergemaster is a big hammer, something
> less comprehensive might suffice, even manual editing of files.

In this case 'mergemaster -p' is enough.

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180721234941.2ojf76kxxqfhnys7>