This repository has been archived by the owner on May 30, 2023. It is now read-only.
sec-policy/selinux-base-policy: add capability to unlabeled_t #1426
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
with this patch, we allow
unlabeled_t
to associate to tmpfsfilesystem.
It aims to solve the AVC we have with
torcx
with thetorcx-generator
:It has been not been caught earlier because it occurs
when the system boots with
SELinux
inenforcing
mode.This denial was preventing torcx to finish correctly its setup and so
Docker was not able to start.
Signed-off-by: Mathieu Tortuyaux mtortuyaux@microsoft.com
It has been reported in flatcar/Flatcar#544
CI 🔵 : http://jenkins.infra.kinvolk.io:8080/job/os/job/manifest/4177/cldsv/
Tested on built image with SELinux enabled early in the boot:
While on current stable with the same config:
NOTE: Mantle logic is now implemented in order to enable
SELinux
inenforcing
as soon as possible: flatcar/mantle#252