Antonio Feijoo changed bug 1231773
What Removed Added
Assignee screening-team-bugs@suse.de dracut-maintainers@suse.de
CC   antonio.feijoo@suse.com

Comment # 1 on bug 1231773 from Antonio Feijoo
(In reply to 40476 WebDev from comment #0)
> it is pretty lengthy so I will post the link to the thread and give a
> synopsis.
> On my third `sudo zypper dup` my system stopped working completely on
> reboot, upon further investigation it turns out `dracut` is not finding some
> important files it needs to create the initrd file for the latest kernel. I

Posting the important parts here to avoid reading the whole forum post:

> dracut[I]: Executing: /usr/bin/dracut -f /boot/initrd-6.11.2-1-default 6.11.2-1-default
> ...
> dracut[I]: *** Including module: systemd-initrd ***
> Failed to set default unit: Unit initrd.target does not exist
> dracut[I]: *** Including module: i18n ***
> gzip: /var/tmp/dracut.2XEtOt/initramfs/usr/share/kbd/keymaps/xkb/us.map.gz: No such file or directory
> gzip: /var/tmp/dracut.2XEtOt/initramfs/usr/share/kbd/consolefonts/eurlatgr.psfu.gz: No such file or directory
> gzip: /var/tmp/dracut.2XEtOt/initramfs/usr/share/kbd/consolefonts/eurlatgr.psfu.gz: No such file or directory
> ...
> dracut[I]: *** Including module: plymouth ***
> chmod: cannot access '/var/tmp/dracut.2XEtOt/initramfs//var/lib/dracut/hooks/emergency/50-plymouth-emergency.sh': No such file or directory
> ...
> dracut[I]: *** Including module: rootfs-block ***
> chmod: cannot access '/var/tmp/dracut.2XEtOt/initramfs//var/lib/dracut/hooks/initqueue/timeout/99-rootfallback.sh': No such file or directory
> ...
> dracut[I]: *** Including module: dracut-systemd ***
> chmod: cannot access '/var/tmp/dracut.2XEtOt/initramfs//var/lib/dracut/hooks/cmdline/00-parse-root.sh': No such file or directory
> Failed to add dependency on unit: Unit initrd.target does not exist
> ...
> dracut[I]: *** Including module: base ***
> ln: failed to create symbolic link '/var/tmp/dracut.2XEtOt/initramfs/bin/sh': File exists
> ...
> dracut[I]: *** Including module: suse ***
> chmod: cannot access '/var/tmp/dracut.2XEtOt/initramfs//var/lib/dracut/hooks/cmdline/99-parse-suse-initrd.sh': No such file or directory
> ...
> dracut[I]: *** Installing kernel module dependencies ***
> depmod: WARNING: could not open modules.order at /var/tmp/dracut.2XEtOt/initramfs/usr/lib/modules/6.11.2-1-default: No such file or directory
> depmod: WARNING: could not open modules.builtin at /var/tmp/dracut.2XEtOt/initramfs/usr/lib/modules/6.11.2-1-default: No such file or directory
> depmod: WARNING: could not open modules.builtin.modinfo at /var/tmp/dracut.2XEtOt/initramfs/usr/lib/modules/6.11.2-1-default: No such file or directory
> ...
> dracut[I]: *** Creating initramfs image file '/boot/initrd-6.11.2-1-default' done ***
> dracut[I]: sync operation on newly created initramfs /boot/initrd-6.11.2-1-default failed
> ERROR: cannot create symlinks /boot/vmlinuz and /boot/initrd
> warning: %post(kernel-default-6.11.2-1.2.x86_64) scriptlet failed, exit status 1

With LOADER_TYPE="grub2-efi" (no sdbootutil/grub-bls around) the %post kernel
scriptlet is failing, so your system seems to be broken somehow.

IIUC you already did a rollback to an old snapshot, could try to zypper ref &
dup from there, and then (if it keeps failing) run manually `dracut -f --debug`
as root and attach the output here?

> ran the update on another system (this one in legacy boot mode) and the
> update went fine. Not sure if that means anything.

I'd say no, it works for both legacy and UEFI.


You are receiving this mail because: