Your message dated Thu, 11 May 2023 17:42:35 +0200
with message-id <20230511154235.x7ioftoblgf2p...@shell.thinkmo.de>
and subject line Re: Bug#1018730: lvm2: Initramfs does not activate root LVs if
VG is incomplete since 2.03.15 or 2.03.16, boot failure
has caused the Debian Bug report #1018730,
regarding initramfs-tools: After bullseye -> bookworm upgrade boot stuck in the
initramfs shell
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1018730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018730
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.142
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc:pasztor.ja...@it.ppke.hu
Dear Maintainer
* What led up to the situation?
I have upgraded my desktop machine (which is an old install, started with
stretch ) from bullseye to bookworm
* What was the outcome of this action?
The boot process halts in the initramfs shell and I have to issue 'vgchange
-ay' manually in order to continue.
After that it asks for the LUKS password again for the second disk in the
machine (both disks are having the same LUKS pw)
* What outcome did you expect instead?
Machine boots properly and asks only once for the LUKS pw during boot (as it
has done it during bullseye)
* Workaround
I have installed the following hook to the initramfs generator in order to have
a proper boot (pw asked twice still)
-------------------------8<----------------BEGIN------------------->8-----------
root@asgard ~ # more /etc/initramfs-tools/hooks/crypttab-fix.sh
#!/bin/sh
cp /etc/crypttab "${DESTDIR}/cryptroot/crypttab"
exit 0
-------------------------8<------------------END------------------->8-----------
* disk setup (nvme0n1 and sda are relevant)
-------------------------8<----------------BEGIN------------------->8-----------
root@asgard ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 3.6T 0 disk
└─sda1 8:1 0 3.6T 0 part
└─4Tsolid 254:3 0 3.6T 0 crypt
└─asgardfs-home 254:4 0 3.3T 0 lvm /home/pasja/solid
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 16M 0 part
└─sdb2 8:18 0 904.2G 0 part
sdc 8:32 0 119.2G 0 disk
├─sdc1 8:33 0 16M 0 part
├─sdc2 8:34 0 113.7G 0 part
├─sdc3 8:35 0 100M 0 part
└─sdc4 8:36 0 1M 0 part
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 550M 0 part /boot/efi
├─nvme0n1p2 259:2 0 2G 0 part /boot
└─nvme0n1p3 259:3 0 829G 0 part
└─1Tnvme 254:0 0 829G 0 crypt
├─asgardfs-root 254:1 0 504.7G 0 lvm /gnu/store
│ /
└─asgardfs-swap 254:2 0 952M 0 lvm [SWAP]
-------------------------8<------------------END------------------->8-----------
* fstab
-------------------------8<----------------BEGIN------------------->8-----------
root@asgard ~ # more /etc/fstab
/dev/mapper/asgardfs-root / xfs defaults 0 1
UUID=6b9e331f-9f78-42fa-99af-04e587e3bf6d /boot xfs defaults
0 2
/dev/mapper/asgardfs-home /home/pasja/solid xfs defaults 0
2
/dev/mapper/asgardfs-swap none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
UUID=FAA7-BDB0 /boot/efi vfat defaults 0 2
-------------------------8<------------------END------------------->8-----------
* logs and other remarks
Please find attached an initramfs.debug log from my last boot attempt. I also
have the output of 'journalctl -b'. Please let me know if that would help the
investigation.
I have diff-ed both systemd (bullseye backports) and initramfs-tools (bullseye)
to bookworm, but I have not spotted anything relevant which could explain this
regression.
Will try to reproduce it in a vm in order to have an environment where I can
investigate it easier.
Any pointers / questions would be appreciated here.
Regards,
János Pásztor
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 75M Apr 25 18:55 /boot/initrd.img-6.1.0-7-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-6.1.0-7-amd64 root=/dev/mapper/asgardfs-root ro debug
-- resume
RESUME=/dev/mapper/asgardfs-swap
-- /proc/filesystems
xfs
fuseblk
vfat
-- lsmod
Module Size Used by
rfcomm 94208 16
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 90112 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
cfg80211 1134592 0
cmac 16384 2
8021q 40960 0
algif_hash 16384 1
garp 16384 1 8021q
algif_skcipher 16384 1
stp 16384 1 garp
af_alg 36864 6 algif_hash,algif_skcipher
mrp 20480 1 8021q
bnep 28672 2
llc 16384 2 stp,garp
binfmt_misc 24576 1
nls_ascii 16384 1
nls_cp437 20480 1
vfat 24576 1
fat 90112 1 vfat
btusb 69632 0
snd_hda_codec_realtek 172032 1
btrtl 28672 1 btusb
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
btbcm 24576 1 btusb
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 81920 1
btintel 45056 1 btusb
intel_rapl_msr 20480 0
snd_hda_intel 57344 4
btmtk 16384 1 btusb
intel_rapl_common 32768 1 intel_rapl_msr
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
bluetooth 950272 46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
snd_hda_codec 184320 4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
jitterentropy_rng 16384 1
edac_mce_amd 40960 0
snd_hda_core 122880 5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
drbg 45056 1
kvm_amd 155648 0
snd_hwdep 16384 1 snd_hda_codec
ansi_cprng 16384 0
snd_pcm 159744 5
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
kvm 1142784 1 kvm_amd
ecdh_generic 16384 1 bluetooth
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
rfkill 36864 5 bluetooth,cfg80211
irqbypass 16384 1 kvm
sp5100_tco 20480 0
ccp 118784 1 kvm_amd
snd 126976 19
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
ecc 40960 1 ecdh_generic
rapl 20480 0
gigabyte_wmi 20480 0
wmi_bmof 16384 0
k10temp 16384 0
watchdog 45056 1 sp5100_tco
rng_core 20480 1 ccp
soundcore 16384 1 snd
crc16 16384 1 bluetooth
acpi_cpufreq 32768 0
evdev 28672 12
sg 40960 0
msr 16384 0
fuse 176128 3
loop 32768 0
efi_pstore 16384 0
configfs 57344 1
efivarfs 24576 1
ip_tables 36864 0
x_tables 61440 1 ip_tables
autofs4 53248 2
xfs 1945600 3
libcrc32c 16384 1 xfs
crc32c_generic 16384 0
dm_crypt 61440 2
dm_mod 184320 16 dm_crypt
amdgpu 9560064 30
gpu_sched 53248 1 amdgpu
drm_buddy 20480 1 amdgpu
nvme 53248 3
video 65536 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
crc32_pclmul 16384 0
nvme_core 163840 4 nvme
sd_mod 65536 1
drm_display_helper 184320 1 amdgpu
crc32c_intel 24576 1
t10_pi 16384 2 sd_mod,nvme_core
cec 61440 1 drm_display_helper
ghash_clmulni_intel 16384 0
hid_generic 16384 0
usbhid 65536 0
hid 155648 2 usbhid,hid_generic
crc64_rocksoft_generic 16384 1
crc64_rocksoft 20480 1 t10_pi
sha512_ssse3 49152 1
rc_core 69632 1 cec
ahci 49152 1
crc_t10dif 20480 1 t10_pi
sha512_generic 16384 1 sha512_ssse3
drm_ttm_helper 16384 1 amdgpu
r8169 94208 0
xhci_pci 24576 0
libahci 49152 1 ahci
crct10dif_generic 16384 0
ttm 94208 2 amdgpu,drm_ttm_helper
aesni_intel 393216 7
realtek 36864 1
xhci_hcd 315392 1 xhci_pci
libata 401408 2 libahci,ahci
crct10dif_pclmul 16384 1
drm_kms_helper 204800 4 drm_display_helper,amdgpu
crypto_simd 16384 1 aesni_intel
mdio_devres 16384 1 r8169
usbcore 344064 4 xhci_hcd,usbhid,btusb,xhci_pci
scsi_mod 282624 3 sd_mod,libata,sg
crc64 20480 2 crc64_rocksoft,crc64_rocksoft_generic
gpio_amdpt 20480 0
drm 614400 21
gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
cryptd 28672 5 crypto_simd,ghash_clmulni_intel
libphy 180224 3 r8169,mdio_devres,realtek
i2c_piix4 28672 0
usb_common 16384 2 xhci_hcd,usbcore
scsi_common 16384 3 scsi_mod,libata,sg
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
wmi 36864 3 video,gigabyte_wmi,wmi_bmof
gpio_generic 16384 1 gpio_amdpt
button 24576 0
-- /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=zstd
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
1Tnvme UUID=1cb8215e-4bb9-479b-ad06-36ae1b3fc957 none luks,discard
4Tsolid UUID=2c3dd479-7f24-4aa9-8850-ee5e970e7d32 none luks
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
crypttab-fix.sh
/usr/share/initramfs-tools/hooks:
amd64_microcode
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
lvm2
ntfs_3g
plymouth
resume
thermal
thin-provisioning-tools
udev
xfs
zz-busybox
-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-7-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.142
ii linux-base 4.9
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
pn bash-completion <none>
-- no debconf information
+ unset log_output
+ maybe_break top
+ run_scripts /scripts/init-top
+ initdir=/scripts/init-top
+ '[' '!' -d /scripts/init-top ]
+ shift
+ . /scripts/init-top/ORDER
+ /scripts/init-top/all_generic_ide
+ '[' -e /conf/param.conf ]
+ /scripts/init-top/blacklist
+ '[' -e /conf/param.conf ]
+ /scripts/init-top/keymap
+ '[' -e /conf/param.conf ]
+ /scripts/init-top/udev
Starting systemd-udevd version 252.6-1
+ '[' -e /conf/param.conf ]
+ maybe_break modules
+ '[' n '!=' y ]
+ log_begin_msg 'Loading essential drivers'
+ _log_msg 'Begin: %s ... ' 'Loading essential drivers'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Loading essential drivers'
Begin: Loading essential drivers ... + return 0
+ '[' -n ]
+ load_modules
+ '[' -e /conf/modules ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ _uptime
+ local uptime
+ cat /proc/uptime
+ uptime='7.81 115.77'
+ uptime=7
+ echo 7
+ starttime=7
+ starttime=8
+ export starttime
+ '[' ]
+ maybe_break premount
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/init-premount'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/init-premount'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/init-premount'
Begin: Running /scripts/init-premount ... + return 0
+ run_scripts /scripts/init-premount
+ initdir=/scripts/init-premount
+ '[' '!' -d /scripts/init-premount ]
+ shift
+ . /scripts/init-premount/ORDER
+ /scripts/init-premount/plymouth
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ maybe_break mount
+ log_begin_msg 'Mounting root file system'
+ _log_msg 'Begin: %s ... ' 'Mounting root file system'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Mounting root file system'
Begin: Mounting root file system ... + return 0
+ . /scripts/local
+ . /scripts/nfs
+ . /scripts/local
+ parse_numeric /dev/mapper/asgardfs-root
+ return
+ maybe_break mountroot
+ mount_top
+ local_top
+ '[' '!=' yes ]
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/local-top'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/local-top'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/local-top'
Begin: Running /scripts/local-top ... + return 0
+ run_scripts /scripts/local-top
+ initdir=/scripts/local-top
+ '[' '!' -d /scripts/local-top ]
+ shift
+ . /scripts/local-top/ORDER
+ /scripts/local-top/cryptopensc
+ '[' -e /conf/param.conf ]
+ /scripts/local-top/cryptroot
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ local_top_used=yes
+ mount_premount
+ local_premount
+ '[' '!=' yes ]
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/local-premount'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/local-premount'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/local-premount'
Begin: Running /scripts/local-premount ... + return 0
+ run_scripts /scripts/local-premount
+ initdir=/scripts/local-premount
+ '[' '!' -d /scripts/local-premount ]
+ shift
+ . /scripts/local-premount/ORDER
+ /scripts/local-premount/ntfs_3g
+ '[' -e /conf/param.conf ]
+ /scripts/local-premount/resume
Begin: Waiting for suspend/resume device ... Begin: Running
/scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for suspend/resume device
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ local_premount_used=yes
+ mountroot
+ local_mount_root
+ local_top
+ '[' yes '!=' yes ]
+ local_top_used=yes
+ '[' -z /dev/mapper/asgardfs-root ]
+ local_device_setup /dev/mapper/asgardfs-root 'root file system'
+ local 'dev_id=/dev/mapper/asgardfs-root'
+ local 'name=root file system'
+ local 'may_panic=true'
+ local real_dev
+ local time_elapsed
+ local count
+ wait_for_udev 10
+ command -v udevadm
+ udevadm settle '--timeout=10'
+ '[' -n ]
+ '[' /mapper/asgardfs-root '=' /dev/mapper/asgardfs-root ]
+ resolve_device /dev/mapper/asgardfs-root
+ DEV=/dev/mapper/asgardfs-root
+ '[' -e /dev/mapper/asgardfs-root ]
+ real_dev=
+ log_begin_msg 'Waiting for root file system'
+ _log_msg 'Begin: %s ... ' 'Waiting for root file system'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Waiting for root file system'
Begin: Waiting for root file system ... + return 0
+ slumber=30
+ '[' 0 -gt 30 ]
+ true
+ sleep 1
+ time_elapsed
+ '[' -z 8 ]
+ local delta
+ _uptime
+ local uptime
+ cat /proc/uptime
+ uptime='39.34 612.88'
+ uptime=39
+ echo 39
+ delta=39
+ delta=31
+ echo 31
+ time_elapsed=31
+ local_block /dev/mapper/asgardfs-root
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/local-block'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/local-block'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/local-block'
Begin: Running /scripts/local-block ... + return 0
+ run_scripts /scripts/local-block /dev/mapper/asgardfs-root
+ initdir=/scripts/local-block
+ '[' '!' -d /scripts/local-block ]
+ shift
+ . /scripts/local-block/ORDER
+ /scripts/local-block/cryptroot /dev/mapper/asgardfs-root
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ true
+ '[' -f /run/count.mdadm.initrd ]
+ '[' -n ]
+ break
+ resolve_device /dev/mapper/asgardfs-root
+ DEV=/dev/mapper/asgardfs-root
+ '[' -e /dev/mapper/asgardfs-root ]
+ real_dev=
+ '[' 31 -ge 30 ]
+ log_end_msg 1
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ break
+ resolve_device /dev/mapper/asgardfs-root
+ DEV=/dev/mapper/asgardfs-root
+ '[' -e /dev/mapper/asgardfs-root ]
+ real_dev=
+ true
+ echo 'Gave up waiting for root file system device. Common problems:'
Gave up waiting for root file system device. Common problems:
+ echo ' - Boot args (cat /proc/cmdline)'
- Boot args (cat /proc/cmdline)
+ echo ' - Check rootdelay= (did the system wait long enough?)'
- Check rootdelay= (did the system wait long enough?)
+ '[' 'root file system' '=' root ]
+ echo ' - Missing modules (cat /proc/modules; ls /dev)'
- Missing modules (cat /proc/modules; ls /dev)
+ panic 'ALERT! /dev/mapper/asgardfs-root does not exist. Dropping to a
shell!'
+ local console rest IFS
+ command -v chvt
+ chvt 1
+ echo 'ALERT! /dev/mapper/asgardfs-root does not exist. Dropping to a shell!'
ALERT! /dev/mapper/asgardfs-root does not exist. Dropping to a shell!
+ '[' -n ]
+ run_scripts /scripts/panic
+ initdir=/scripts/panic
+ '[' '!' -d /scripts/panic ]
+ shift
+ . /scripts/panic/ORDER
+ /scripts/panic/plymouth
+ '[' -e /conf/param.conf ]
+ command -v setsid
+ unset IFS
+ read -r console rest
+ '[' tty0 '=' tty0 ]
+ console=tty1
+ REASON='ALERT! /dev/mapper/asgardfs-root does not exist. Dropping to a
shell!' PS1='(initramfs) ' setsid sh -c 'exec sh -i <>/dev/tty1 1>&0 2>&1'
+ resolve_device /dev/mapper/asgardfs-root
+ DEV=/dev/mapper/asgardfs-root
+ '[' -e /dev/mapper/asgardfs-root ]
+ echo /dev/mapper/asgardfs-root
+ real_dev=/dev/mapper/asgardfs-root
+ get_fstype /dev/mapper/asgardfs-root
+ local FS FSTYPE
+ FS=/dev/mapper/asgardfs-root
+ FSTYPE=unknown
+ fstype /dev/mapper/asgardfs-root
+ eval 'FSTYPE=xfs
FSSIZE=541870522368'
+ FSTYPE=xfs
+ FSSIZE=541870522368
+ '[' xfs '=' unknown ]
+ echo xfs
+ return 0
+ DEV=/dev/mapper/asgardfs-root
+ ROOT=/dev/mapper/asgardfs-root
+ '[' -z ]
+ get_fstype /dev/mapper/asgardfs-root
+ local FS FSTYPE
+ FS=/dev/mapper/asgardfs-root
+ FSTYPE=unknown
+ fstype /dev/mapper/asgardfs-root
+ eval 'FSTYPE=xfs
FSSIZE=541870522368'
+ FSTYPE=xfs
+ FSSIZE=541870522368
+ '[' xfs '=' unknown ]
+ echo xfs
+ return 0
+ FSTYPE=xfs
+ local_premount
+ '[' yes '!=' yes ]
+ local_premount_used=yes
+ '[' y '=' y ]
+ roflag=-r
+ checkfs /dev/mapper/asgardfs-root root xfs
+ _checkfs_once /dev/mapper/asgardfs-root root xfs
+ DEV=/dev/mapper/asgardfs-root
+ NAME=root
+ TYPE=xfs
+ '[' root '=' / ]
+ FSCK_LOGFILE=/run/initramfs/fsck.log
+ FSCK_STAMPFILE=/run/initramfs/fsck-root
+ '[' xfs '=' auto ]
+ FSCKCODE=0
+ '[' -z xfs ]
+ command -v fsck
+ '[' n '=' y ]
+ '[' n '=' y ]
+ force=
+ '[' '=' y ]
+ '[' '=' n ]
+ fix=-a
+ spinner=
+ '[' -z y ]
+ '[' n '=' n ]
+ log_begin_msg 'Will now check root file system'
+ _log_msg 'Begin: %s ... ' 'Will now check root file system'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Will now check root file system'
Begin: Will now check root file system ... + return 0
+ logsave -a -s /run/initramfs/fsck.log fsck -a -V -t xfs
/dev/mapper/asgardfs-root
fsck from util-linux 2.38.1
[/sbin/fsck.xfs (1) -- /dev/mapper/asgardfs-root] fsck.xfs -a
/dev/mapper/asgardfs-root
/sbin/fsck.xfs: XFS file system.
+ FSCKCODE=0
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ '[' 0 -eq 32 ]
+ '[' 0 -eq 4 ]
+ '[' 0 -gt 1 ]
+ true
+ return 0
+ mount -r -t xfs /dev/mapper/asgardfs-root /root
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ read_fstab_entry /usr
+ found=1
+ '[' -f /root/etc/fstab ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ '[' / '=' /usr ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ '[' /boot '=' /usr ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ '[' /home/pasja/solid '=' /usr ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ '[' none '=' /usr ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ '[' /media/cdrom0 '=' /usr ]
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ continue
+ read -r MNT_FSNAME MNT_DIR MNT_TYPE MNT_OPTS MNT_FREQ MNT_PASS MNT_JUNK
+ return 1
+ mount_bottom
+ local_bottom
+ '[' yes '=' yes ]
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/local-bottom'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/local-bottom'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/local-bottom'
Begin: Running /scripts/local-bottom ... + return 0
+ run_scripts /scripts/local-bottom
+ initdir=/scripts/local-bottom
+ '[' '!' -d /scripts/local-bottom ]
+ shift
+ . /scripts/local-bottom/ORDER
+ /scripts/local-bottom/cryptgnupg-sc
+ '[' -e /conf/param.conf ]
+ /scripts/local-bottom/cryptopensc
+ '[' -e /conf/param.conf ]
+ /scripts/local-bottom/cryptroot
+ '[' -e /conf/param.conf ]
+ /scripts/local-bottom/ntfs_3g
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ local_premount_used=no
+ local_top_used=no
+ nfs_bottom
+ '[' '=' yes ]
+ '[' '=' yes ]
+ nfs_premount_used=no
+ nfs_top_used=no
+ local_bottom
+ '[' no '=' yes ]
+ '[' no '=' yes ]
+ local_premount_used=no
+ local_top_used=no
+ maybe_break bottom
+ '[' n '!=' y ]
+ log_begin_msg 'Running /scripts/init-bottom'
+ _log_msg 'Begin: %s ... ' 'Running /scripts/init-bottom'
+ '[' n '=' y ]
+ printf 'Begin: %s ... ' 'Running /scripts/init-bottom'
Begin: Running /scripts/init-bottom ... + return 0
+ run_scripts /scripts/init-bottom
+ initdir=/scripts/init-bottom
+ '[' '!' -d /scripts/init-bottom ]
+ shift
+ . /scripts/init-bottom/ORDER
+ /scripts/init-bottom/udev
+ '[' -e /conf/param.conf ]
+ /scripts/init-bottom/plymouth
+ '[' -e /conf/param.conf ]
+ '[' n '!=' y ]
+ log_end_msg
+ _log_msg 'done.\n'
+ '[' n '=' y ]
+ printf 'done.\n'
done.
+ return 0
+ mount -n -o move /run /root/run
+ validate_init /sbin/init
+ run-init -n /root /sbin/init
+ validate_init /sbin/init
+ run-init -n /root /sbin/init
+ maybe_break init
+ unset debug
+ unset MODPROBE_OPTIONS
+ unset DPKG_ARCH
+ unset ROOTFLAGS
+ unset ROOTFSTYPE
+ unset ROOTDELAY
+ unset ROOT
+ unset IP
+ unset BOOT
+ unset BOOTIF
+ unset DEVICE
+ unset UBIMTD
+ unset blacklist
+ unset break
+ unset noresume
+ unset panic
+ unset quiet
+ unset readonly
+ unset resume
+ unset resume_offset
+ unset noresume
+ unset fastboot
+ unset forcefsck
+ unset fsckfix
+ unset starttime
+ mount -n -o move /sys /root/sys
+ mount -n -o move /proc /root/proc
+ exec run-init /root /sbin/init
--- End Message ---
--- Begin Message ---
Control: tags -1 wontfix
On Wed, May 10, 2023 at 03:09:04AM +0200, Guilhem Moulin wrote:
> Please consider the enclosed patch. The aim is to also activate
> incomplete VGs at early boot stage, like lvm2 used to do before
> 2.03.15-1, and be a no op on “normal systems” once execution has been
> handed over to init(1).
Nope, not really. Half VG was never a real thing. It might work in
some cases.
> The patch doesn't break src:cryptsetup's autopkgtests. It also solves
> the present regression AFAICT, at least for the reproducers I tested.
I'm actually closing that report. Because half configs are hard to
handle.
Bastian
--
The heart is not a logical organ.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4
--- End Message ---