console owner not catching SIGINT's on 0.5.0?

Scott James Remnant scott at netsplit.com
Wed Aug 26 12:14:17 BST 2009


On Tue, 2009-08-25 at 13:46 -0700, Garrett Cooper wrote:

> [172:~]$ [owner] This is SPARTA!
> Hit CTRL-C now!
> # Stuck again, no output is registered.
> 
> Any other ideas? I know that this functionality does in fact work for
> another app that we have, but I'm not sure why it doesn't work for
> this test app 100%... I even uncommented the os.open for /dev/ttyS0,
> so the test app does in fact have R/W access to the serial console,
> and it still doesn't work. Hmmmm...
> 
Are you re-opening the console or the tty directly?  This would change
things.

Another thing to try is to try issuing the TIOCSCTTY ioctl yourself, and
see what that returns.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20090826/a0cfb100/attachment-0001.pgp 


More information about the upstart-devel mailing list