Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2019 22:50:46 -0600
From:      Doug McIntyre <merlyn@geeks.org>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user?
Message-ID:  <20191212045046.GA87026@geeks.org>
In-Reply-To: <ea5c391a-f693-8cf4-5f9a-5a0ff2b4aacb@bluerosetech.com>
References:  <ea5c391a-f693-8cf4-5f9a-5a0ff2b4aacb@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 11, 2019 at 05:44:27PM -0800, Mel Pilgrim wrote:
> I used freebsd-update to upgrade several 11.3-p5 systems to 12.1-p1. 
> The etc update process added the ntpd/ntpd user/group.  It showed the 
> line changes in the plaintext passwd/group files, but the process 
> appears to omit the pwd_mkdb step.
> 
> After the upgrade, ntpd fails to start:
> 
> # service ntpd start
> Starting ntpd.
> su: unknown login: ntpd
> /etc/rc.d/ntpd: WARNING: failed to start ntpd
> 
> Running the usual pwd_mkdb command fixes the issue.

I've had varied results with the same thing from 11.2 to 12.1.
Sometimes it works, oftentimes it does not. pwd_mkdb does fix it
up, but would be nice to not have to do that.



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