Date: Thu, 12 Dec 2019 10:15:23 +0000 From: Tomas Engin <tomas.engin@teleservice.net> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user? Message-ID: <1576145930466.55454@teleservice.net> In-Reply-To: <20191212045046.GA87026@geeks.org> References: <ea5c391a-f693-8cf4-5f9a-5a0ff2b4aacb@bluerosetech.com>, <20191212045046.GA87026@geeks.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I've had similar problems with 11.3 and 12.0 (unsure of patchlevel) when adding users using Ansible. Had to add a step in our script that runs pwd_mkdb after each user is added to make sure it is reliable. ________________________________________ From: owner-freebsd-stable@freebsd.org <owner-freebsd-stable@freebsd.org> on behalf of Doug McIntyre <merlyn@geeks.org> Sent: December 12, 2019 05:50 To: Mel Pilgrim Cc: freebsd-stable@freebsd.org Subject: Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user? 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. _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1576145930466.55454>
