Bug 2229741 - kickstart Installation does miss dbginfo.sh since RHEL 9.0
Summary: kickstart Installation does miss dbginfo.sh since RHEL 9.0
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: s390utils
Version: 9.0
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Dan Horák
QA Contact: Vilém Maršík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-07 13:57 UTC by siglen
Modified: 2023-08-08 14:22 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-08 07:30:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164739 0 None None None 2023-08-07 14:01:11 UTC

Description siglen 2023-08-07 13:57:20 UTC
Description of problem:
Using the same kickstart file as in RHEL8 (just updating the URL of the source version) - the dbginfo.sh is no longer installed, as s390utils-base is no longer a default package installed automatically.

Version-Release number of selected component (if applicable):
all RHEL 9 versions

How reproducible:

reuse a RHEL8 kickstart file and just update the URL:
sample content from our packages section is:
%packages
@core
%end

Steps to Reproduce:
1. copy and update the URL - diff to viusualize the simple update
# diff kickstart_rhel8.ks kickstart_rhel9.ks
< url --url "http://<mirror>/redhat/s390x/RHEL8.8-latest/DVD"
---
> url --url "http://<mirror>/redhat/s390x/RHEL9.1-latest/DVD"

2. install RHEL8
virt-install --reinstall testle8 --memory 4096 --vcpus 2 --disk /var/lib/libvirt/images/rhel8_dvd.qcow2 --location http://<mirror>/redhat/s390x/RHEL8.8-latest/DVD --initrd-inject "/root/kickstart_rhel8.ks" --extra-args "inst.ks=file:///kickstart_rhel8.ks" 

3. install RHEL9
virt-install --reinstall testle9 --memory 4096 --vcpus 2 --disk /var/lib/libvirt/images/rhel9_dvd.qcow2 --location http://<mirror>/redhat/s390x/RHEL9.1-latest/DVD --initrd-inject "/root/kickstart_rhel9.ks" --extra-args "inst.ks=file:///kickstart_rhel9.ks" 

4. see different results of "yum list --installed | grep s390utils"
RHEL8:
s390utils-base.s390x                  2:2.25.0-2.el8          @anaconda 
s390utils-core.s390x                  2:2.25.0-2.el8          @anaconda 
RHEL9:
s390utils-core.s390x                  2:2.22.0-2.el9          @anaconda 

Actual results:
customers are installing now systems without needed debug tools

Expected results:
debug tools are essential in case of any error and need to be installed already with the initilal installation as done in previous RHEL versions.

Additional info:
s390utils-base seems to be only included in a "STANDARD" installation of RHEL9, but many instructions and setup methods are using kickstart files for customizing.

Comment 1 Dan Horák 2023-08-07 14:24:42 UTC
The purpose of the @core group is to install a minimal functional system and with newer RHEL releases we are trying to make it smaller. It's not a supported RHEL installation, for that you need the @standard group, which includes the s390utils-base package with dbginfo.sh. The proper solution is to update the kickstart file if you want to use the @core group.

Comment 2 siglen 2023-08-08 06:53:33 UTC
Hello Dan, as this packing is done by RedHat and not by IBM, i readdress this bug to RH.  I confirmed that IBM is delivering a complete git repo and no splitting to this packages is doen by us.
Please forward to the packing team and we are glad to help resorting the packages. Thx !

Comment 3 Dan Horák 2023-08-08 07:30:39 UTC
There is not much to do from the packaging point of view. If someone is intentionally using the @core group via a kickstart file, then it has some consequences (not supported, minimal, etc). The dbginfo.sh script requires other tools from the base subpackage including the ones written in perl. And perl is simply a no-go for @core (it translates to CoreOS and other minimal environments). My recommendation would be to update the documentation that suggests to use kickstarts with just @core.

Comment 4 siglen 2023-08-08 14:15:33 UTC
dbginfo.sh does not use perl, but i found that tar seems to be replaced by gzip as default.

Comment 5 Dan Horák 2023-08-08 14:22:51 UTC
(In reply to siglen from comment #4)
> dbginfo.sh does not use perl, but i found that tar seems to be replaced by
> gzip as default.

dbginfo.sh calls tools written in perl, eg. ziorep_config, but generally it needs all the "s390-tools" to be available, which means all of s390utils-base ...


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