Package: dracut Version: 031-2 Severity: normal Hi,
dracut uses a different approach then initramfs-tools and bundles most of its functionality in dracut itself while initramfs-tools moves the logic into the separate packages, like e.g. lvm2 or mdadm. When I install dracut, dracut wants to install such packages (via Recommends) and will then create an initramfs with support for those tools. If I decide to not install e.g. lvm2 when installing dracut, the generated initramfs will not have proper lvm support. And if I later install lvm2, the initramfs is not automatically updated. That's why I suggest to install a dpkg file trigger for /usr/share/initramfs-tools and update the initramfs whenever a package drops a initramfs-tools hook in there. This obviously means, that for more exotic packages, which don't have support in dracut, we will update the initramfs unnecessarily. But imho that is less of an issue then *not* updating the initramfs when an important package like mdadm or lvm2 is installed. Michael -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.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.4dfdaf2b-7 ii libc6 2.17-92 ii module-init-tools 9-3 ii udev 204-2 ii util-linux 2.20.1-5.5 Versions of packages dracut recommends: ii cryptsetup 2:1.6.1-1 pn dmraid <none> ii dmsetup 2:1.02.77-5 pn lvm2 <none> pn mdadm <none> Versions of packages dracut suggests: pn dracut-network <none> -- Configuration Files: /etc/dracut.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

