[Ralph Ulrich]
> if placed a /etc/insserv/overrides/kdm to disable start in runlevel3
> and then making:  "insserv -d kdm"
> or making a:      "insserv -r kdm"
>
> startscipts of runlevel3 are not removed.

Hm.  I am trying to reproduce this in a test case, but am unable to
replicate your problem.  This is the test case I wrote.  Any idea
where I fail to understand the problem you are experiencing?

test_override_remove() {
echo
echo "info: BTS #540866"
echo

initdir_purge

list_rclinks

addscript testscript <<'EOF'
### BEGIN INIT INFO
# Provides:          testscript
# Required-Start:
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
### END INIT INFO
EOF

mkdir -p ${overridedir}/.
# If $local_fs only depend on the mountall script, the test work.
# Only the last script in $local_fs make it to the dependency file.
set +C
cat <<'EOF' > ${overridedir}/testscript
### BEGIN INIT INFO
# Provides:          testscript
# Required-Start:
# Required-Stop:
# Default-Start:     2 4 5
# Default-Stop:      0 1 6
### END INIT INFO
EOF
set -C
insserv_reg testscript
insserv_del testscript

list_rclinks

}



-- 
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