Subject: install/33540: postinstall doesn't make bpf
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Bernhard Moellemann <zza@serpens.de>
List: netbsd-bugs
Date: 05/24/2006 08:10:00
>Number:         33540
>Category:       install
>Synopsis:       postinstall doesn't make bpf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 24 08:10:00 +0000 2006
>Originator:     Bernhard Moellemann
>Release:        NetBSD 3.0 [22-05-2006]
>Organization:
	<organization of PR author (multiple lines)>
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD dosic 3.0_STABLE NetBSD 3.0_STABLE (DOSIC30) #0: Tue May 23 12:10:00 CEST 2006 root@arcanic:/usr/src-3.0/obj/sys/arch/i386/compile/DOSIC30 i386
Architecture: i386
Machine: i386
>Description:
After installing an upgrade with something like
build.h ... install=/mnt/system-disk-to-upgrade/root
I ran postinstall fix as described by build. It did all well. When booting
the upgraded system I noticed, that dhcpd was no longer running. Some
investigation showed, that the dhchpd needed bpf, what uses bpf instead
of bpf[0-7] now (that's ok). But postinstall did not run MAKEDEV bpf so
I was left with an crippled system and not informed about the problem.

postinstall should call MAKEDEV bpf or get an option fix bpf or
warn about the issue
>How-To-Repeat:
Install 3.0 over 1.6 with build.sh ... install and run postinstall
>Fix:
cd /dev && ./MAKEDEV bpf && rm bpf[1-7]

-- 
    Bernhard  //
            \X/

>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>