ntpd user and group missing when upgrading from sources from 11-stable to 12-current

Pete Wright pete at nomadlogic.org
Thu Sep 13 21:19:03 UTC 2018



On 9/13/18 2:07 PM, Marek Zarychta wrote:
> Dear subscribers,
>
> stable/12 hasn't been branched yet, so it could be not a bug. Since
> r336525 make installworld fails on 11-stable when installing world for
> 12-current without ntpd user/group added. Of course, as a workaround
> user and group could be added manually. Mergemeaster also fails when it
> is run before installworld, what is IMHO predictable and expected
> behaviour. So mergemaster will not help with this issue.
>
> So the question arises, is it a feature or should a PR be submitted?
can you share how you are running mergemaster?

i recently upgraded a system from 11.2-RELEASE to 12-CURRENT without 
issues.  my steps are:

make buildkernel
make buildworld
make installkernel
mergemaster -m /path/to/current/checkout -p
make installworld
mergemaster -m /path/to/current/checkout -a

it is critical to run the mergemaster -p before installing the world.  
this will prompt you to update your /etc/password and /etc/group tables 
to add the new ntp user/group.  the same goes for using the mergemaster 
-a switch after installing the world, as that will ensure that critical 
configs for rc are updated correctly.

cheers,
-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-current mailing list