TEST-13-ENC-RAID-LVM fails with 256~rc3-5ubuntu1

Bug #2069290 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dracut
New
Unknown
dracut (Ubuntu)
Fix Released
Undecided
Unassigned
systemd (Ubuntu)
New
Undecided
Unassigned

Bug Description

TEST-13-ENC-RAID-LVM from dracut 102-3ubuntu1 fails with systemd 256~rc3-5ubuntu1:

```
dracut[I]: Executing: /usr/bin/dracut --kernel-cmdline "panic=1 oops=panic softlockup_panic=1 systemd.crash_reboot quiet rd.retry=10 rd.info rd.shell=0 selinux=0 console=ttyS0,115200n81 " --local --no-hostonly --no-hostonly-cmdline --no-early-microcode --add test --force --kver 6.8.0-31-generic -i ./cryptroot-ask.sh /sbin/cryptroot-ask -i /tmp/crypttab /etc/crypttab -i /tmp/key /etc/key /tmp/autopkgtest.qrz2pl/autopkgtest_tmp/dracut-test.jMkBhK/initramfs.testing
dracut[E]: Module 'systemd-pcrphase' depends on 'tpm2-tss', which can't be installed
```

The 91tpm2-tss module fails to setup, because it "require_binaries tpm2" but the tpm2-tools package (shipping /usr/bin/tpm2) is not installed. systemd neither depends, recommends, or suggests tpm2-tools.

Note: The next dracut upload will include the autopkgtest changes to show those failure logs.

Benjamin Drung (bdrung)
description: updated
Benjamin Drung (bdrung)
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :
Download full text (4.8 KiB)

Adding tpm2-tools to the autopkgtest dependencies is not enough. It fails then with:

```
CLIENT TEST START: Any LUKS
run-qemu: /usr/bin/qemu-system-x86_64 '-cpu' 'IvyBridge-v2' '-M' 'q35' '-smp' '2' '-m' '1024' '-nodefaults' '-vga' 'none' '-display' 'none' '-no-reboot' '-device' 'i6300esb' '-watchdog-action' 'poweroff' '-device' 'virtio-rng-pci' '-serial' 'stdio' '-kernel' '/boot/vmlinuz-6.8.0-31-generic' '-device' 'virtio-scsi-pci,id=scsi0' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/marker.img,id=drive-data0' '-device' 'scsi-hd,bus=scsi0.0,drive=drive-data0,id=data0,serial=marker' '-device' 'virtio-scsi-pci,id=scsi1' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-1.img,id=drive-data1' '-device' 'scsi-hd,bus=scsi1.0,drive=drive-data1,id=data1,serial=disk1' '-device' 'virtio-scsi-pci,id=scsi2' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-2.img,id=drive-data2' '-device' 'scsi-hd,bus=scsi2.0,drive=drive-data2,id=data2,serial=disk2' '-device' 'virtio-scsi-pci,id=scsi3' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-3.img,id=drive-data3' '-device' 'scsi-hd,bus=scsi3.0,drive=drive-data3,id=data3,serial=disk3' '-append' 'root=/dev/dracut/root rw rd.auto rd.retry=20' '-initrd' '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/initramfs.testing'
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EDX.spec-ctrl [bit 26]
TEST: root filesystem on LVM on encrypted partitions of a RAID-5  [FAILED] 
tail: cannot open '/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba/TEST-13-ENC-RAID-LVM/server.log' for reading: No such file or directory
==> /tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.5QdgWqOeba/TEST-13-ENC-RAID-LVM/test.log <==
[...]
CLIENT TEST START: Any LUKS
run-qemu: /usr/bin/qemu-system-x86_64 '-cpu' 'IvyBridge-v2' '-M' 'q35' '-smp' '2' '-m' '1024' '-nodefaults' '-vga' 'none' '-display' 'none' '-no-reboot' '-device' 'i6300esb' '-watchdog-action' 'poweroff' '-device' 'virtio-rng-pci' '-serial' 'stdio' '-kernel' '/boot/vmlinuz-6.8.0-31-generic' '-device' 'virtio-scsi-pci,id=scsi0' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/marker.img,id=drive-data0' '-device' 'scsi-hd,bus=scsi0.0,drive=drive-data0,id=data0,serial=marker' '-device' 'virtio-scsi-pci,id=scsi1' '-drive' 'if=none,format=raw,file=/tmp/autopkgtest.K7X3aG/autopkgtest_tmp/dracut-test.0XmPM3/disk-1.img,id=drive-data1' '-device' 'scsi-hd,bus=scsi1.0,drive=drive-data1,id=data1,seri...

Read more...

affects: systemd → dracut
Changed in dracut:
status: Unknown → New
Revision history for this message
Benjamin Drung (bdrung) wrote :

Same failure with systemd/256-1ubuntu1.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dracut - 102-3ubuntu2

---------------
dracut (102-3ubuntu2) oracular; urgency=medium

  * dracut: use await variant of update-initramfs trigger
  * fix(shell-completion): remove hashbang from bash completions
  * drop udevsettle patch (these kind of patches should be applied upstream)
  * drop nm-path patch (network-manager ships the helpers in /usr/libexec)
  * drop 90overlay-root in favor of 90overlayfs (Closes: #1017039)
  * run autopkgtest with V=2
  * autopkgtest: depend on tpm2-tools for systemd-pcrphase (LP: #2069290)
  * run autopkgtest on all architectures
  * autopkgtest: disable using KVM for ppc64el

 -- Benjamin Drung <email address hidden> Fri, 14 Jun 2024 01:57:17 +0200

Changed in dracut (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.