home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4082 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.3 KB

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