home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sun4nl!htsa.htsa.aha.nl!miquels
- From: miquels@htsa.aha.nl (Miquel van Smoorenburg)
- Subject: Re: sysvinit...
- References: <marcf.725339107@yorku.ca> <1hgovkINNffm@matt.ksu.ksu.edu> <marcf.725346455@yorku.ca>
- Date: Sat, 26 Dec 1992 13:26:04 GMT
- Organization: Algemene Hogeschool Amsterdam, Polytechnic Institute
- Sender: news@htsa.aha.nl (News Manager)
- Message-ID: <1992Dec26.132604.16638@htsa.aha.nl>
- Lines: 27
-
- In article <marcf.725346455@yorku.ca> marcf@nexus.yorku.ca (Marc G Fournier) writes:
- >probreak@matt.ksu.ksu.edu (James Michael Chacon) writes:
- >
- > part 2: 'rc::bootwait:/etc/rc' gives an error 'cannot execute
- >/etc/rc'..../etc/rc is 755
- >
- >Marc
-
- You probably found a _bug_ in the init package.. Thanks :-)
- Init tries to execl() all processes first, and then uses
- "sh -c exec [command]" if the execl fails. It does so in case
- "command" is a shell built in or a shell script.
- Appearantly, it fails. If you make the first line of /etc/rc
-
- #!/bin/sh
-
- then it will work. Use this for every shell script you try to
- run from inittab. This bug, and two or three others will be
- fixed in the next version (2.1) and I hope that one will be
- free of bugs . :-)
-
- Hope this helps - Mike.
-
- --
- % Miquel van Smoorenburg, Baljuwstraat 20, 2461SL Langeraar, Holland. %
- % miquels@htsa.aha.nl (school) miquels@drinkel.nl.mugnet.org (home) %
- % Calm down - it's just ones and zeros %
-