Tag: non-virtual-facility-in-initd-script
Severity: error
Check: init-d
Renamed-From: init.d-script-should-depend-on-virtual-facility
Explanation: The given /etc/init.d
script depends on a non-virtual
facility that should probably be replaced by a virtual facility. For
example, init scripts should depend on the virtual facility
$network
rather than the facility networking
, and the
virtual facility $named
rather than the specific facility
bind9
.
.
Properly using virtual facilities allows multiple implementations of the
same facility and accommodates systems where that specific facility may
not be enough to provide everything the script expects.