Date: Wed, 19 Dec 2018 20:57:21 +0000 From: Carmel NY <carmel_ny@outlook.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Re: (mac_ntpd) chown: ntpd: illegal user Message-ID: <DM5PR20MB210202A9DD9237FD2D2F910480BE0@DM5PR20MB2102.namprd20.prod.outlook.com> In-Reply-To: <5d68e8e1-5cbc-9203-d5ff-fe143f2eb8f8@yuripv.net> References: <DM5PR20MB21023BCDED5596B7B50D131680BE0@DM5PR20MB2102.namprd20.prod.outlook.com> <20181220.035559.2072225952353632405.yasu@utahime.org> <DM5PR20MB21028F425447DC3E3DD94C4280BE0@DM5PR20MB2102.namprd20.prod.outlook.com> <5d68e8e1-5cbc-9203-d5ff-fe143f2eb8f8@yuripv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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: >> =20 >>> From: Carmel NY <carmel_ny@outlook.com> >>> Subject: (mac_ntpd) chown: ntpd: illegal user >>> Date: Wed, 19 Dec 2018 18:45:52 +0000 >>> =20 >>>> After updating to FreeBSD 12, I am getting this error when booting up. >>>> Since I never personally touched 'ntpd', the update caused this proble= m. >>>> >>>> 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. =20 >>> >>> Is there user 'ntpd' in /etc/master.passwd? It is added in 12.0. >>> >>> root@eastasia[524]# uname -a >>> FreeBSD eastasia.home.utahime.org 12.0-RELEASE FreeBSD 12.0-RELEASE >>> r341666 GENERIC amd64 root@eastasia[525]# grep ntpd /etc/master.passwd >>> ntpd:*:123:123::0:0:NTP Daemon:/var/db/ntp:/usr/sbin/nologin >>> root@eastasia[526]# =20 >>=20 >> Yes, and it matches what you have exactly. =20 > >If you used freebsd-update, then it's >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232921. 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"? --=20 Carmel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DM5PR20MB210202A9DD9237FD2D2F910480BE0>
