This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscontainers: correctly setup the rootfs SELinux label
The files inside the container are labelled by Skopeo when the image is pulled to the OSTree storage. Instead the root directory is created by atomic and by default it gets the label "unconfined_u:object_r:container_share_t:s0". Make sure we label the rootfs with the same label of '/'. We have changed the way files are labelled by Skopeo but we forgot to change Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1544175 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters