home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21726 < prev    next >
Encoding:
Text File  |  1992-12-26  |  1.4 KB  |  39 lines

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