[Pkg-utopia-maintainers] Bug#459480: Bug#459480: network-manager: Problem with LSB header in init.d script
Michael Biebl
biebl at debian.org
Mon Jan 7 01:08:37 UTC 2008
Michael Biebl wrote:
> Hi Petter!
>
> Petter Reinholdtsen wrote:
>> ### BEGIN INIT INFO
>> # Provides: NetworkManagerDispatcher
>> -# Required-Start: $local_fs
>> -# Required-Stop: $local_fs
>> +# Required-Start: $remote_fs
>> +# Required-Stop: $remote_fs
>
> I'm wondering if this should be
> Required-Start: $local_fs $remote_fs
> or only
> Required-Start: $remote_fs
>
> The documentation at http://wiki.debian.org/LSBInitScripts is not clear
> about that, but there seem to be a lot of init scripts in /etc/init.d
> which use "$local_fs $remote_fs" contrary to your proposed "$remote_fs".
Sorry, I must have been blind :-P
The wiki actually explains that $remote_fs implies $local_fs so
specifying is not necessary. As a lot of people will copy&paste existing
solutions though, maybe it would be a good idea to fix the existing init
scripts with "$local_fs $remote_fs".
Do you think it would be possible to write a lintian test which covers
such common errors.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080107/85ca9795/attachment.pgp
More information about the Pkg-utopia-maintainers
mailing list