installworld complains about a missing user ntpd

Mitchell Horne mhorne063 at gmail.com
Mon Nov 12 19:08:03 UTC 2018


I take it you're trying to update an older build, as this is from a
change added back in July.
Did you follow all the steps listed in /usr/src/UPDATING?

> 20180719:
> New uid:gid added, ntpd:ntpd (123:123). Be sure to run mergemaster
> or take steps to update /etc/passwd before doing installworld on
> existing systems. Do not skip the "mergemaster -Fp" step before
> installworld, as described in the update procedures near the bottom
> of this document. Also, rc.d/ntpd now starts ntpd(8) as user ntpd
> if the new mac_ntpd(4) policy is available, unless ntpd_flags or
> the ntp config file contain options that change file/dir locations.
> When such options (e.g., "statsdir" or "crypto") are used, ntpd can
> still be run as non-root by setting ntpd_user=ntpd in rc.conf, after
> taking steps to ensure that all required files/dirs are accessible
> by the ntpd user.

On Mon, Nov 12, 2018 at 2:48 AM Dinesh Thirumurthy
<dinesh.thirumurthy at gmail.com> wrote:
>
> Hi,
>
> I am using the instructions at
>
> https://wiki.freebsd.org/riscv
>
> to build a freebsd to boot on spike.
>
> I am at this step on installworld. I get this error.
>
> root at box:~/dt/freebsd-riscv # make TARGET_ARCH=riscv64 -DNO_ROOT
> DESTDIR=${DESTDIR} installworld
> make[1]: "/root/obj/root/dt/freebsd-riscv/riscv.riscv64/
> toolchain-metadata.mk" line 1: Using cached toolchain metadata from build
> at box on Sun Nov 11 17:00:57 IST 2018
> ERROR: Required ntpd user is missing, see /usr/src/UPDATING.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /root/dt/freebsd-riscv
> *** Error code 1
>
> Stop.
> make: stopped in /root/dt/freebsd-riscv
> root at box:~/dt/freebsd-riscv #
>
> --
> So, how do I get past this in the correct way?
>
> I have manually added and ntpd user and group in /etc/passwd,group. I still
> run into the same error.
>
> Appreciate your help.
>
> Thank you.
>
> Dinesh
> _______________________________________________
> freebsd-riscv at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-riscv
> To unsubscribe, send any mail to "freebsd-riscv-unsubscribe at freebsd.org"


More information about the freebsd-riscv mailing list