From owner-freebsd-bugs@freebsd.org Fri Sep 14 02:15:15 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6943310A1146 for ; Fri, 14 Sep 2018 02:15:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F034670247 for ; Fri, 14 Sep 2018 02:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B4F2110A1145; Fri, 14 Sep 2018 02:15:14 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92FF610A1144 for ; Fri, 14 Sep 2018 02:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 334F970240 for ; Fri, 14 Sep 2018 02:15:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 48E252520B for ; Fri, 14 Sep 2018 02:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8E2FD3p043098 for ; Fri, 14 Sep 2018 02:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8E2FDZh043090 for bugs@FreeBSD.org; Fri, 14 Sep 2018 02:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Fri, 14 Sep 2018 02:15:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ota@j.email.ne.jp X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 02:15:15 -0000 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.=