Today I did the usual 'dnf update' on a VM system.
As part of the update I received kernel-6.15.4-200.fc42.x86_64
However, after the upgrades were done, the last console message was
>>> Running post-transaction scriptlet:
kernel-core-0:6.15.4-200.fc42.x86_64
after which the system was hard locked (about 45m...).
Looking at the log (I remote rsyslog to my server) I see:
Jul 6 09:16:53 e4 dracut[24606]: dracut-105-3.fc42
Jul 6 09:16:54 e4 dracut[24609]: Executing: /usr/bin/dracut -f --kernel-image
/lib/modules/6.15.4-200.fc42.x86_64/vmlinuz --kver 6.15.4-200.fc42.x86_64
/boot/initramfs-6.15.4-200.fc42.x86_64.img
Jul 6 09:17:00 e4 dracut[24609]: *** Including module: bash ***
Jul 6 09:17:00 e4 dracut[24609]: *** Including module: shell-interpreter ***
Jul 6 09:17:00 e4 dracut[24609]: *** Including module: systemd ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: fips ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: fips-crypto-policies ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-ask-password ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-battery-check
***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-initrd ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-journald ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-modules-load ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-sysctl ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-sysusers ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-tmpfiles ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: systemd-udevd ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: nss-softokn ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: rngd ***
Jul 6 09:17:01 e4 dracut[24609]: *** Including module: i18n ***
Jul 6 09:17:02 e4 dracut[24609]: *** Including module: drm ***
Jul 6 09:17:02 e4 dracut[24609]: *** Including module: plymouth ***
Jul 6 09:17:06 e4 dracut[24609]: *** Including module: kernel-modules ***
Jul 6 09:17:07 e4 kernel: block vda: the capability attribute has been
deprecated.
Jul 6 09:17:07 e4 dracut[24609]: *** Including module: kernel-modules-extra ***
This was followed with a hard reset. The boot (6.15.4) failed. So I booted to
the earlier kernel (6.15.3).
I then removed and installed the latest kernel which did NOT create a new
initramfs.
Solved by running:
$ sudo dracut -f /boot/initramfs-6.15.4-200.fc42.x86_64.img
6.15.4-200.fc42.x86_64
which proceeded to completion:
Jul 6 10:19:07 e4 dracut[2939]: *** Including module: bash ***
Jul 6 10:19:07 e4 dracut[2939]: *** Including module: shell-interpreter ***
Jul 6 10:19:07 e4 dracut[2939]: *** Including module: systemd ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: fips ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: fips-crypto-policies ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-ask-password ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-battery-check ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-initrd ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-journald ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-modules-load ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-sysctl ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-sysusers ***
Jul 6 10:19:08 e4 dracut[2939]: *** Including module: systemd-tmpfiles ***
Jul 6 10:19:09 e4 dracut[2939]: *** Including module: systemd-udevd ***
Jul 6 10:19:09 e4 dracut[2939]: *** Including module: nss-softokn ***
Jul 6 10:19:09 e4 dracut[2939]: *** Including module: rngd ***
Jul 6 10:19:09 e4 dracut[2939]: *** Including module: i18n ***
Jul 6 10:19:10 e4 dracut[2939]: *** Including module: drm ***
Jul 6 10:19:10 e4 dracut[2939]: *** Including module: plymouth ***
Jul 6 10:19:12 e4 dracut[2939]: *** Including module: kernel-modules ***
Jul 6 10:19:15 e4 kernel: block vda: the capability attribute has been
deprecated.
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: kernel-modules-extra ***
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: qemu ***
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: resume ***
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: rootfs-block ***
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: terminfo ***
Jul 6 10:19:15 e4 dracut[2939]: *** Including module: udev-rules ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: virtiofs ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: dracut-systemd ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: usrmount ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: base ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: fs-lib ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: memstrack ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: openssl ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including module: shutdown ***
Jul 6 10:19:16 e4 dracut[2939]: *** Including modules done ***
Jul 6 10:19:16 e4 dracut[2939]: *** Installing kernel module dependencies ***
Jul 6 10:19:17 e4 dracut[2939]: *** Installing kernel module dependencies done
***
Jul 6 10:19:17 e4 dracut[2939]: *** Resolving executable dependencies ***
Jul 6 10:19:18 e4 dracut[2939]: *** Resolving executable dependencies done ***
Jul 6 10:19:18 e4 dracut[2939]: *** Hardlinking files ***
Jul 6 10:19:18 e4 dracut[2939]: *** Hardlinking files done ***
Jul 6 10:19:18 e4 dracut[2939]: *** Generating early-microcode cpio image ***
Jul 6 10:19:18 e4 dracut[2939]: *** Constructing GenuineIntel.bin ***
Jul 6 10:19:18 e4 dracut[2939]: *** Store current command line parameters ***
Jul 6 10:19:19 e4 dracut[2939]: *** Creating image file
'/boot/initramfs-6.15.4-200.fc42.x86_64.img' ***
Jul 6 10:19:19 e4 dracut[2939]: Using auto-determined compression method 'zstd'
Jul 6 10:19:32 e4 dracut[2939]: *** Creating initramfs image file
'/boot/initramfs-6.15.4-200.fc42.x86_64.img' done ***
The following 6.15.4 boot succeeded (it did a root fsck).
1) Is the initial install failure a problem with the package (or dnf)?
2) Anyway, what is the 'block vda: the capability attribute has been
deprecated.' about, and how do I correct it?
3) Should the 'dnf remove/install' of the latest kernel run the
post-transaction for that package?
TIA
--
Eyal at Home ([email protected])
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue