Package: dracut
Version: 034-1
Severity: important

/etc/kernel/postrm.d/dracut does:

if [ -n "$2" ]; then
        if [ -n "${KERNEL_PACKAGE_VERSION}" ]; then
                bootdir=$(dirname "$2")
        fi
fi
# ...
rm -f "$bootdir/initrd.img-${version}"

- It should not test for $KERNEL_PACKAGE_VERSION; if a second
  argument is given then that directory should be used

- bootdir is not being set otherwise; it must be set to /boot by default

Ben.

-- System Inrm -f "$bootdir/initrd.img-${version}"
formation:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dracut depends on:
ii  cpio               2.11+dfsg-1
ii  kbd                1.15.5-1
ii  kpartx             0.4.9+git0.9c3c5172-1
ii  libc6              2.17-93
ii  module-init-tools  9-3
ii  udev               204-5
ii  util-linux         2.20.1-5.5

Versions of packages dracut recommends:
ii  cryptsetup  2:1.6.1-1
ii  dmraid      1.0.0.rc16-4.2
ii  dmsetup     2:1.02.77-6+b1
ii  lvm2        2.02.98-6+b1
ii  mdadm       3.3-2

Versions of packages dracut suggests:
pn  dracut-network  <none>

-- no debconf information


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