Subject: Re: shutdown actions
To: None <mouse@Rodents.Montreal.QC.CA, port-sparc@NetBSD.ORG>
From: The Grey Wolf <greywolf@starwolf.com>
List: port-sparc
Date: 12/31/1997 13:22:20
der Mouse sez:
#:
#: [Surely port-sparc isn't the right place for this?]

[fixed]

#:
#: I'm not sure about this.  There are at least five documented ways of
#: shutting the system down (signal init with SIGTERM or SIGTSTP, or run
#: shutdown, halt, or reboot), with at least four different target states
#: (single-user, halt, reboot, and that weird one you get when you SIGTSTP
#: init).  Which of them should run what, and when?
#:

To reply to this further, the SIGTSTP thing needs to be looked at again,
or we need to find a way to ensure that daemons don't get sessions (is
this possible), else SIGTSTP is useless, as the code indicates that we
don't exit unless all session leaders are dead (should we add code to
add that "all session leaders associated with terminals are dead"?).  I
can certainly think of times where I'd like to have my session be the
last session before dropping off to single-user mode.  Yes, I can plan
this out, but SIGTSTP has the potential to make it a bit more hassle-
free to do so.  

#: 					der Mouse
#:
#: 			       mouse@rodents.montreal.qc.ca
#: 		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
#:

				--*greywolf;