Overview

Request 1081261 accepted

- Fixed kexec options setup in kiwi-dump-reboot
The dracut module 99kiwi-dump-reboot creates an options
list for kexec. Under certain conditions the options
list can contain multiple spaces which leads to an error
when calling kexec. This commit makes sure to trim
white spaces. This Fixes #2178
Backported from upstream c694e25b22

- Bump version up to 9.24.43
This version includes:
* Fixed error handling for setfiles policy lookup
Errors from os.scandir were not catched. In addition the path
to run scandir was not properly created
* Prefer file based syscall in kexec when possible (bsc#1203896)
Use file based syscall in kexec if available. This is needed to
support boot on an secure boot enabled system and is in general
more reliable to boot into the system on real hardware platforms
* Correct setfiles relabeling
This change was inspired by a change done on Fedora's livecd-tools
from here: livecd-tools/livecd-tools#236. The patch corrects issues
with the setfiles SELinux relabel command. The issues become apparent
when the host and guest policies differ. Thus it becomes required
to explicitly set the policy to decouple from eventual unwanted
host settings.
* Fix helper method to detect dracut outfile format
The method _get_boot_image_output_file_format_from_dracut_code
is used in kiwi to match parts of the dracut code for the used
output file format. Beginning with dracut-056 the code part
checked has changed syntactically such that the match did
no longer work. This commit increases the scope of the match

Request History
Pablo Suárez Hernández's avatar

PSuarezHernandez created request

- Fixed kexec options setup in kiwi-dump-reboot
The dracut module 99kiwi-dump-reboot creates an options
list for kexec. Under certain conditions the options
list can contain multiple spaces which leads to an error
when calling kexec. This commit makes sure to trim
white spaces. This Fixes #2178
Backported from upstream c694e25b22

- Bump version up to 9.24.43
This version includes:
* Fixed error handling for setfiles policy lookup
Errors from os.scandir were not catched. In addition the path
to run scandir was not properly created
* Prefer file based syscall in kexec when possible (bsc#1203896)
Use file based syscall in kexec if available. This is needed to
support boot on an secure boot enabled system and is in general
more reliable to boot into the system on real hardware platforms
* Correct setfiles relabeling
This change was inspired by a change done on Fedora's livecd-tools
from here: livecd-tools/livecd-tools#236. The patch corrects issues
with the setfiles SELinux relabel command. The issues become apparent
when the host and guest policies differ. Thus it becomes required
to explicitly set the policy to decouple from eventual unwanted
host settings.
* Fix helper method to detect dracut outfile format
The method _get_boot_image_output_file_format_from_dracut_code
is used in kiwi to match parts of the dracut code for the used
output file format. Beginning with dracut-056 the code part
checked has changed syntactically such that the match did
no longer work. This commit increases the scope of the match


Alexander Graul's avatar

agraul accepted request

ok

openSUSE Build Service is sponsored by