From owner-freebsd-current@freebsd.org Sat Jul 21 22:09:12 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E658102DF90 for ; Sat, 21 Jul 2018 22:09:12 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CCBF079D56; Sat, 21 Jul 2018 22:09:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6LM9Qpj040994 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Jul 2018 15:09:27 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6LM9QiM040993; Sat, 21 Jul 2018 15:09:26 -0700 (PDT) (envelope-from fbsd) Date: Sat, 21 Jul 2018 15:09:26 -0700 From: bob prohaska To: Ian Lepore Cc: Pete Wright , FreeBSD Current , bob prohaska Subject: Re: ntpd as ntpd user question Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1532196850.1344.87.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 22:09:12 -0000 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? 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. There's minimal customization on the machine, basically /etc/fstab, /etc/rc.conf and /etc/passwd. Nothing else of real value, so if I kill it in the attempt it won't be a disaster. Thanks for waking me to my blunder... bob prohaska