In Anaconda CI workflows we are running lorax in a container to build boot.iso images - https://github.com/rhinstaller/anaconda/blob/87b3af4ad08d8855c9424f7faa24fd22635f67bb/.github/workflows/build-image.yml.j2#L231 or https://github.com/rhinstaller/anaconda/blob/87b3af4ad08d8855c9424f7faa24fd22635f67bb/Makefile.am#L422 - with this entry point: https://github.com/rhinstaller/anaconda/blob/main/dockerfile/anaconda-iso-creator/lorax-build We are hitting an issue with container_file_t selinux context for a directory: - the issue: https://github.com/rhinstaller/kickstart-tests/issues/1607 - workaround PR: https://github.com/rhinstaller/anaconda/pull/6916. @bcl do you have some hints how we could approach the issue? - would it be possible to set up lorax somehow to restore context of installer image at the end ? - or maybe rather to make sure the context is such that the [relabeling at the end of Anaconda](https://github.com/rhinstaller/anaconda/pull/6916) installation works ? - comparison to image not built in the container (nithtly iso) https://github.com/rhinstaller/kickstart-tests/issues/1607#issuecomment-3890626677
In Anaconda CI workflows we are running lorax in a container to build boot.iso images
We are hitting an issue with container_file_t selinux context for a directory:
@bcl do you have some hints how we could approach the issue?