[Bug 1231773] dracut cannot create initrd & initramfs on initrd-6.11.2-1-default
https://bugzilla.suse.com/show_bug.cgi?id=1231773 https://bugzilla.suse.com/show_bug.cgi?id=1231773#c20 Thomas Blume <thomas.blume@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.blume@suse.com Flags| |needinfo?(declanseeley@iclo | |ud.com) --- Comment #20 from Thomas Blume <thomas.blume@suse.com> --- The dracut debug output shows that the missing files, for example parse-root.sh get copied into the temporary directory for creating the initrd image. cp return success, but apparently afterwards the file is not there so chmod cannot access it: --> dracut-install: dracut_install('/usr/lib/dracut/modules.d/98dracut-systemd/parse-root.sh', '/var/lib/dracut/hooks/cmdline/00-parse-root.sh', 0, 0, 1) dracut-install: dracut_install ret = 0 dracut-install: cp '/usr/lib/dracut/modules.d/98dracut-systemd/parse-root.sh' '/var/tmp/dracut.Xy7dNc/initramfs/var/lib/dracut/hooks/cmdline/00-parse-root.sh' dracut-install: cp ret = 0 dracut-install: dracut_install ret = 0 /usr/lib/dracut/dracut-init.sh@281(inst_simple): return 0 /usr/lib/dracut/dracut-init.sh@650(inst_hook): chmod u+x /var/tmp/dracut.Xy7dNc/initramfs//var/lib/dracut/hooks/cmdline/00-parse-root.sh chmod: cannot access '/var/tmp/dracut.Xy7dNc/initramfs//var/lib/dracut/hooks/cmdline/00-parse-root.sh': No such file or directory --< In order to verify this, please rerun the dracut command with the additional parameter --keep, e.g.: sudo dracut -f --keep --tmpdir /tmp test.img That will keep the temporary directory for creating the initrd image and dracut will print at the end for example: Not removing /tmp/dracut.u9DT2T. Afterwards please check whether the missing files are really not present in this directory, for example: ls -l /tmp/dracut.u9DT2T/initramfs//var/lib/dracut/hooks/cmdline/00-parse-root.sh -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com