Ville Skyttä (ville.skytta@iki.fi) said:
On Friday 22 June 2007, Harald Hoyer wrote:
The next step would be to modify all initscripts in /etc/init.d to be LSB compliant [4].
Does this imply that these modified init scripts should also be installed/removed with the LSB tools instead of chkconfig?
No. You can be LSB compliant in exit status, dependencies, etc. without using the LSB wrappers (in fact, it's greatly preferred to *NOT* use the LSB wrappers.)
My questions about this approach are:
- where are the benchmarks? What's the actual gain? - how would this be useful for the case where facilities that are provided are determined at runtime (say, NetworkManager providing $network instead of /etc/init.d/network, or $remote_fs being provided by either rc.sysinit or /etc/init.d/netfs, depending on configuration). Similarly, you may want a meta-dependency for 'authorization available', which would be at different times depending on whether or not you're using local passwords, KRB5, etc. - does this work with dbus system activation?
Bill