hey,

On 30/10/2009 Petter Reinholdtsen wrote:
> [Jonas Meurer]
> > the startpar patch 05_pri_kdm_gdm.patch added in sysvinit 2.87dsf-7
> > seems to introduce a new bug: the display manager (gdm on this
> > machine) now is started before scripts that are marked as
> > interactive.
> 
> Interesting.  Had not thought about that consequence.  Will consider
> to back out this patch until the affected packages are fixed.  Are you
> aware of more than openvpn that need to fix its dependencies?

i didn't discover any other conflict yet, but i think that _all_
interactive boot scripts be it console-setup, cryptdisks, kbd, openvpn
or whatever _need_ to be started before a display manager. and i don't
see a reason why they would need to declare X-Start-Before headers for
every display manager in the archive. instead the X-Interactive header
should be used by mechanisms which sort the initscripts. every
initscript that has the X-Interactive header should be started before a
display manager.

> > in my situation, openvpn is started after gdm. openvpn requests a
> > passphrase in order to unlock a private key. my mailserver (exim4)
> > is started even after openvn. in case that i miss to change back to
> > tty1 and enter the passphrase for openvpn, my mailserver is never
> > started and that way my outgoing mail is not sent.
> 
> If openvpn need to start before gdm, it need to declare this in its
> init.d script header.
> 
> Adding 'X-Start-Before: xdm kdm gdm ldm sdm' to the openvpn init.d
> script header should solve it.

i don't think that it's a bug in openvpn, but rather in the sysvinit/
initscripts/insserv system.

greetings,
 jonas

Attachment: signature.asc
Description: Digital signature

Reply via email to