[Bug 232921] freebsd-update upgrade does not execute pwd_mkdb for ntpd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 12 12:16:32 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232921

ferdinand.goldmann at jku.at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ferdinand.goldmann at jku.at

--- Comment #9 from ferdinand.goldmann at jku.at ---
This is still an issue with 12.1-RELEASE-p7 and -p8:

I too upgraded several systems from 11.3 to 12.1 and on each of them I ran into
the problem that ntpd was broken after the upgrade:

# freebsd-version 
12.1-RELEASE-p7
# finger ntpd
finger: ntpd: no such user
# id ntpd
id: ntpd: no such user
mail2:/etc# grep ntpd /etc/passwd 
ntpd:*:123:123:NTP Daemon:/var/db/ntp:/usr/sbin/nologin
mail2:/etc# ll /etc/passwd /etc/master.passwd /etc/spwd.db /etc/pwd.db 
-rw-------  1 root  wheel   3256 Aug  5 14:37 /etc/master.passwd
-rw-r--r--  1 root  wheel   2862 Aug  5 14:37 /etc/passwd
-rw-r--r--  1 root  wheel  40960 Aug  5 14:37 /etc/pwd.db
-rw-------  1 root  wheel  40960 Aug  5 14:37 /etc/spwd.db
# pwd_mkdb -p /etc/master.passwd                                                
# ll /etc/passwd /etc/master.passwd /etc/spwd.db /etc/pwd.db
-rw-------  1 root  wheel   3256 Aug  5 14:37 /etc/master.passwd
-rw-r--r--  1 root  wheel   2862 Aug  6 11:23 /etc/passwd
-rw-r--r--  1 root  wheel  40960 Aug  6 11:23 /etc/pwd.db                       
-rw-------  1 root  wheel  40960 Aug  6 11:23 /etc/spwd.db
# id ntpd       
uid=123(ntpd) gid=123(ntpd) groups=123(ntpd)
# finger ntpd
Login: ntpd                             Name: NTP Daemon
Directory: /var/db/ntp                  Shell: /usr/sbin/nologin
No Mail.
No Plan.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list