home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!rs6000.cmp.ilstu.edu!jliddle
- From: jliddle@rs6000.cmp.ilstu.edu (Jean Liddle)
- Subject: Re: Two problems. (Elm/Smail/lib/libc.2.2.2, shutdown)
- Message-ID: <1992Aug25.180023.14473@rs6000.cmp.ilstu.edu>
- Date: Tue, 25 Aug 1992 18:00:23 GMT
- References: <1992Aug20.040341.27796@constellation.ecn.uoknor.edu> <1992Aug25.161632.8144@julian.uwo.ca>
- Organization: Illinois State University
- Lines: 25
-
- In article <1992Aug25.161632.8144@julian.uwo.ca> klode@syslab.csd.uwo.ca (Claude Morin) writes:
- >
- > The problem occurs when /etc/utmp has a record for someone who is no longer
- >logged in. When that happens, shutdown will attempt to send a message, will
- >block, and your system will 'hang'. Note that /etc/utmp corruption is quite
- >common, and can be caused (as in your case), by rebooting while in X11. Your
- >/etc/utmp file probably has an entry for user 'smith' on 'ttyp6' or something
- >like that. You can check with 'who' or 'w'.
- >
-
- I have in my rc file the lines:
-
- /bin/rm -f /etc/utmp
- /usr/bin/touch /etc/utmp
-
- which, on bootup, automatically initializes utmp to have no logged in users.
- I did this back when I was rebooting from X alot, before I got my video
- timings figured out. It seems like a reasonable precaution anyway, since
- at bootup there cannot be anyone logged in :).
-
- Jean.
- --
- Jean Liddle | == Bill Clinton for President ==
- Computer Science, Illinois State University |
- e-mail: jliddle@ilstu.edu | - Carol Mosley Braun for Senat -
-