Thanks Mark,

I'll check that out.

Whether we use now or +1 doesn't matter too much, I prefer the +1 in case
somebody is logged on, then they have a minute to save their work and log
off.

The signal is being sent with the cp force command, or when VM shuts down.
We found Linux would shutdown, then restart.  Then the cp signal time would
expire and cp forced the Id off. :-(

Cheers
Donald Russell


On Friday, January 15, 2016, Mark Post <mp...@suse.com> wrote:

> >>> On 1/15/2016 at 05:28 PM, Donald Russell <russell....@gmail.com
> <javascript:;>> wrote:
> > In RHEL 5, changing the behavior of signal shutdown was simple: the
> > shutdown command was in /etc/inittab, change that to shutdown -h ...
> done.
>
> Actually, that wasn't ever needed.  z/VM would halt the guest, even though
> "shutdown -r" was in inittab.
>
> > With RHEL 7, everything is convertd to systemd, and it appears a signal
> > shutdown performs a shutdown -r .... No good.
>
> I don't see that behavior on SLES12 or SLES12 SP1.  Things shut down as
> before.  What is the exact command that is being issued to generate the
> signal.  I sign on to my guest and do
> #cp signal shutdown within 90
>
> I just checked and the symbolic link ctrl-alt-del.target still points to
> reboot.target, so not sure what's going on with your system.
>
> You could try this:
> cd /etc/systemd/system
> ln -s /lib/systemd/system/poweroff.target ctrl-alt-del.target
>
> (I believe /lib is where RHEL has their systemd files.  If not there, then
> perhaps /usr/lib/systemd/system.)
>
> > We already use chshut so halt stops, and poff logs off, and those work
> > great when the shutdown command is used manually.
> >
> > But, we're having a heck of time trying to find what to change so
> > "ctl-alt-del" (signal shutdown) results in shutdown -P +1
>
> My experience has always been that it was the equivalent of a "shutdown
> now" not +1.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu <javascript:;> with the message:
> INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>


--
Sent from iPhone Gmail Mobile

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to