[pkg-cryptsetup-devel] Bug#774700: initramfs-tools: Cryptsetup tools are included by update-initramfs command
Michael P.
aleph-g+deb at parienti.net
Thu Jan 8 16:12:21 UTC 2015
Package: initramfs-tools
Version: 0.118
Severity: grave
Justification: renders package unusable
The update-initramfs command create a initrd.img without cryptsetup
tools, but my root partition is crypted.
I tried to debug a little the
/usr/share/initramfs-tools/hooks/cryptroot file and found that the
add_device() function returned an empty string, when passing
/faith--vg-root as first argument.
I am on a new machine. Everything was fine after a fresh install from
jessie beta 2 installer. But after an update, the machine didn't
reboot anymore: grub halted after "Waiting for root device".
Then I booted in rescue mode, and compare the initrd.img of the bugged
machine with the one from another machine installed the same way and
working well.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 15M Jan 5 21:08 /boot/initrd.img-3.16-2-amd64
-rw-r--r-- 1 root root 15M Jan 5 22:49 /boot/initrd.img-3.16.0-4-amd64
-- /proc/cmdline
BOOT_IMAGE=/install.amd/vmlinuz vga=788 initrd=/install.amd/initrd.gz rescue/enable=true -- quiet
-- resume
RESUME=/dev/mapper/faith--vg-swap_1
-- /proc/filesystems
iso9660
btrfs
ext3
ext2
ext4
jfs
xfs
vfat
-- lsmod
Module Size Used by
xts 12679 1
gf128mul 12970 1 xts
dm_crypt 22595 1
dm_mod 89373 8 dm_crypt
raid456 77514 0
async_raid6_recov 16626 1 raid456
async_memcpy 12394 2 raid456,async_raid6_recov
async_pq 12561 2 raid456,async_raid6_recov
async_xor 12429 3 async_pq,raid456,async_raid6_recov
async_tx 12566 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
raid1 34596 0
raid0 17001 0
md_mod 107672 3 raid456,raid0,raid1
vfat 17135 0
fat 61986 1 vfat
xfs 779874 0
libcrc32c 12426 1 xfs
jfs 172859 0
ext4 469572 2
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 82413 1 ext4
crc32c_generic 12656 2
btrfs 859433 0
xor 21040 2 btrfs,async_xor
raid6_pq 95238 3 async_pq,btrfs,async_raid6_recov
ax88179_178a 17852 0
usbnet 30844 1 ax88179_178a
mii 12675 2 usbnet,ax88179_178a
iwlwifi 92451 0
cfg80211 405538 1 iwlwifi
rfkill 18867 1 cfg80211
nls_utf8 12456 1
isofs 38965 1
hid_multitouch 17057 0
usbhid 44467 0
hid 102264 2 hid_multitouch,usbhid
vga16fb 21211 0
vgastate 16521 1 vga16fb
usb_storage 56215 1
sg 29973 0
sd_mod 44356 5
crc_t10dif 12431 1 sd_mod
crct10dif_common 12356 1 crc_t10dif
ehci_pci 12512 0
ahci 29195 2
libahci 27158 1 ahci
ehci_hcd 69837 1 ehci_pci
libata 177457 2 ahci,libahci
xhci_hcd 148941 0
scsi_mod 191405 4 sg,usb_storage,libata,sd_mod
usbcore 195340 7 usb_storage,ehci_hcd,ehci_pci,usbhid,usbnet,ax88179_178a,xhci_hcd
usb_common 12440 1 usbcore
thermal 17559 0
thermal_sys 27642 1 thermal
sdhci_acpi 12810 0
sdhci 35153 1 sdhci_acpi
mmc_core 102374 2 sdhci,sdhci_acpi
-- /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=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
sda5_crypt UUID=45ba5770-fc21-4316-b150-5495a6166b7b none luks
-- /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
cryptgnupg
cryptkeyctl
cryptopenct
cryptopensc
cryptpassdev
cryptroot
cryptroot~
dmsetup
fsck
fuse
keymap
klibc
kmod
log
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.22.0-14
ii cpio 2.11+dfsg-4
ii klibc-utils 2.0.4-2
ii kmod 18-3
ii udev 215-8
ii util-linux 2.25.2-4
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-14
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4
-- no debconf information
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST at lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org
Archive: https://lists.debian.org/20150106134011.7919.92953.reportbug@debian
More information about the pkg-cryptsetup-devel
mailing list