https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256254

Ed Maste <ema...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ema...@freebsd.org

--- Comment #1 from Ed Maste <ema...@freebsd.org> ---
The check in Makefile.inc1:

.if !defined(DB_FROM_SRC)
#
# Check for missing UIDs/GIDs.
#
CHECK_UIDS=     auditdistd
CHECK_GIDS=     audit
CHECK_UIDS+=    ntpd
CHECK_GIDS+=    ntpd
CHECK_UIDS+=    proxy
CHECK_GIDS+=    proxy authpf
CHECK_UIDS+=    smmsp
CHECK_GIDS+=    smmsp
CHECK_UIDS+=    unbound
CHECK_GIDS+=    unbound
_installcheck_world: __installcheck_UGID
__installcheck_UGID: .PHONY
.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
.for gid in ${CHECK_GIDS}
        @if ! `find / -prune -group ${gid} >/dev/null 2>&1`; then \
                echo "ERROR: Required ${gid} group is missing, see
/usr/src/UPDATING."; \
                false; \ 
        fi
.endfor
.endif

These UIDs and GIDs are checked unconditionally right now, but we could easily
include them based on the associated options - e.g. with something like this
diff:

-CHECK_GIDS+=   proxy authpf
+CHECK_GIDS+=   proxy
+.if ${MK_AUTHPF} != no
+CHECK_GIDS+=   authpf
+.endif

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to