It worked for us pretty much as advertised.

Have you tried issuing the signal with the console logged on so you can watch the 
messages?

Or use a program like "track".

You should get a message from the kernel that the signal was caught even if the script 
doesn't run:

09:06:05 CAD: Sending SIGINT to PID 1...
Apr 27 09:06:05 lnxsp3t kernel: CAD: Sending SIGINT to PID 1...

 Message from [EMAIL PROTECTED] at Tue Apr 27 09:06:05 2004 ...
lnxsp3t kernel: CAD: Sending SIGINT to PID 1...




> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of
> Nick Laflamme
> Sent: Tuesday, April 27, 2004 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [LINUX-390] Monthly forehead bruising: inittab &
> ctrlaltdel
>
>
> David Boyes wrote:
>
> >>Given that I seem to have that right and seem to be at a
> current-enough (too current?) level of SLES 8, what else do I
> look for?
> >>
> >>
> >
> >I'm kind of puzzled what you're asking. Is it not working, or is it
> >doing something weird?
> >
>
> I'll go with, "It's doing something weird."
>
> At the end of the timeout period, the kernel logs the virtual machine
> off. However, the shutdown command has not run. That it logs
> itself off
> tells me that something is happening. That shutdown never
> runs tells me
> that something weird is happening (or something good isn't happening).
> That's what makes me suspect a syntax issue: the kernel is
> trying to do
> something, but it's getting lost along the way and not taking the path
> it should.
>
> Mark's reference to "telinit q" wasn't directly relevant;
> I've re-booted
> this image several times after less-than-graceful responses to SIGNALs
> SHUTDOWN. However, that got me thinking about the runlevel,
> which, when
> I checked it, was "unknown." If I "init 3" and then test the SIGNAL
> SHUTDOWN, it works as expected.
>
> So, my next puzzle is, what's with the "unknown" runlevel?
> Or, just how
> screwed up is this particular Linux image? Fortunately, it's my test
> image. I haven't rebuilt it in a few weeks; must be time to do so. :-)
>
> >-- db
> >
>
> Nick
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO
> LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

==============================================================================

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/>

==============================================================================

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to