Mel Pilgrim
2019-Dec-12 01:44 UTC
11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user?
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.
Doug McIntyre
2019-Dec-12 04:50 UTC
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.