Josef Reidinger changed bug 1231658
What Removed Added
CC   jreidinger@suse.com

Comment # 9 on bug 1231658 from Josef Reidinger
According to code there should be already workaround that reads kernel cmdline,
but looks like in this case it no longer works. Related part of yast logs.

2024-11-06 14:13:55 <3> agama(3058) [agent-ini] IniParser.cc(parse):558 Can not
open /etc/install.inf.
2024-11-06 14:13:55 <3> agama(3058) [agent-ini] IniParser.cc(getTimeStamp):932
Unable to stat '/etc/install.inf': No such file or directory
2024-11-06 14:13:55 <1> agama(3058) [Ruby]
modules/Kernel.rb(ParseInstallationKernelCmdline):181 cmdline from install.inf
is: nil
2024-11-06 14:13:55 <1> agama(3058) [Ruby]
modules/BootArch.rb(propose_cpu_mitigations):89 linuxrc mitigations nil

So I see two options. Either SLE 16 contains too old yast-yast2 without fix for
reading kernel params or there is some misbehavior in condition that checks if
install.inf is available.

Related code is at
https://github.com/yast/yast-yast2/blob/717d99f214a56645216bb9c5f4f32d1244d4fe35/library/system/src/modules/Kernel.rb#L173

My suspicion is the first case as new code has to_s so it should not be nil,
just "".

The change is in
https://github.com/yast/yast-yast2/commit/ccdf9cd298e14926c636b6afc3a02ce8713cb34a
so it is change from january. I need to check IBS to see what they use in SLFO

and bingo! It uses one year old yast2.rpm without fix
https://build.suse.de/package/show/SUSE:SLFO:Main/yast2

I will try to create sr to update also SLFO and yast2.rpm there


You are receiving this mail because: