control: tags -1 +wontfix control: close -1
[2009-09-06 13:46] Michael Schutte <mi...@uiae.at> > Package: insserv > Version: 1.12.0-11 > Severity: wishlist > > Hi, Hi. Sorry for late response. > Most init scripts in Debian start with a line like > > [ -x /usr/sbin/some-daemon ] || exit 0 > > to handle the common situation when a package has been removed, but not > purged. It would be nice if insserv could provide a way to ignore a > script altogether when a file isn’t there, for example via a new header > in the INIT INFO block: > > # X-If-Exists: /usr/sbin/some-daemon Currently, this line in hidden inside init-d-script(5), so repetition is gone. > This line usually isn’t needed because the scripts exit gracefully > anyway. Still, such a header would make it possible for mutually > exclusive init scripts from conflicting packages to provide the same > facility name. For example, /etc/init.d/some-daemon from the > some-daemon package could say > > # Provides: some-daemon > # X-If-Exists: /usr/sbin/some-daemon > > while /etc/init.d/better-daemon states > > # Provides: some-daemon > # X-If-Exists: /usr/sbin/better-daemon This is handled by virtual facilities (/etc/insserv.conf), like: $named +named +dnsmasq +lwresd +bind9 +unbound $network -- Note, that I send and fetch email in batch, once in a few days. Please, mention in body of your reply when you add or remove recepients.