Bugzilla – Bug 112707
race between earlykdm and xdm init scripts
Last modified: 2005-09-06 07:29:21 UTC
earlykdm and xdm init scripts can be racy. It might be harmless in practice, but better to use a lock file (e.g. /var/lock/subsys/xdm) ? As another optimization, we can extend startpar to skip the service which has the certain lock in /var/lock/subsys...
Do you have ever seen such a race?
Yes, I saw yesterday the line "starting kdm" twice during boot. No real problem happend, though. The booted services are fairly optimized by myself, so this should happen very unlikely per default installation, I guess.
A simple solution would be to add earlykdm to Should-Start line of the /etc/init.d/xdm.
It would still say "starting kdm" twice during boot.
it's fixed good enough now