Subject: port-vax/7782: reboot or halt dump core if envoked from shutdown
To: None <gnats-bugs@gnats.netbsd.org>
From: None <postmaster@c3po.verwaltung.uni-mainz.de>
List: netbsd-bugs
Date: 06/15/1999 14:51:12
>Number:         7782
>Category:       port-vax
>Synopsis:       reboot or halt dump core if envoked from shutdown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer (NetBSD/vax Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 15 14:50:00 1999
>Last-Modified:
>Originator:     Christoph Martin <christoph.martin@uni-mainz.de>
>Organization:
	University of Mainz
>Release:        1.4
>Environment:
System: NetBSD c3po.verwaltung.uni-mainz.de 1.4_BETA NetBSD 1.4_BETA (GENERIC) #2: Thu Apr 29 03:21:07 CEST 1999 ragge@vs4000:/usr/src/sys/arch/vax/compile/GENERIC vax


>Description:
	if executing 'shutdown -r now' on this system the invoked
	command reboot dumps core silently. When invoking shutdown
	with the -D flag there is the following output:
# shutdown -r -D now 
Shutdown NOW!
                                                                               
*** FINAL System shutdown message from
root@c3po.verwaltung.uni-mainz.de *** 
System going down IMMEDIATELY                                                  
                                                                               
                                                                               
Jun 15 23:34:07 c3po shutdown: reboot by root: 
Jun 15 23:34:07 c3po shutdown: reboot by root: 

System shutdown time has arrived

About to run shutdown hooks...

Done running shutdown hooks.
Trace/BPT trap (core dumped)

	The same happends with option -h and halt

>How-To-Repeat:
	# shutdown -r -D now 
>Fix:
	Workaround: executing reboot directly works.
	No real	fix known.
>Audit-Trail:
>Unformatted: