conf/76583: RELENG_5 src/Makefile.inc1 CHECK_UIDS and CHECK_GIDS checks are improper

Jon Passki cykyc at yahoo.com
Sat Jan 22 15:40:35 PST 2005


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


More information about the freebsd-bugs mailing list