(mac_ntpd) chown: ntpd: illegal user

Carmel NY carmel_ny at outlook.com
Wed Dec 19 20:57:26 UTC 2018


On Wed, 19 Dec 2018 23:27:19 +0300, Yuri Pankov stated:

>Carmel NY wrote:
>> On Thu, 20 Dec 2018 03:55:59 +0900 (JST), Yasuhiro KIMURA stated:
>>   
>>> From: Carmel NY <carmel_ny at outlook.com>
>>> Subject: (mac_ntpd) chown: ntpd: illegal user
>>> Date: Wed, 19 Dec 2018 18:45:52 +0000
>>>  
>>>> After updating to FreeBSD 12, I am getting this error when booting up.
>>>> Since I never personally touched 'ntpd', the update caused this problem.
>>>>
>>>> Security policy loaded: MAC/ntpd
>>>> (mac_ntpd) chown: ntpd: illegal user
>>>> name Starting ntpd.
>>>>
>>>> I would like to know what happened and how to fix it.    
>>>
>>> Is there user 'ntpd' in /etc/master.passwd? It is added in 12.0.
>>>
>>> root at eastasia[524]# uname -a
>>> FreeBSD eastasia.home.utahime.org 12.0-RELEASE FreeBSD 12.0-RELEASE
>>> r341666 GENERIC  amd64 root at eastasia[525]# grep ntpd /etc/master.passwd
>>> ntpd:*:123:123::0:0:NTP Daemon:/var/db/ntp:/usr/sbin/nologin
>>> root at eastasia[526]#  
>> 
>> Yes, and it matches what you have exactly.  
>
>If you used freebsd-update, then it's
>https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232921.

Okay, so what is the recommended procedure? In my "/var/db/ntp" directory I
only have the "ntpd.pid" file. The "ntod.drift" and "nrpd.leap-seconds.list"
files are locatated in "/var/db".

Also, why would I need the "-p" option with "pwd_mkdb"?

-- 
Carmel


More information about the freebsd-questions mailing list