Skip to content

Commit

Permalink
osbuild.ostree.selinux: xref ostree issue for this
Browse files Browse the repository at this point in the history
We should drop this stage entirely once we have a way to
force on selinux in ostree.
  • Loading branch information
cgwalters authored and ondrejbudai committed Aug 31, 2023
1 parent feee125 commit fd44af4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stages/org.osbuild.ostree.selinux
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def main(tree, options):
# is_selinux_enabled(2), which in our container is FALSE
# Therefore we have to do the same dance as ostree does, at
# least for now, and manually re-label the affected paths
# xref https://github.com/ostreedev/ostree/issues/2804 for a proper fix
se_policy = None

for p in ["etc/selinux", "usr/etc/selinux"]:
Expand Down

0 comments on commit fd44af4

Please sign in to comment.