home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20495 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.5 KB  |  49 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!wyvern
  3. From: wyvern@gnu.ai.mit.edu (The Wyvern)
  4. Subject: Problems with sysv init sources
  5. Message-ID: <1992Dec15.134909.28520@mintaka.lcs.mit.edu>
  6. Keywords: init
  7. Sender: news@mintaka.lcs.mit.edu
  8. Organization: Free Software Foundation
  9. Date: Tue, 15 Dec 1992 13:49:09 GMT
  10. Lines: 37
  11.  
  12. I recently compiled and installed the sources for the sysv-style init
  13. from tsx-11 (plus the patch). It seems to be having problems
  14. with runlevels though. If I have initdefault set to, say, 3,
  15. and a couple lines like this:
  16.  
  17. rc:3:wait:/etc/rc3
  18. xd:3:once:/usr/X386/bin/xdm
  19.  
  20. Init gives me something like:
  21. INIT: Warning: No processes for this runlevel
  22. INIT: Entering single user mode
  23. / root# 
  24. So I end up having to have all the entries in my inittab be either
  25. boot or bootwait, since those are the only ones which get executed.
  26. Right now my inittab looks like this:
  27.  
  28. id:3:initdefault: 
  29. si::sysinit:/etc/bcheckrc 
  30. rc::bootwait:/etc/rc 
  31. r3::bootwait:/etc/rc3 
  32. xd::boot:/usr/X386/bin/xdm
  33. #c1:1234:respawn:/etc/getty 9600 tty1
  34. #c2:23:respawn:/etc/getty 9600 tty2
  35. #c3:23:respawn:/etc/getty 9600 tty3
  36. #c4:23:respawn:/etc/getty 9600 tty4
  37. pf::powerwait:/etc/shutdown -f now
  38. # init
  39.  
  40. This is highly annoying - it kind of defeats the purpose of an init
  41. with runlevels. Does anyone have an idea of what might be wrong?
  42.  
  43. (Incidentally, for those of you who are having trouble with xdm
  44.  you might try starting it from your inittab rather than your rc or
  45.  rc.local - for me it only works correctly when put in the inittab
  46.  as shown above.)
  47.  
  48.  
  49.