[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lintian oddness



On Tue, Nov 11, 2003 at 06:44:38PM +1000, Andrew Pollock wrote:
> E: wn: postrm-contains-additional-updaterc.d-calls /etc/init.d/wn
> W: wn: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/wn

The cause for both errors (warnings, whatever) is that the following
line (from postinst) is not recognised by lintian

/usr/sbin/update-rc.d wn defaults > /dev/null

The line is matched with
/^(?:.+;)?\s*update-rc\.d\s+(?:-\S+\s*)*(\S+)\s+(\S+)/

so it does not allow the "/usr/sbin" before the "update-rc.d".
Don't know who's at fault here, though.

The code for all other control files just uses
/update-rc\.d\s+(-\S+\s*)*(\S+)/, so the call in the postrm is matched.
Don't know why the expressions differ.

The code can be found in /usr/share/lintian/checks/init.d, btw

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/

Attachment: signature.asc
Description: Digital signature


Reply to: