Bug 232921 - freebsd-update upgrade does not execute pwd_mkdb for ntpd
Summary: freebsd-update upgrade does not execute pwd_mkdb for ntpd
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-03 00:15 UTC by Masachika ISHIZUKA
Modified: 2018-12-01 03:11 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masachika ISHIZUKA 2018-11-03 00:15:41 UTC
freebsd-update upgrade -r 12.0-BETA[12] does not execute pwd_mkdb.
If we are using ntpd on 11.2-RELEASE or before, freebsd-update upgrade adds ntpd/ntpd to user/group but does not execute pwd_mkdb.
So we must execute 'pwd_mkdb -p /etc/master.passwd' by hands.
Comment 1 Sylvain Garrigues 2018-11-03 08:29:14 UTC
This bug makes upgrading the system with source impossible since `make installworld’ now checks for the presence of the ntpd user (with uid tool). 

Running the command given in comment #1 prior to installworld fixes it.
Comment 2 Patrick McMunn 2018-12-01 03:11:41 UTC
This still seems to be an issue with upgrades using freebsd-update. I updated to, if I recall correctly, 12.0-RC1 several weeks ago and got an error on boot "pid file /var/db/ntp/ntpd.pid: Permission denied". The directions above fixed it. I skipped RC2 and updated to RC3 today from RC1 and got the error again. I have another system I've been updating via source, and I haven't had this issue on the source-based system.