[Resolvconf-devel] Bug#504409: Bug#504409: resolvconf runs too early in bootsequence - can't mkdir
Peter T. Breuer
ptb at inv.it.uc3m.es
Tue Nov 4 12:53:52 UTC 2008
"Also sprach Petter Reinholdtsen:"
> > Anyway, it runs too early. It was linked in at S07. I moved to S36
> > (after S35mountall). In rcS.d, I mean.
> Please provide the output from 'ls /etc/rcS.d/'. Do you use
% ls /etc/rcS.d
(you forgot to tell me to set my locale to whatever, but I assume you
can cope with this particular alphanumeric ordering ;).
> dependency based boot sequencing?
Que? Como? Was? Huh? Warryouonabaht? My boot sequence runs a typical
unix sysvinit and in consequence it executes the stuff in /etc/rcS.d
in the order you see above! Dependencies on WHAT, do you mean? Would
you like the bit from inittab where it defines the order?
# /etc/init.d executes the S and K scripts upon change
# of runlevel.
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.
# Normally not reached, but fallthrough in case of emergency.
Maybe you are asking if my scripts do some miraculous semi-dynamic
auto-reordering based on some declared dependencies of something on
something. Maybe debian package dependencies. That might be a neat
trick. But I don't know of any such thing being installed.
> If so, what is the output from
Never heard of it, but since you ask:
LSB header missing in /etc/rcS.d/S07linux-restricted-modules-common
LSB header missing in /etc/rcS.d/S08loopback
LSB header missing in /etc/rcS.d/S10udev
Incorrect order checkroot at 20 > /etc/rcS.d/S15module-init-tools15
Incorrect order mdadm at 25 > /etc/rcS.d/S28cryptdisks28
Incorrect order mdadm at 25 > /etc/rcS.d/S31hibernate31
LSB header missing in /etc/rcS.d/S37udev-finish
Incorrect order console-screen at 90 > /etc/rcS.d/S49console-setup49
LSB header missing in /etc/rc2.d/S10powernowd.early
LSB header missing in /etc/rc2.d/S10xserver-xorg-input-wacom
LSB header missing in /etc/rc2.d/S20transproxy
That looks like it may be checking the debian header/comments in some
of these files, and comparing with the symlinks.
Oh .. BTW S08loopback is in the wrong place too. It attempts to do a
mkdir /var/run/network yet runs before /var is mounted too.
I've modded it to not complain but fallback to ifconfig lo 127.0.0.1
silently. If I hadn't done that I would have moved it to S036 too, but
then I'd have had to see what else needed lo and taken that into
account ... so I didn't.
> Happy hacking,
> Petter Reinholdtsen
More information about the Resolvconf-devel