On 2012-08-04 08:59 +0200, Petter Reinholdtsen wrote:
> [Martin-Éric Racine]
>> This patch fixes Lintian: E: init.d-script-should-depend-on-virtual-facility.
>> The main question about deciding whether to apply it or not is, do we want
>> to explicitly depend upon specific services from known packages or not?
>> If we decide that we do, we'd need a Lintian override.
>
> Did you test this change? I suspect it will break the boot system.
It would introduce a cyclic dependency between $remote_fs and
mountnfs-bootclean, and mountnfs-bootclean really ought to be run before
starting other services depending on $remote_fs.
> I am pretty sure the initscripts scripts should not have more
> dependencies on $remote_fs, and that the lintian check do not apply
> here. The init.d scripts in initscripts are the framework for the
> other script to build upon, and the general rules often do not appyl.
Incidentally, /etc/insserv.conf lists mountnfs-bootclean as a dependency
of $remote_fs, but mountall-bootclean is not a dependency of $local_fs.
Should it be?
Cheers,
Sven
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel