Subject: misc/11475: ifconfig greN without corresponding greconfig -> kernel panic
To: None <gnats-bugs@gnats.netbsd.org>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: netbsd-bugs
Date: 11/12/2000 10:34:09
>Number:         11475
>Category:       misc
>Synopsis:       ifconfig freN without greconfig -> kernel panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 12 10:34:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Markus W Kilbinger
>Release:        upcoming NetBSD 1.5 branch
>Organization:

>Environment:
System: NetBSD mach 1.5_BETA2 NetBSD 1.5_BETA2 (MACH) #0: Thu Nov 9 23:00:01 MET 2000 kilbi@jolly:/usr/src/sys/arch/i386/compile/MACH i386

>Description:
If you configure a gre tunnel via ifconfig, but do not greconfig it ->
kernel panics if the incomplete gre tunnel seems to used! This is the
'normal result' if you keep the default /etc/rc.d boot sequence, where
greconfig cannot be executed when it is needed because /usr is not
already mounted.

>How-To-Repeat:
See above
>Fix:
Word around: Add /usr to critical_filesystems_beforenet to make
greconfig available. But: I guess the panic itself is not an adequate
behavior, anyway! (For this I have no fix... :-/)
>Release-Note:
>Audit-Trail:
>Unformatted: