Petter> I would expect some script having X-Start-Before (reverse
Petter> dependency) on xdm.  There is no special handling of xdm in
Petter> insserv.

I looked at the graph, and also at the insserv source code.  I didn't
find any more dependencies involving xdm than the ones we already knew
about.  I think the behavior is a consequence of this:

/*
 * Put not existing services into a guessed order.
 * The maximal order of not existing services can be
 * set if they are required by existing services.
 */

in listing.c, plus the fact that I don't have any of the Should-Start
services installed.  I can't say for sure because I don't really
understand the code, in fact it makes me cry. :-(

However, further indirect evidence for this hypothesis is that xdm ends
up sequenced the same even if I remove the 3 scripts immediately before
it (cron, fetchamil, and mpd), leaving a hole in the sequence numbers.
(Yes, I took care to first do insserv -f -r xdm, then insserv xdm.)

I must also admit that I misunderstood how the parallelized /etc/rc
works.  I thought the symlink farm and the numbers still determined the
scheduling; now I see all that is ignored and only the .depend.* files
are relevant (and indeed xdm starts as early as the dependencies allow).

So, probably demote this bug to minor, mostly targeting documentation so
as to avoid the same confusion in other curious people.

BTW - why keep the symlink farm around at all when it is not used?  

-- 
Ian Zimmerman <i...@buug.org>
gpg public key: 1024D/C6FF61AD 
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Ham is for reading, not for eating.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to