6f6a4deece
When a kernel-debug package is installed, it should only be set as default if DEFAULTDEBUG=yes is set in /etc/sysconfig/kernel. But currently there's no default field set in /etc/zipl.conf so the implicit order used to sort boot entries is used. The debug kernels contains a +debug suffix which makes them be sorted with more precedence than non-debug kernels by the RPM sorting algorithm: rpm --eval '%{lua: print(rpm.vercmp("4.18.0-193.el8.s390x+debug", "4.18.0-193.el8.s390x"))}' 1 So using the implicit order when a debug kernel is installed and a default is not set leads to a wrong behavior. The zipl kernel-install script attempts to set a default entry if has to, but only if one is present in the zipl.conf file. Take also into account the case when there isn't one to avoid using the implicit sorting and not cover these corner cases like the one with the debug kernel. Resolves: rhbz#1698363 |
||
---|---|---|
.gitignore | ||
20-zipl-kernel.install | ||
52-zipl-rescue.install | ||
91-zipl.install | ||
ccw_init | ||
ccw.udev | ||
dasd.udev | ||
dasdconf.sh | ||
device_cio_free | ||
device_cio_free.service | ||
normalize_dasd_arg | ||
s390-tools-zipl-blscfg-rpm-nvr-sort.patch | ||
s390-tools-zipl-invert-script-options.patch | ||
s390utils.spec | ||
sources | ||
zfcp.udev | ||
zfcpconf.sh |