Date: Fri, 14 Sep 2018 02:15:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231334] 12-ALPHA's make installworld DESTDIR=/mnt/current fails due to improper ntpd user check of /etc/passwd file Message-ID: <bug-231334-227-H8JlDwUsxd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-231334-227@https.bugs.freebsd.org/bugzilla/> References: <bug-231334-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=3D231334 --- Comment #3 from ota@j.email.ne.jp --- (In reply to Ian Lepore from comment #1) For "make installworld DESTDIR=3D/mnt/current" case, "mergemaster -Fp -D /mnt/current" needs to be run instead of "mergemaster -= Fp" The problem is /usr/src/Makefile, .for uid in ${CHECK_UIDS} @if ! `id -u ${uid} >/dev/null 2>&1`; then \ echo "ERROR: Required ${uid} user is missing, see /usr/src/UPDAT ING."; \ false; \ fi .endfor This checks if a user exists on the host server and "not on the destination= of installworld." $ uname -r 11.2-RELEASE-p2 $ id -u ntpd id: ntpd: no such user $ svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: https://svn0.us-east.freebsd.org/base/head Relative URL: ^/head Repository Root: https://svn0.us-east.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 338677 Node Kind: directory Schedule: normal Last Changed Author: mmacy Last Changed Rev: 338677 Last Changed Date: 2018-09-13 21:30:05 -0400 (Thu, 13 Sep 2018) $ grep ntpd /mnt/current/etc/passwd ntpd:*:123:123:NTP Daemon:/var/db/ntp:/usr/sbin/nologin $ make installworld -C /usr/src DESTDIR=3D/mnt/current ... ERROR: Required ntpd user is missing, see /usr/src/UPDATING. Perhaps, this needs to be like .for uid in ${CHECK_UIDS} @if `awk -F: '"${uid}" =3D=3D $$1{rc=3D1}END{exit rc}' ${DESTDIR}/etc/passwd`; then \ echo "ERROR: Required ${uid} user is missing, see /usr/src/UPDAT ING."; \ false; \ fi .endfor I'm not sure for NIS based cases... --=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-231334-227-H8JlDwUsxd>