Package: initramfs-tools Version: 0.118 Severity: wishlist Dracut, which provides linux-initramfs-tool and is thus an alternative to initramfs-tools, supports restoring the initrd on shutdown and pivoting into it: https://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html#_dracut_on_shutdown
One example where this is needed is a ZFS root filesystem: A clean shutdown requires unmounting the root filesystem and exporting the ZFS storage pool containing that filesystem. Dracut modules may contain shutdown scripts which are called after the system has pivoted to the initrd. In the case of ZFS, the shutdown script looks like this: https://github.com/zfsonlinux/zfs/blob/master/dracut/90zfs/export-zfs.sh.in This is not specific to ZFS but affects anyone having the root filesystem on an LVM. Currently, dracut is the only option for these folks. It would be nice if initramfs-tools supported a shutdown procedure akin to dracut to give people a choice. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org