#56 closed defect (wontfix)
Needless special handling of runlevels 0/6
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | 3.0-pre3 |
Severity: | normal | Keywords: | |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
"Needless special handling" is in the eye of the beholder. We don't think it is (if you need proof, look at Debian's setup - it's similar, so we're not 'weird' by doing it the way we're doing it). As the boot setup is going to be changed in the future anyways let's not go and change this here now.