[Petter Reinholdtsen]
> So, if I get this correct, you are saying that the dependencies
> stored in .depend.boot fail to take into account the dependency from
> $remote_fs to $local_fs?  Can you provide a test suite check
> reproducing this?

I tried to reproduce it using this test suite fragment, but fail to
see the problem.  I guess I do not understand it yet.

Index: debian/run-testsuite
===================================================================
--- debian/run-testsuite        (revision 895)
+++ debian/run-testsuite        (working copy)
@@ -1854,7 +1854,73 @@
 }
 ##########################################################################
 
+test_insserv_conf_makefile() {
+
+echo
+echo "info: test how recursive  /etc/insserv.conf settings show up"
+echo "info: in .depend.start"
+echo
+
+initdir_purge
+
+list_rclinks
+
+set +C
+cat <<'EOF' > $insconf
+$local_fs       +first
+$remote_fs      $local_fs +second
+EOF
+set -C
+
+insertscript first <<'EOF'
+### BEGIN INIT INFO
+# Provides:          first
+# Required-Start:
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:      0 6
+### END INIT INFO
+EOF
+
+insertscript second <<'EOF'
+### BEGIN INIT INFO
+# Provides:          second
+# Required-Start:    first
+# Required-Stop:     first
+# Default-Start:     S
+# Default-Stop:      0 6
+### END INIT INFO
+EOF
+
+insertscript third <<'EOF'
+### BEGIN INIT INFO
+# Provides:          third
+# Required-Start:    $local_fs
+# Required-Stop:     $local_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+### END INIT INFO
+EOF
+
+insertscript last <<'EOF'
+### BEGIN INIT INFO
+# Provides:          last
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Default-Start:     S
+# Default-Stop:      0 6
+### END INIT INFO
+EOF
+
+list_rclinks
+
+echo
+cat ${initddir}/.depend.boot
+
 update_conf
+}
+##########################################################################
+
 test_normal_sequence
 test_override_files
 test_override_loop
@@ -1889,3 +1955,4 @@
 test_early_all
 test_script_in_runlevel
 test_x_interactive
+test_insserv_conf_makefile


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to