From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 22 23:40:33 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08D7516A4D7 for ; Sat, 22 Jan 2005 23:40:33 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E4F543D6A for ; Sat, 22 Jan 2005 23:40:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0MNePmt000698 for ; Sat, 22 Jan 2005 23:40:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0MNePGp000697; Sat, 22 Jan 2005 23:40:25 GMT (envelope-from gnats) Resent-Date: Sat, 22 Jan 2005 23:40:25 GMT Resent-Message-Id: <200501222340.j0MNePGp000697@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jon Passki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C43B316A4CE for ; Sat, 22 Jan 2005 23:36:10 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD15843D1D for ; Sat, 22 Jan 2005 23:36:10 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0MNaA77065483 for ; Sat, 22 Jan 2005 23:36:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j0MNaA5r065481; Sat, 22 Jan 2005 23:36:10 GMT (envelope-from nobody) Message-Id: <200501222336.j0MNaA5r065481@www.freebsd.org> Date: Sat, 22 Jan 2005 23:36:10 GMT From: Jon Passki To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: conf/76583: RELENG_5 src/Makefile.inc1 CHECK_UIDS and CHECK_GIDS checks are improper X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 23:40:35 -0000 >Number: 76583 >Category: conf >Synopsis: RELENG_5 src/Makefile.inc1 CHECK_UIDS and CHECK_GIDS checks are improper >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 22 23:40:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jon Passki >Release: RELENG_5 as of 1/22/05 >Organization: >Environment: N/A >Description: # # $FreeBSD: src/Makefile.inc1,v 1.438.2.11 2004/12/25 07:52:41 ru Exp $ # .for uid in ${CHECK_UIDS} @if ! `id -u ${uid} >/dev/null 2>&1`; then \ echo "ERROR: Required ${uid} user is missing, see /usr/src/UPDATING."; \ false; \ fi .endfor This check is improper in that it checks the active system for the user (and later group) accouts. Logically, at least it should check the destination passwd file for the entry. I have DESTDIR set for this build, and will be exporting it to other systems. So, I don't care if the build system has the user account or not. As a workaround, can these be wrappered with something like a NO_CHECK_IDS make variable? Thanks, Jon >How-To-Repeat: cd /usr/src; make installworld #don't have all the required ids available >Fix: See Full Description above for workaround or check. >Release-Note: >Audit-Trail: >Unformatted: