Package: kexec-tools
Version: 1:2.0.18-1
Severity: normal

Back in 1:2.0.3-2, kexec-tools began defaulting to not handling reboots
by changing kexec-tools/load_kexec to false. However, the postinst did not
follow suit for the case of a db_get fail, and retains:

db_get kexec-tools/load_kexec || RET=true

Of course, the simple solution is to change this to "RET=false". But,
given that kexec-tools provides this template itself (as opposed to it
querying a template from another package), I don't really know that we
need to handle the db_get fails case. Seems like if it fails, something
is really mucked up, and we could rely on 'set -e' to bail out. That would
have the benefit of not storing the default setting in two places.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.20.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kexec-tools depends on:
ii  debconf [debconf-2.0]  1.5.70
ii  dpkg                   1.19.4
ii  libc6                  2.28-5
ii  lsb-base               10.2018112800
ii  zlib1g                 1:1.2.11.dfsg-1

kexec-tools recommends no packages.

kexec-tools suggests no packages.

-- debconf information excluded

Reply via email to