Bug 1226453 - Kernel 6.9.4 not being booted after update because of grub script failing with dash-sh
Summary: Kernel 6.9.4 not being booted after update because of grub script failing wit...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Bootloader Maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-18 00:21 UTC by nuts
Modified: 2024-07-08 11:59 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nuts 2024-06-18 00:21:01 UTC
When upgrading the kernel, after it installs and dracut finishes, the grub script outputs:

+ /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/openSUSE/theme.txt
/etc/grub.d/10_linux: 154: Syntax error: "(" unexpected (expecting "}")
CA enrolled. Skip /etc/uefi/certs/1F673297.crt
warning: %post(kernel-default-6.9.4-1.1.x86_64) scriptlet failed, exit status 2

Line 154:
files=($(for bls in ${blsdir}/*.conf; do
Comment 1 Michael Chang 2024-07-08 11:59:38 UTC
Hi,

Thanks for reporting the issue. The submit request addressing this problem has been created, therefore setting the resolution to "Fixed."

https://build.opensuse.org/request/show/1186154