NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/40568: postinstall fails to update /dev/MAKEDEV.local



>Number:         40568
>Category:       install
>Synopsis:       postinstall during (or after) upgrade fails to update 
>/dev/MAKEDEV.local
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 06 21:30:00 +0000 2009
>Originator:     Michael L. Hitch
>Release:        NetBSD 5.0_RC1
>Organization:
        Montana State Univerisy
>Environment:
        
        
System: NetBSD vlc2.msu.montana.edu 5.0_RC1 NetBSD 5.0_RC1 (GENERIC) #7: Tue 
Feb 3 11:46:47 MST 2009 
mhitch%net4.msu.montana.edu@localhost:/home/mhitch/NetBSD-5/OBJ/vax/home/mhitch/NetBSD-5/src/sys/arch/vax/compile/GENERIC
 vax
Architecture: vax
Machine: vax
>Description:
        Postinstall fails to update /dev/MAKEDEV.local during sysinst upgrade
        or when run during etcupdate or when run manually, and says makedev
        failed.
>How-To-Repeat:
        Run a sysinst upgrade on a system (5.0_RC1 or -current) and note that
        the postinstall run after extracting etc.tgz complains about the
        makedev step.  Run etcupdate afterwards, and the postinstall run
        at the end of that also complains.

        The problem appears to be that postinstall is looking in ${SRC_DIR}/etc,
        but the file is actually in ${SRC_DIR}/dev when extracted from the
        etc.tgz set.  When using a source tree as the source, that file is
        in src/etc, so postinstall will work when using the source tree.
>Fix:
        Search for MAKEDEV.local in both ${SRC_DIR}/dev and ${SRC_DIR}/etc
        and use that file (similar to what is done for MAKEDEV).

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index