Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 23:36:10 GMT
From:      Jon Passki <cykyc@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/76583: RELENG_5 src/Makefile.inc1 CHECK_UIDS and CHECK_GIDS checks are improper
Message-ID:  <200501222336.j0MNaA5r065481@www.freebsd.org>
Resent-Message-ID: <200501222340.j0MNePGp000697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501222336.j0MNaA5r065481>