Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 15:19:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232921] freebsd-update upgrade does not execute pwd_mkdb for ntpd
Message-ID:  <bug-232921-227-KCZI71pITL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232921-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232921-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232921

Nino <nino80@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nino80@gmail.com

--- Comment #4 from Nino <nino80@gmail.com> ---
Google first led me to the same bug reported in bug #234014 - providing a b=
ack
reference to make it easier to resolve both at the same time.

This is still an issue in 12.0-RELEASE when upgrading an 11.x system with
freebsd-update. The proposed solution (pwd_mkdb) resolved the issue for me.=
=20

I wanted to add a few odd coincidences caused by this bug, maybe it helps
someone.

I use openntpd instead of the system ntpd and I have _ntp user on my system.
The above bug manifested when I tried to setup synth (ports-mgmt/synth) with
the following mtree error:

raised REPLICANT.SCENARIO_UNEXPECTED : /usr/sbin/mtree -p
/usr/obj/synth-live/SL09/var -f /etc/mtree/BSD.var.dist -deqU

mtree file requires /var/db/ntp to have the following ownership:

ntp             uname=3Dntpd gname=3Dntpd

However, my system had _ntp:ntpd owning /var/db/ntp. I don't know if this i=
s an
earlier change (though openntpd doesn't seem to be using /var/db/ntp),
something done during the upgrade (maybe due to finding _ntp user and using
that user instead of ntpd) or the default permissions for the directory cre=
ated
by the upgrade.=20

Issuing an errata since this is present in -RELEASE and freebsd-update is a
supported upgrade option seems like a good idea.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232921-227-KCZI71pITL>