"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

Reply via email to