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

Bug#353659: lintian: Check for direct use of init.d, when invoke-rc.d should be used instead



Package: lintian
Severity: wishlist

Policy 9.3.3.2 (Running initscripts) says that packages are strongly
recommended to use invoke-rc.d instead of calling the init.d script
directly. This will in the future become mandatory (or so the footnote
says and I fervently hope).

It would be nice if lintian would warn if maintainer scripts use the
init.d script directly and not via invoke-rc.d. Checking that the string
"/etc/init.d/" exists but "invoke-rc.d" does not might be a good enough
approximation to catch most such problems.

-- 
I am a werehuman.




Reply to: