NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/41224: a number of pseudodependencies in /etc/rc.d are not CAPITALIZED
>Number: 41224
>Category: misc
>Synopsis: a number of pseudodependencies in /etc/rc.d are not CAPITALIZED
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 15 21:55:00 +0000 2009
>Originator: Perry E. Metzger
>Release: NetBSD 4.99.28
>Organization:
Perry E. Metzger perry%piermont.com@localhost
>Environment:
System: NetBSD snark.cb.piermont.com 4.99.28 NetBSD 4.99.28 (ZWEI) #0: Sun Aug
12 13:52:43 EDT 2007
perry%snark.piermont.com@localhost:/usr/src/sys/arch/amd64/compile/ZWEI amd64
Architecture: x86_64
Machine: amd64
>Description:
The following pseudo-dependencies are listed in /etc/rc.d/*'s PROVIDE
and REQUIRE lines but do not correspond to actual started
facilities. Such dummy provides/requires are supposed to be in all caps:
bluetooth
bootconf
disks
ike
localswap
mail
nonlocalswap
tty
Other pseudos like LOGIN and NETWORK are handled properly.
Note that for some of these, like "tty", there is an actual script,
"ttys", and the depend should be renamed "ttys" or the script should
be renamed "tty". For others, like mail, the dependency should clearly
be named "MAIL".
This is not just a question of being nutty about a standard -- it
makes it much easier to figure out what is a pseudodependency and what
is not.
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index