Bug 2239421 - Please consider use of RPM dependencies to prevent Kernel compatibility issues
Summary: Please consider use of RPM dependencies to prevent Kernel compatibility issues
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2238787
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-18 09:44 UTC by Vít Ondruch
Modified: 2025-02-26 12:54 UTC (History)
8 users (show)

Fixed In Version:
Clone Of: 2238787
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vít Ondruch 2023-09-18 09:44:06 UTC
This is extracted from Bug #2238787, where I faced of incompatibility between Systemtap / Kernel. I try to keep just the relevant comment.


--- Additional comment from Vít Ondruch on 2023-09-15 16:04:07 CEST ---

I can provide you just my POV as a packager of Ruby, who uses SystemTap just randomly to make sure the probes in Ruby works. And from this point of view:

1) SystemTap release announcements are completely invisible to me.
2) I am heavy distribution user and I think that the packages should works the best primarily in the context of the distribution and should provide the most convenience, therefore custom kernel build is not the scenario which would deserve too much focus.
3) I cannot judge if my use case is just niche scenario. However, it seems to me that `Recommends: kernel-headers >= 2.6.32 with kernel-headers <= 6.3.0-rc1` would provide nice default, while still keeping the flexibility of installing SystemTap withou kernel-headers, if required.

But this is mostly me just thinking loud and it is partly OT for this ticket, therefore my apologies. After all, I am happy I have found working setup ;)

--- Additional comment from Frank Ch. Eigler on 2023-09-15 17:00:20 CEST ---

Making suggestions at the RPM level is an interesting idea.   On the other hand, an rpm level version designation that would prevent a kernel from being upgraded to a version that is not designated as tested with systemtap could also lead to complaints.  Not sure RPM can make it a default-warning that is still useful.

Comment 1 Aoife Moloney 2024-02-15 22:58:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Jun Aruga 2025-01-08 12:22:35 UTC
> 3) I cannot judge if my use case is just niche scenario. However, it seems to me that `Recommends: kernel-headers >= 2.6.32 with kernel-headers <= 6.3.0-rc1` would provide nice default, while still keeping the flexibility of installing SystemTap withou kernel-headers, if required.

I am not sure if Fedora systemtap RPM maintainer wants to add such `Recommends: kernel-headers >= 2.6.32 with kernel-headers <= 6.3.0-rc1`.
Koschei for systemtap [1] can detect the dependency error in their routine builds when a new kernel version is released in Fedora rpms/kernel by this change. However, the Fedora systemtap maintainer often has to change the part for each kernel new version release.

[1] https://koschei.fedoraproject.org//package/systemtap

Comment 3 Aoife Moloney 2025-02-26 12:54:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


Note You need to log in before you can comment on or make changes to this bug.