[lug] Partial execution of /etc/rc.d/rc.M

Tkil tkil at scrye.com
Sat Jan 15 22:13:29 MST 2000


[sent to original poster and to list]

(1) my (RH 6.0+errata) system has no rc.M file.  what distribution are
    you running?

(2) you can detect "hidden characters" with any competent text editor
    (i know that emacs/xemacs will display unprintable characters, i
    presume vi/vim/nvi/etc do the same one way or another).  failing
    that, i like to use "od -ha" to dump out a hex and ascii
    representation of a file.

(3) the most likely causes of "only 2/3 of the file being executed",
    without knowing more about the situation, are:

    a. there is a fatal error in the processing of the script, causing
       /bin/sh to bail out.  check "dmesg" for error output.

    b. there is a test for something on your system, and that test
       fails, causing the rest of the file to be ignored.  look for
       "if ..." conditions that are suspicious, or don't match your
       configuration.  e.g. you might have a test for SMP-enabled
       kernel, or sound modules, etc; if that test fails, the rest of
       the file might be ignored "by design".

       (see this in RH init scripts keyed off values generally set up
       in /etc/sysconfig scripts, such as NETWORKING and MODULES.)

that's all that comes to mind offhand.  good luck,
t.
-- 
Tkil * <URL: http://slinky.scrye.com/~tkil> * hopelessly hopeless romantic.
  "So amplify this little one 	|   She hears as much as she can see
   She's a volume freak       	|   And what she sees, she can't believe."
        -- Catherine Wheel, _Happy Days_, "Judy Staring At The Sun"




More information about the LUG mailing list