misc/174405: make installkernel shouldn't check for existence of user accounts
Wojciech A. Koszek
wkoszek at FreeBSD.org
Wed Dec 12 21:20:00 UTC 2012
>Number: 174405
>Category: misc
>Synopsis: make installkernel shouldn't check for existence of user accounts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 12 21:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Wojciech A. Koszek
>Release: FreeBSD 10-CURRENT
>Organization:
FreeBSD
>Environment:
FreeBSD XXXXXX.XXXXXX.XXXX 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r230923M: Thu Feb 2 20:11:19 PST 2012 wkoszek at freebsd:/usr/obj/data/head/sys/T7400 amd64
>Description:
I'm updating from older FreeBSD 10-CURRENT. Src/ is from svn.freebsd.org/base/head.
I did:
make -j4 buildkernel KERNCONF=GENERIC
make -j4 buildworld
make -j4 installkernel KERNCONF=GENERIC
I got an error message about non-existing user. I think make shouldn't be checking for existing users at installkernel stage, since I may never want to do installworld stage, if my kernel doesn't work.
ib32/usr/lib32 -O2 -pipe -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -o ldd32 ldd.o sods.o
--------------------------------------------------------------
>How-To-Repeat:
On the system without "auditdistd" user, try:
svn co http://svn.freebsd.org/base/head
make -j4 buildkernel KERNCONF=GENERIC
make -j4 buildworld
make -j4 installkernel KERNCONF=GENERIC
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
>>> World build completed on Wed Dec 12 12:48:05 PST 2012
--------------------------------------------------------------
xaqbhill40# make -j4 installkernel KERNCONF=GENERIC KODIR=/boot/kernel.new
ERROR: Required auditdistd user is missing, see /usr/src/UPDATING.
More information about the freebsd-bugs
mailing list