Package: initramfs-tools Version: 0.127 Severity: minor Although minor, it's pretty ugly to look at first thing when booting; see attached screenshot.
After using the debian installer's guided LUKS+LVM option, the LVM volumes are inside a LUKS container which must be unlocked with a passphrase before any of them are visible. Everything works fine, except that for some reason the initramfs tries to bring up LVM, and even looks for the hidden volume group by name, before asking for the passphrase. After that fails, it asks for the passphrase, and then seems to start LVM again, which succeeds and boot proceeds successfully. It would be better if initramfs were aware that this volume group depends on a certain crypttab entry, and didn't try to bring the former up before unlocking the latter. This way, the first thing seen at boot would be the passphrase prompt. -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 20M Mar 28 17:34 /boot/initrd.img-4.9.0-1-amd64 -- /proc/cmdline BOOT_IMAGE=/vmlinuz-4.9.0-1-amd64 root=/dev/mapper/stretch--vg-root ro quiet -- resume RESUME=/dev/mapper/stretch--vg-swap_1 -- /proc/filesystems ext3 ext2 ext4 -- lsmod Module Size Used by uinput 20480 0 snd_hda_codec_generic 69632 1 ppdev 20480 0 qxl 69632 4 snd_hda_intel 36864 3 ttm 98304 1 qxl snd_hda_codec 135168 2 snd_hda_intel,snd_hda_codec_generic drm_kms_helper 155648 1 qxl snd_hda_core 81920 3 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic snd_hwdep 16384 1 snd_hda_codec drm 360448 7 qxl,ttm,drm_kms_helper snd_pcm 110592 3 snd_hda_intel,snd_hda_codec,snd_hda_core pcspkr 16384 0 joydev 20480 0 snd_timer 32768 1 snd_pcm evdev 24576 6 virtio_balloon 16384 0 virtio_console 24576 0 snd 86016 12 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_pcm serio_raw 16384 0 soundcore 16384 1 snd sg 32768 0 parport_pc 28672 0 parport 49152 2 parport_pc,ppdev acpi_cpufreq 20480 0 tpm_tis 16384 0 tpm_tis_core 20480 1 tpm_tis tpm 45056 2 tpm_tis,tpm_tis_core button 16384 0 ip_tables 24576 0 x_tables 36864 1 ip_tables autofs4 40960 2 ext4 585728 2 crc16 16384 1 ext4 jbd2 106496 1 ext4 crc32c_generic 16384 0 fscrypto 28672 1 ext4 ecb 16384 0 mbcache 16384 3 ext4 algif_skcipher 20480 0 af_alg 16384 1 algif_skcipher hid_generic 16384 0 usbhid 53248 0 hid 122880 2 hid_generic,usbhid dm_crypt 24576 1 dm_mod 118784 9 dm_crypt sr_mod 24576 0 cdrom 61440 1 sr_mod ata_generic 16384 0 virtio_net 28672 0 virtio_blk 20480 3 crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 crc32c_intel 24576 2 ghash_clmulni_intel 16384 0 aesni_intel 167936 3 aes_x86_64 20480 1 aesni_intel lrw 16384 1 aesni_intel gf128mul 16384 1 lrw glue_helper 16384 1 aesni_intel ablk_helper 16384 1 aesni_intel cryptd 24576 4 ablk_helper,ghash_clmulni_intel,aesni_intel psmouse 135168 0 ata_piix 36864 0 libata 249856 2 ata_piix,ata_generic floppy 69632 0 uhci_hcd 45056 0 ehci_pci 16384 0 ehci_hcd 81920 1 ehci_pci scsi_mod 225280 3 libata,sr_mod,sg usbcore 249856 4 usbhid,ehci_hcd,uhci_hcd,ehci_pci i2c_piix4 24576 0 virtio_pci 24576 0 virtio_ring 24576 5 virtio_blk,virtio_net,virtio_balloon,virtio_console,virtio_pci usb_common 16384 1 usbcore virtio 16384 5 virtio_blk,virtio_net,virtio_balloon,virtio_console,virtio_pci -- /etc/initramfs-tools/modules -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes do_bootloader = no do_initrd = yes link_in_boot = no -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=auto KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /etc/crypttab vda5_crypt UUID=f96f4a3e-07a8-4aa4-8123-d83ba6c24f53 none luks -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: cryptgnupg cryptkeyctl cryptopenct cryptopensc cryptpassdev cryptroot cryptroot-unlock dmsetup fsck fuse keymap klibc-utils kmod lvm2 ntfs_3g resume thermal udev zz-busybox -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-1-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: systemd (via /run/systemd/system) Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.127 ii linux-base 4.5 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: ii bash-completion 1:2.1-4.3 -- no debconf information