home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!mips!mips!munnari.oz.au!metro!news
- From: dawes@physics.su.OZ.AU (David Dawes)
- Newsgroups: comp.unix.bsd
- Subject: init, rc, signal handling (386BSD)
- Message-ID: <1992Aug13.103235.25465@ucc.su.OZ.AU>
- Date: 13 Aug 92 10:32:35 GMT
- Sender: news@ucc.su.OZ.AU
- Organization: School of Physics, University of Sydney, Australia
- Lines: 21
- Nntp-Posting-Host: physics.su.oz.au
-
-
- I've noticed that signal handling gets screwed up for commands run from
- /etc/rc. One particular example is xdm. When started from /etc/rc
- the signal handlers it installs don't work -- the signals get ignored.
- I checked the init source, and it resets the signal handling the SIG_DFL.
-
- I tried a simple program which checks this, and the default handler's are
- correctly set -- but signals are being ignored regardless of the default
- behaviour or if a handler is installed.
-
- This is making it impossible to shutdown xdm cleanly when it is started
- at boot time from /etc/rc.
-
- Does anyone have any ideas about this?
-
- David
- --
- ------------------------------------------------------------------------------
- David Dawes (dawes@physics.su.oz.au) DoD#210 | Phone: +61 2 692 2639
- School of Physics, University of Sydney, Australia | Fax: +61 2 660 2903
- ------------------------------------------------------------------------------
-