Package: kexec-tools
Version: 1:2.0.22-2+b1
Followup-For: Bug #992482
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
kexec-tools still tries to use /bin/run-parts whereas run-parts is in /usr/bin
since debianutils 5.x
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 11.0
APT prefers experimental
APT policy: (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.14.0-rc7 (SMP w/4 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages kexec-tools depends on:
ii debconf [debconf-2.0] 1.5.77
ii dpkg 1.20.9
ii libc6 2.31-17
ii lsb-base 11.1.0
kexec-tools recommends no packages.
kexec-tools suggests no packages.
-- Configuration Files:
/etc/init.d/kexec changed:
PATH=/sbin:/bin
. /lib/lsb/init-functions
test -r /etc/default/kexec && . /etc/default/kexec
if [ -d /etc/default/kexec.d ] ; then
for snippet in $(run-parts --list /etc/default/kexec.d) ; do
. "$snippet"
done
fi
do_stop () {
test "x`cat /sys/kernel/kexec_loaded`y" = "x1y" || exit 0
test -x /sbin/kexec || exit 0
log_action_msg "Will now restart with kexec"
# Clear the screen if possible
# printf "\033[;H\033[2J"
/sbin/kexec -e
log_failure_msg "kexec failed"
}
case "$1" in
start)
# No-op
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
# Systemd has its own kexec service (which will call the kexec
# binary), so skip, if running with systemd
if [ ! -d /run/systemd/system ]; then
do_stop
fi
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
exit 0
-- debconf information:
* kexec-tools/load_kexec: true
kexec-tools/use_grub_config: false