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

Bug#910594: lintian: complain about missing versioned dependency on init-system-helpers



Hi Chris,

> > Over in #910593, I reported that the maintainer script was using a feature
> > of update-rc.d that is not available in stretch.
> 
> Yes, this is something that Lintian could indeed spot.
> 
> > One could also look for the dh_installinit call in debian/rules […]
> 
> Not quite sure what you mean by this bit?

The offending postinst would almost always be created by 

	override_dh_installinit:
		dh_installinit -u defaults-disabled

So in principle, lintian could look for that call from d/rules rather than the 
update-rc.d call in the postinst. I'm not sure what the relative abilities of 
lintian's d/rules and postinst checkers are, and whether that is a useful 
snippet of information.

Cheers
Stuart

-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


Reply to: