Bug 1212646 - Adapt yast2-kdump for new version of kdump
Summary: Adapt yast2-kdump for new version of kdump
Status: RESOLVED FIXED
: 1208801 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-23 09:42 UTC by Jiri Bohac
Modified: 2023-11-10 21:00 UTC (History)
3 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 Jiri Bohac 2023-06-23 09:42:20 UTC
Kdump v1.9 (currently in the Kernel:Kdump) project is a major update that requires a few changes in yast2-kdump.

The most urgently needed is implemented here:
https://github.com/yast/yast-kdump/pull/134/commits/4193cab178b751df8b52a83375e722326f88670e
On a system with transactional-updates, yast2-kdump fails because tu-rebuild-kdump-initrd is currently broken and I am working with the TU maintainer to drop the script completely. mkdumprd should be used.

Less urgent channges:
- remove KDUMP_COPY_KERNEL and KDUMPTOOL_FLAGS that are no longer supported by kdump
- update the default config values to the ones documented in man 5 kdump and in the
default /etc/sysconfig/kdump file provided by the kdump package
- unify all boolean config variables to use "true"/"false" as documented in man 5 kdump. Previously some variables expected "yes"/"no" instead.

Please consider my attempt to implement all these changes in this GitHub PR:
https://github.com/yast/yast-kdump/pull/134
Comment 1 Jiri Bohac 2023-06-23 11:26:20 UTC
*** Bug 1208801 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Hundhammer 2023-06-23 17:45:08 UTC
This is actually a feature request.
Comment 3 Lukas Ocilka 2023-06-26 06:23:25 UTC
(In reply to Stefan Hundhammer from comment #2)
> This is actually a feature request.

Yes, but it also contains the PR which make it rather smooth.
Plus it's not for SLE 15 codebase which makes it simple too.

Dropping KDUMPTOOL_FLAGS and KDUMP_COPY_KERNEL might be somehow handled on the AutoYaST level (newly ignoring?) but in general it's quite OK IMO. Especially as we don't have a way to request this as a feature for future products other than ALP and ALP don't really care about YaST.
Comment 4 Stefan Hundhammer 2023-06-27 12:30:58 UTC
New PR:

  https://github.com/yast/yast-kdump/pull/135
Comment 5 Stefan Hundhammer 2023-06-27 14:01:04 UTC
Merged. SR to Factory / TW:

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

Jiri, thanks for the PR!