Red Hat Bugzilla – Bug 1303565
livecd-creator fails to build iso, if semodule is only available inside the chroot
Last modified: 2016-06-14 16:16:28 EDT
Description of problem:
If livecd-creator is creating an iso from packageset which also includes a custom selinux policy which is not installed on the host, then livecd-creator fails, because the relabeling inside the chroot fails.
To fix bug 1121301 a check was added to fail if enforcing mode is set in the kickstart. This is maybe semantically not good, because the kickstart describes the requirement on the runtime, and should not have this direct affect at build time.
I understand why the fix was introduced, but it should be implemented different. I.e. add a switch to livecd-creator to fail on this kind of a problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a kickstart which includes an selinux module which is not used on the build host
2. Run livecd-creator
iso build fails
iso build succeeds
- This looks like a regression of bug 1121301
- This is filed in CentOS as well: https://bugs.centos.org/view.php?id=10243
- There is a patch which reverts the fix for 1121301: https://github.com/tlitovsk/livecd-tools/commit/247ccd1d860aefa231e0216d450559b777d77408
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.