"- after the shutdown command has finished, Linux will signal completion of 'signal shutdown' processing."
How exactly is this done? Kernel? Something in the scripts? > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Peter Oberparleiter > Sent: Wednesday, February 11, 2004 12:10 PM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] SLES8 trap signal shutdown > > > "Hall, Ken (IDS ECCS)" wrote: > > I had to add the "ctrlaltdel" line to /etc/inittab. I also made a > > modification to the "/etc/init.d/halt" script to issue "hcp > logoff" at the > > end. For some reason, the options in zipl.conf caused me > > problems, but I forget exactly why. > > To clear this matter up a bit, here is a quick description of > how the signal > shutdown facility in Linux works: > > - any guest running a Linux kernel compiled with CONFIG_SCLP > enabled is > listening for a 'signal shutdown' > - once a 'signal shutdown' is received by Linux, the > ctrlaltdel action is > triggered > - Linux will call the command defined in /etc/inittab for > ctrlaltdel. This > should be a 'shutdown' command. > - after the shutdown command has finished, Linux will signal > completion of > 'signal shutdown' processing. > - the system that issued 'signal shutdown' will log off > guests that signalled > the completion of 'signal shutdown' processing > - any system which is signalled but does not signal completion after a > timeout interval (if specified) will be forced to log off > > > I recommend the following approach: > > 1) add an entry for 'ctrlaltdel' to /etc/inittab. The > associated command > should be a 'shutdown' command. > 2) do not modify the init scripts as this will prevent the kernel from > signalling completion of 'signal shutdown' processing > 3) do not specify 'vmpoff' or 'vmhalt' commands as these will > be ignored > > > Hope this helps. > > > Regards, > Peter Oberparleiter > ============================================================================== If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. <http://www.ml.com/email_terms/> ==============================================================================
