Skip site navigation (1)Skip section navigation (2)
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 ad=
ding users using Ansible. Had to add a step in our script that runs pwd_mkd=
b after each user is added to make sure it is reliable. =0A=
________________________________________=0A=
From: owner-freebsd-stable@freebsd.org <owner-freebsd-stable@freebsd.org> o=
n behalf of Doug McIntyre <merlyn@geeks.org>=0A=
Sent: December 12, 2019 05:50=0A=
To: Mel Pilgrim=0A=
Cc: freebsd-stable@freebsd.org=0A=
Subject: Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user=
?=0A=
=0A=
On Wed, Dec 11, 2019 at 05:44:27PM -0800, Mel Pilgrim wrote:=0A=
> I used freebsd-update to upgrade several 11.3-p5 systems to 12.1-p1.=0A=
> The etc update process added the ntpd/ntpd user/group.  It showed the=0A=
> line changes in the plaintext passwd/group files, but the process=0A=
> appears to omit the pwd_mkdb step.=0A=
>=0A=
> After the upgrade, ntpd fails to start:=0A=
>=0A=
> # service ntpd start=0A=
> Starting ntpd.=0A=
> su: unknown login: ntpd=0A=
> /etc/rc.d/ntpd: WARNING: failed to start ntpd=0A=
>=0A=
> Running the usual pwd_mkdb command fixes the issue.=0A=
=0A=
I've had varied results with the same thing from 11.2 to 12.1.=0A=
Sometimes it works, oftentimes it does not. pwd_mkdb does fix it=0A=
up, but would be nice to not have to do that.=0A=
_______________________________________________=0A=
freebsd-stable@freebsd.org mailing list=0A=
https://lists.freebsd.org/mailman/listinfo/freebsd-stable=0A=
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"=
=0A=



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