NetBSD-Bugs archive

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

install/49579: postinstall doesn't detect/fix ksyms major device number change



>Number:         49579
>Category:       install
>Synopsis:       postinstall doesn't detect/fix ksyms major device number change
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 17 04:35:09 +0000 2015
>Originator:     Lloyd Parkes
>Release:        7.0_BETA
>Organization:
Must Have Coffee
>Environment:
NetBSD thallid.must-have-coffee.gen.nz 7.0_BETA NetBSD 7.0_BETA (GENERIC) #1: Fri Jan 16 15:44:29 NZDT 2015  lloyd%castigate.must-have-coffee.gen.nz@localhost:/Users/lloyd/scratch/build7/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
I upgraded a NetBSD/amd64 system from 6.1.4 to 7.0_BETA. I ran etcupdate and "postinstall check" showed no problems.

snmpd from Net-SNMP wouldn't start and complained with "kvm_openfiles: /dev/ksyms: Device not configured". 

I ran the following

bash-4.2# ls -l ksyms
cr--r--r--  1 root  wheel  101, 0 Mar  5  2009 ksyms
bash-4.2# ./MAKEDEV std
bash-4.2# ls -l ksyms
cr--------  1 root  wheel  85, 0 Jan 17 17:20 ksyms

At this point snmpd started without complaint.


>How-To-Repeat:
Upgrade NetBSD/amd64 from 6.1.4 to 7.0.

>Fix:
I don't know if the major device number should be reverted, or if postinstall should check for this. Presumably postinstall only needs to check the major numbers for "MAKEDEV std".



Home | Main Index | Thread Index | Old Index