Subject: install/18108: 1.6 build requires creation of named user
To: None <gnats-bugs@gnats.netbsd.org>
From: Nick Thille <nick@thille.com>
List: netbsd-bugs
Date: 08/29/2002 08:12:10
>Number: 18108
>Category: install
>Synopsis: 1.6 build requires creation of named user
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 29 08:13:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Nick Thille
>Release: NetBSD 1.6 RC2
>Organization:
>Environment:
System: NetBSD wingover 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001 he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
Downloaded the source tarballs for NetBSD 1.6 release candidate 2.
On the above described 1.5.2 machine, attempted to build with:
./build.sh -d -D ~/netbsd-1.6/destdir -R ~/netbsd-1.6/releasedir
The build failed with:
(cd /build/home/nick/netbsd-1.6/src/etc && /build/home/nick/netbsd-1.6/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/nbmake DESTDIR=/root/netbsd-1.6/destdir distrib-dirs)
STRIP=/build/home/nick/netbsd-1.6/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/i386--netbsdelf-strip /build/home/nick/netbsd-1.6/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/nbinstall -d -o root -g wheel -m 755 /home/nick/netbsd-1.6/destdir
nbinstall: /home/nick/netbsd-1.6/destdir: chown/chmod: Operation not permitted
/build/home/nick/netbsd-1.6/src/tools/obj/tools.NetBSD-1.5.2-i386/bin/nbmtree -def mtree/NetBSD.dist -p /root/netbsd-1.6/destdir/ -U
nbmtree: unknown user `named'
nbmtree: failed at line 797 of the specification
*** Error code 1
Stop.
nbmake: stopped in /build/home/nick/netbsd-1.6/src/etc
*** Error code 1
Stop.
nbmake: stopped in /build/home/nick/netbsd-1.6/src
*** Error code 1
Stop.
nbmake: stopped in /build/home/nick/netbsd-1.6/src
*** Error code 1
Stop.
nbmake: stopped in /build/home/nick/netbsd-1.6/src
so I ran it again as root. That got rid of the chmod errors, but it
still gripes about `named' being an unknown user.
>How-To-Repeat:
See above.
>Fix:
The workaround appears to be to create a user named "named"
I haven't looked at a real fix yet.
>Release-Note:
>Audit-Trail:
>Unformatted: