Bug#386968: lintian: LSB-compliance check doesn't accept empty lines
Erich Schubert <erich@debian.org> writes:
> Package: lintian
> Version: 1.23.24
> Severity: normal
> W: pyroman: init.d-script-missing-lsb-keyword /etc/init.d/pyroman required-stop
> N:
> N: This /etc/init.d script has an LSB keyword section, but it is missing
> N: the given required LSB keyword. If the value of this keyword should be
> N: empty, please still include it in the LSB keyword section with an
> N: empty value.
> N:
> N: Refer to http://wiki.debian.org/LSBInitScripts for details.
> N:
> grep -i required-stop /etc/init.d/pyroman
> # Required-Stop:
> The line is there, it's just empty since pyroman doesn't do "stop" (what is
> the well-defined stop action for an iptables setup tool? IMHO a noop, because
> it's not "iptables stop") - so it doesn't have any stop dependencies.
Sorry about that; the code was supposed to handle this, but was missing a
defined check. Will be fixed in the next upload.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: