Bug#612596: Insserv noisy about non-LSB scripts

2011-02-09 Thread Juliusz Chroboczek
Package: insserv
Version: 1.14.0-2

At some point, insserv started complaining about my local init scripts:

  insserv: warning: script 'S24firewall' missing LSB tags and overrides
  insserv: warning: script 'firewall' missing LSB tags and overrides

I think that these warning should be disabled by default -- there's no
reason to put LSB tags in local scripts.  Alternatively, it should be
possible to mark an initscript as local, in order to get insserv to shut
up.

Thanks,

--jch



pgp9vJG7RqEqk.pgp
Description: PGP signature


Bug#612596: Insserv noisy about non-LSB scripts

2011-02-09 Thread Petter Reinholdtsen
[Juliusz Chroboczek]
 I think that these warning should be disabled by default -- there's no
 reason to put LSB tags in local scripts.

There is a reason to but LSB tags in local scripts.  To ensure that
they are executed in the correct place during boot and shutdown.  This
is the reason insserv is warning about scripts missing dependency
information.

So just go ahead and add dependency information to the scripts.  It is
not very hard.  Something like this probably work fine in most cases:

  ### BEGIN INIT INFO
  # Provides: scriptname
  # Required-Start:   $remote_fs $syslog
  # Required-Stop:$remote_fs $syslog
  # Default-Start:2 3 4 5
  # Default-Stop: 0 1 2
  # Short-Description:description
  ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612596: Insserv noisy about non-LSB scripts

2011-02-09 Thread Juliusz Chroboczek
 So just go ahead and add dependency information to the scripts.

More bureaucracy?

--jch



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org