Package: kexec-tools
Version: 1:2.0.7-5
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

When the "Should kexec-tools handle reboots" option is accepted, it is
not possible to remove "kexec-tools" package, since it executes "
invoke-rc.d kexec stop" as a prerm task, which is actually used for
rebooting the machine with kexec.

Commenting out the involved lines in the prerm script allows removal
of the package successfully.

$ cat /var/lib/dpkg/info/kexec-tools.prerm
#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/kexec-load" ] && [ "$1" = remove ]; then
        invoke-rc.d kexec-load stop || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ -x "/etc/init.d/kexec" ] && [ "$1" = remove ]; then
        invoke-rc.d kexec stop || exit $?
fi
# End automatically added section




-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-15

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf information:
* kexec-tools/load_kexec: true
  kexec-tools/use_grub_config: false


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to