[Bug 232921] freebsd-update upgrade does not execute pwd_mkdb for ntpd
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 28 15:19:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232921
Nino <nino80 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nino80 at gmail.com
--- Comment #4 from Nino <nino80 at gmail.com> ---
Google first led me to the same bug reported in bug #234014 - providing a back
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.
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=ntpd gname=ntpd
However, my system had _ntp:ntpd owning /var/db/ntp. I don't know if this is 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 created
by the upgrade.
Issuing an errata since this is present in -RELEASE and freebsd-update is a
supported upgrade option seems like a good idea.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list