home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!think.com!mintaka.lcs.mit.edu!wyvern
- From: wyvern@gnu.ai.mit.edu (The Wyvern)
- Subject: Problems with sysv init sources
- Message-ID: <1992Dec15.134909.28520@mintaka.lcs.mit.edu>
- Keywords: init
- Sender: news@mintaka.lcs.mit.edu
- Organization: Free Software Foundation
- Date: Tue, 15 Dec 1992 13:49:09 GMT
- Lines: 37
-
- I recently compiled and installed the sources for the sysv-style init
- from tsx-11 (plus the patch). It seems to be having problems
- with runlevels though. If I have initdefault set to, say, 3,
- and a couple lines like this:
-
- rc:3:wait:/etc/rc3
- xd:3:once:/usr/X386/bin/xdm
-
- Init gives me something like:
- INIT: Warning: No processes for this runlevel
- INIT: Entering single user mode
- / root#
- So I end up having to have all the entries in my inittab be either
- boot or bootwait, since those are the only ones which get executed.
- Right now my inittab looks like this:
-
- id:3:initdefault:
- si::sysinit:/etc/bcheckrc
- rc::bootwait:/etc/rc
- r3::bootwait:/etc/rc3
- xd::boot:/usr/X386/bin/xdm
- #c1:1234:respawn:/etc/getty 9600 tty1
- #c2:23:respawn:/etc/getty 9600 tty2
- #c3:23:respawn:/etc/getty 9600 tty3
- #c4:23:respawn:/etc/getty 9600 tty4
- pf::powerwait:/etc/shutdown -f now
- # init
-
- This is highly annoying - it kind of defeats the purpose of an init
- with runlevels. Does anyone have an idea of what might be wrong?
-
- (Incidentally, for those of you who are having trouble with xdm
- you might try starting it from your inittab rather than your rc or
- rc.local - for me it only works correctly when put in the inittab
- as shown above.)
-
-
-