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

Re: Lintian oddness



On Tue, Nov 11, 2003 at 11:58:26AM +0100, Frank Lichtenheld wrote:
> 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.

It's usually wrong to specify explicit paths to tools like update-rc.d,
as that prevents the administrator from installing locally improved
versions in /usr/local.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: