Re: The debian boot dependency graph image
[Francesco Pedrini]
> I've tried, but it doesn't work:
You need to use insserv version 1.08.0-3 or later. Sorry for
forgetting to mention that.
> mind@Tarja:~$ sudo /usr/share/insserv/check-initd-order -g -o
>>lsb-graph.dot
There is no need to run it as root, I believe. It only need to read
the init.d scripts, and those are readable by all.
> Unknown option: o
> Unable to properly handle multiple provides: mountdevsubfs mountvirtfs
> LSB header missing in /etc/rcS.d/S25libdevmapper1.02
> Use of uninitialized value in split
> at /usr/share/insserv/check-initd-order line 69.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 84.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 93.
> LSB header missing in /etc/rcS.d/S70screen-cleanup
> LSB header missing in /etc/rcS.d/S75schroot
> LSB header missing in /etc/rcS.d/S80installation-report
> LSB header missing in /etc/rc2.d/S19spamassassin
> LSB header missing in /etc/rc2.d/S20apt-index-watcher
> Use of uninitialized value in split
> at /usr/share/insserv/check-initd-order line 69.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 84.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 84.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 93.
> Use of uninitialized value in split
> at /usr/share/insserv/check-initd-order line 69.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 84.
> Use of uninitialized value in concatenation (.) or string
> at /usr/share/insserv/check-initd-order line 93.
> LSB header missing in /etc/rc2.d/S20ddclient
The warnings are mostly fixed in the later version of the script. The
missing LSB headers are real problems with the packages including the
scripts. This is the output when I run the svn version on my sid chroot:
% ./debian/check-initd-order -o -g > /dev/null
LSB header missing in /etc/rcS.d/S18hwclockfirst.sh
LSB header missing in /etc/rcS.d/S18ifupdown-clean
LSB header missing in /etc/rcS.d/S20modutils
LSB header missing in /etc/rcS.d/S22hwclock.sh
LSB header missing in /etc/rcS.d/S25libdevmapper1.01
LSB header missing in /etc/rcS.d/S25libdevmapper1.02
LSB header missing in /etc/rcS.d/S26lvm
LSB header missing in /etc/rcS.d/S31hibernate
error: File ../init.d/pppd-dns is missing the provides header
LSB header missing in /etc/rcS.d/S39ifupdown
LSB header missing in /etc/rcS.d/S70nviboot
LSB header missing in /etc/rcS.d/S71xserver-xorg
LSB header missing in /etc/rc2.d/S01acct
LSB header missing in /etc/rc2.d/S01atftpd
LSB header missing in /etc/rc2.d/S01binfmt-support
LSB header missing in /etc/rc2.d/S01openbsd-inetd
LSB header missing in /etc/rc2.d/S01snmpd
LSB header missing in /etc/rc2.d/S01uml-utilities
LSB header missing in /etc/rc2.d/S01vbesave
LSB header missing in /etc/rc2.d/S02hwclock.sh
LSB header missing in /etc/rc2.d/S02nviboot
LSB header missing in /etc/rc2.d/S02snmptrapfmt
LSB header missing in /etc/rc2.d/S02xserver-xorg
LSB header missing in /etc/rc2.d/S03lvm
LSB header missing in /etc/rc2.d/S04acpi-support
LSB header missing in /etc/rc2.d/S04libnss-ldap
LSB header missing in /etc/rc2.d/S05modutils
LSB header missing in /etc/rc2.d/S06libdevmapper1.01
LSB header missing in /etc/rc2.d/S08sysklogd
LSB header missing in /etc/rc2.d/S09acpid
LSB header missing in /etc/rc2.d/S09anacron
LSB header missing in /etc/rc2.d/S09apmd
LSB header missing in /etc/rc2.d/S09cupsys
LSB header missing in /etc/rc2.d/S09dbus-1
Unable to properly handle multiple provides: exim4 mail-transport-agent
LSB header missing in /etc/rc2.d/S09klogd
LSB header missing in /etc/rc2.d/S09nullmailer
LSB header missing in /etc/rc2.d/S09rsync
LSB header missing in /etc/rc2.d/S09ssh
LSB header missing in /etc/rc2.d/S10apt-index-watcher
Unable to properly handle multiple provides: x-display-manager kdm
%
Still some work left before the dependencies are documented and
correct. :)
> Unable to read /etc/rc2.d/S20inetd
> at /usr/share/insserv/check-initd-order line 180.
You seem to have a dangling pointer, /etc/rc2.d/S20inetd. The script
can't handle those. I'll modify it to make sure that isn't a fatal
problem in the next release of insserv.
> i get the same error even without -o option...
>
> i've tested it on PPC, the insserv version is 1.08.0-1
Thanks for testing.
Friendly,
--
Petter Reinholdtsen
Reply to: