$ grep ntpd /etc/passwd
ntpd:*:123:123:NTP Daemon:/var/db/ntp:/usr/sbin/nologin
$
dmesg -a
:
$ dmesg -a |grep ntpd
11 Mar 01:14:33 ntpdate[611]: step time server 173.71.69.215 offset -1.127200 sec
$
sysrc ntpdate_enable=YES
or sysrc ntp_update
and then reboot. mergemaster -p
(manual merges of /etc/group and /etc/master.passwd - if you haven't skipped them by IGNORE_FILES
in /etc/mergemaster.rc).pw groupadd ntpd -g 123
pw useradd ntpd -u 123 -g ntpd -h - -d /var/db/ntp -s /usr/sbin/nologin -c "NTP Daemon"
make installworld
.I'm guessing it likely might be this daemon process I see logging its activities indmesg -a
:This link is a FreeBSD reference to it. I'm guessing it might even get created automatically if you runCode:$ dmesg -a |grep ntpd 11 Mar 01:14:33 ntpdate[611]: step time server 173.71.69.215 offset -1.127200 sec $
sysrc ntpdate_enable=YES
orsysrc ntp_update
and then reboot.
root@Server:~/projects/GFH# dmesg -a |grep ntpd
Security policy loaded: MAC/ntpd (mac_ntpd)
Starting ntpd.
su: unknown login: ntpd
/etc/rc: WARNING: failed to start ntpd
sysrc ntpdate_enable=YES
and rebooting...root@Server:~ # dmesg -a |grep ntpd
14 Mar 00:03:14 ntpdate[630]: step time server 85.199.214.100 offset -3600.663888 sec
Security policy loaded: MAC/ntpd (mac_ntpd)
Starting ntpd.
su: unknown login: ntpd
/etc/rc: WARNING: failed to start ntpd
/etc/passwd
and found:-ntpd:*:123:123:NTP Daemon:/var/db/ntp:/usr/sbin/nologin
I really don't either. Have you tried runningmake installworld
again yet?
Fingers crossed... ☂
make installworld TARGET_ARCH=arm DESTDIR=/var/nfsroot
:-cd /usr/src/etc; install -N /usr/src/etc -o root -g wheel -m 644 group login.access rc.bsdextended rc.firewall termcap.small rc.sendmail /var/nfsroot/etc; install
-N /usr/src/etc -o root -g wheel -m 600 master.passwd /var/nfsroot/etc;
install: target directory `/var/nfsroot/etc' does not exist
make installworld
would dump its output there. Have I got that wrong?I don't know all the details of this command but I believe it updates pwd.db and spw.db with the content of its file argument and here, it is /etc/master.passwd./etc/master.passwd also contains the user ntpd.
Don't know why but it's always the same problem that comes from time to time and you already encountered it. I guess that the passwords database is out of sync. Try:pwd_mkdb -p /etc/master.passwd
Don't know why but it's always the same problem that comes from time to time and you already encountered it. I guess that the passwords database is out of sync. Try:pwd_mkdb -p /etc/master.passwd
This is the correct answer. It always works. In fact, it works 99.9% of the times you encounter the problem "user went away" in ports/package installations.