[Pkg-utopia-maintainers] Bug#539753: Bug#539753: network-manager: Init script provides wrong name for sequence based boot

Andreas Tille tillea at rki.de
Tue Aug 4 06:28:26 UTC 2009


On Mon, 3 Aug 2009, Michael Biebl wrote:

> This statement is not correct. In the LSB header you can declare a Provides:
> that does not need to match the name of the init script file.
>
> If at all, this "requirement" could be said to be a best practice (which we then
> should document).

I mailed about this issue with Petter Reinholdtsen:

----------------------------------------------------------------------------------
Date: Mon, 3 Aug 2009 16:27:05 +0200
From: Petter Reinholdtsen <pere at hungry.com>
To: Andreas Tille <tillea at rki.de>
Subject: Re: [Pkg-utopia-maintainers] Bug#539753: network-manager: Init script
     provides wrong name for sequence based boot (fwd)

[Andreas Tille]
> Ditto

I modified <URL:http://wiki.debian.org/LSBInitScripts> to make it more
clear what to put in the provides header.  Does it help?

Michael is right that this is best practice and not technically
required for dependency based boot sequencing to work.  The reason is
that it is more predicable and easier to understand if the provide and
the script name uses the same name space.
----------------------------------------------------------------------------------

>> gdm is refering to the network-manager and thus fails to load right
>> in time because it is not running.
>
> Given the above, the gdm init script could be changed to have a
> Should-Start: NetworkManager
>
> which would have the same effect.

I agree that this would have the same effect but I guess there are more
packages than gdm which would need to be changed that way and the Wiki
page above seems to be clear about the best practices - so people who are
aware of this page might have done accordingly.

> I don't know if there are other packages which already depend on the
> NetworkManager facility name and would be broken by this change and if it is
> safer to change the gdm init script instead.

I have not checked this nor am I able to spend more time into this.

Kind regards

        Andreas.

-- 
http://fam-tille.de





More information about the Pkg-utopia-maintainers mailing list