Bug#554831: introduce virtual facility x-display-manager for dependency based boot system

View: New views
3 Messages — Rating Filter:   Alert me  

Bug#554831: introduce virtual facility x-display-manager for dependency based boot system

by Jonas Meurer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: kdm
Severity: normal
User: initscripts-ng-devel@...
Usertags: missing-provides

hello,

as discussed in bug #553338, it would be useful to have a virtual
facility for display mangers in order to use it in LSB headers of
initscripts.

see http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities for
more information.

all packages that provide a display manager, to my knowledge gdm, kdm,
ldm, nodm, sdm, wdm and xdm, need to provide a file at
/etc/insserv.conf.d/<package> with the following content:

$x-display-manager <service_name>

for your particular package (kdm) this would be:

$x-display-manager kdm

in /etc/insserv.conf.d/kdm

greetings,
 jonas


signature.asc (501 bytes) Download Attachment

Bug#554831: introduce virtual facility x-display-manager for dependency based boot system

by Sune Vuorela-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 06 November 2009 22:10:41 Jonas Meurer wrote:

> Package: kdm
> Severity: normal
> User: initscripts-ng-devel@...
> Usertags: missing-provides
>
> hello,
>
> as discussed in bug #553338, it would be useful to have a virtual
> facility for display mangers in order to use it in LSB headers of
> initscripts.
>
> see http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities for
> more information.
>
> all packages that provide a display manager, to my knowledge gdm, kdm,
> ldm, nodm, sdm, wdm and xdm, need to provide a file at
> /etc/insserv.conf.d/<package> with the following content:
>
> $x-display-manager <service_name>
>
> for your particular package (kdm) this would be:
>
> $x-display-manager kdm
>
> in /etc/insserv.conf.d/kdm
A bit ago, all display managers were providing x-display-manager in their lsb
headers in the initscripts. We were asked to remove that, as insserv was
unable to handle multiple scripts providing the same service.

Why not fix that insserv stupidity instead of add further hacks on top ?

And is there a helper script to install insserv.conf.d things?

/Sune
--
How could I install a URL?

First you must send a computer, so that from the control tools inside Windows
you should never overclock a attachment for booting the 3X SIMM of the window
over a forward on the parallel CD connection to the LCD driver.


signature.asc (205 bytes) Download Attachment

Bug#554831: introduce virtual facility x-display-manager for dependency based boot system

by Jonas Meurer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hey sune,

On 06/11/2009 Sune Vuorela wrote:
> A bit ago, all display managers were providing x-display-manager in their lsb
> headers in the initscripts. We were asked to remove that, as insserv was
> unable to handle multiple scripts providing the same service.

that sounds weird. i thought that this was the sole purpose of virtual
facilities - to support several initscripts all providing similar
services. ah, but wait. there seems to be a difference between providing
a service inside the lsb headers and adding a virtual facility. see
http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities for
details.

> Why not fix that insserv stupidity instead of add further hacks on top ?

in my eyes the proper fix in insserv would be to make all X-Interactive
scripts start before the ones that provide x-display-manager, but as
long as openvpn is the only initscript that is concerned, i'm fine with
a X-Should-Start in the openvpn initscript as well. nevertheless, the
x-display-manager virtual facility is required.

> And is there a helper script to install insserv.conf.d things?

i don't know about one.

greetings,
 jonas


signature.asc (501 bytes) Download Attachment