Date: Mon, 12 Nov 2018 11:07:50 -0800 From: Mitchell Horne <mhorne063@gmail.com> To: dinesh.thirumurthy@gmail.com Cc: freebsd-riscv@freebsd.org Subject: Re: installworld complains about a missing user ntpd Message-ID: <CADeAsy314qaApJ1-CVWOeSMsLoBZ=4tN4WTjkVXh2t5DCAB8iA@mail.gmail.com> In-Reply-To: <CAPn%2BtrHsHJV0zwg9WrE4RTm9hqhCB5hpq=TZpgRVoaStfWmdmg@mail.gmail.com> References: <CAPn%2BtrHsHJV0zwg9WrE4RTm9hqhCB5hpq=TZpgRVoaStfWmdmg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADeAsy314qaApJ1-CVWOeSMsLoBZ=4tN4WTjkVXh2t5DCAB8iA>
