[Pkg-sysvinit-devel] Bug#553338: sysvinit: display manager started before interactive initscripts

Petter Reinholdtsen pere at hungry.com
Fri Oct 30 14:35:38 UTC 2009


reassign 553338 openvpn
retitle 553338 openvpn need to start before the display managers
thanks

[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?

> 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.

The concurrent booting require all dependencies to be correct, and we
are not quite there yet.  This is the reason concurrent booting is not
enabled by default.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list