[Bug 56] New: Needless special handling of runlevels 0/6

bugzilla at shadowfax.linuxfromscratch.org bugzilla at shadowfax.linuxfromscratch.org
Fri May 25 08:20:30 PDT 2001


http://bugs.linuxfromscratch.org/show_bug.cgi?id=56

           Summary: Needless special handling of runlevels 0/6
           Product: Linux From Scratch
           Version: 3.0-pre3
          Platform: PC
               URL:
        OS/Version: Linux
            Status: UNCONFIRMED
 Status Whiteboard:
          Keywords:
        Resolution:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: lexfiend at usa.net


With the publishing /etc/init.d/rc, script links in /etc/rc[06].d are always 
called with the "stop" argument, regardless of their name prefixes (K/S).  This 
runs counter to general SysV-init style, and no other SysV-init implementation 
on any Unix-like OS makes this exception.

Users and developers therefore come to expect this behavior, so calling an S-
script in rc[06].d with "stop" can be confusing at best, and potentially 
disastrous at worst, depending on the script code.

Unless there's a good reason for making this exception, it should be removed.





More information about the lfs-book mailing list