Re: init.d-script-does-not-source-init-functions, is it really necessary
On Sat, 2021-02-06 at 16:30 -0500, Tong Sun wrote:
> I have to source /lib/init/init-d-script in my init.d script,
> **just** to let the lint warning goes a way, for --
> However, sourcing /lib/init/init-d-script will break in some cases,
> because of which, I had a bug opened against my package.
> Would it be a good idea not to source /lib/init/init-d-script, and
> overriding the init.d-script-does-not-source-init-functions lint
> warning instead? Thx
The warning doesn't have anything to do with /lib/init/init-d-script,
but asks to source "/lib/lsb/init-functions" which is a different file.
See the description from `lintian-explain-tags init.d-script-does-not-
So overriding the warning would be bad.