Raphael provided this test case demonstrating the problem via IRC.
I've commited it to svn.
test_insserv_conf_makefile() {
echo
echo "info: test how recursive /etc/insserv.conf settings show up"
echo "info: in .depend.start. BTS #534526."
echo
initdir_purge
list_rclinks
set +C
cat <<'EOF' > $insconf
$local_fs +mountall +mountoverflowtmp +umountfs
$remote_fs $local_fs +mountnfs
EOF
set -C
insertscript mountall <<'EOF'
### BEGIN INIT INFO
# Provides: mountall
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
insertscript mountnfs <<'EOF'
### BEGIN INIT INFO
# Provides: mountnfs
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
insertscript dbus <<'EOF'
### BEGIN INIT INFO
# Provides: dbus
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
insertscript hal <<'EOF'
### BEGIN INIT INFO
# Provides: hal
# Required-Start: $remote_fs dbus
# Required-Stop:
# Default-Start: S
# Default-Stop: 0 6
### END INIT INFO
EOF
list_rclinks
if ! grep -q "^hal: dbus mountall" ${initddir}/.depend.boot ; then
error "hal should depend on dbus, mountall and mountnfs in .depend.boot:"
grep "^hal: " ${initddir}/.depend.boot | sed 's/^/ /'
fi
update_conf
}
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]