home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6940 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.2 KB

  1. Path: sparky!uunet!mcsun!uknet!ox-prg!emerald.comlab!as
  2. From: as@prg.ox.ac.uk (Andrew Stevens)
  3. Newsgroups: comp.os.linux
  4. Subject: shutdown not doing so (solved)
  5. Message-ID: <4155@inca.comlab.ox.ac.uk>
  6. Date: 29 Jul 92 07:25:13 GMT
  7. References: <1992Jul28.185257.9457@athena.mit.edu>
  8. Sender: news@comlab.ox.ac.uk
  9. Organization: Oxford University Computing Laboratory, UK
  10. Lines: 18
  11.  
  12. If, like me, you've been irritated by shutdown occasionally hanging
  13. you may be interested to know the cause.   Basically, when shutdown
  14. runs it uses /etc/utmp to figure out which tty's to send shutdown
  15. messages to.   If /etc/utmp is messed up containing entries for
  16. pty's with nothing attached (i.e. messily killed of xterm's and the
  17. like) shutdown tries to write to these and hangs.   Various
  18. work-around's are (1) always kill things off by hand before exiting X-windows,
  19. (2) hack shutdown to ignore pty's (3) Zap the /etc/utmp file by hand
  20. if shutdown hangs.
  21.  
  22. I haven't (quite) got the energy to figure out the ioctl's needed to
  23. properly cure this problem.
  24.  
  25. Andrew
  26.         Andrew Stevens                  
  27.       Programmming Research Group       JANET: Andrew.Stevens@uk.ac.oxford.prg
  28.      11 Keble Road, Oxford, England     UUCP:  ...!uunet!mcvax!ukc!ox-prg!as
  29.      OX1 3QD   +44 0865 272563
  30.