Repository navigation
feat(kairos-init): trusted boot selinux recovery mode guard - #5120
Conversation
Signed-off-by: Bohdan Leshchenko <bohdan.leshchenko1@gmail.com>
|
Triage note on this one, since the fix is real but not for the path the test covers. The bug only exists on Trusted BootOn GRUB there is nothing to fix. and both the Where it does bite is UKI.
and The guard misses the statereset role
The new assertions are tautological in the job that runs them
Expect(out).ToNot(ContainSubstring("selinux=1"))
Expect(out).ToNot(ContainSubstring("rd.cos.selinux"))pass with the patch reverted. The case the fix exists for is a HousekeepingNo closing keyword, so nothing links this to an issue and the board cannot track it. It also overlaps #5121 / kairos-io/AuroraBoot#893, which fix the family gate on the same CI is green and DCO passes; |
Signed-off-by: Bohdan Leshchenko <bohdan.leshchenko1@gmail.com>
|
umm sysext failing again, my god |
|
@Itxaka that red is not this PR: Tracked in #5132 and fixed by #5115 (QA passed at 20:32Z today); that PR has been sitting on |
Followup #114
Recovery boots carry
selinux=0, so the SELinux cloud-config is dead weight there. Gate the relabel unit andfile_contexts.subsin addition to theselinux=1cmdline check.align-selinux-confignow pins SELINUX=disabled on recovery so the config matches the kernel.ACHTUNG - the bug only exists on Trusted Boot