Skip to content

Commit

Permalink
services.setup: workaround podman symlink relabelling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonkarlitskaya committed May 17, 2022
1 parent cb900e8 commit b46fce2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions images/scripts/services.setup
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ EOF
chmod 755 /root/run-freeipa
/root/run-freeipa

# HACK: Podman fails to relabel symlinks properly, accidentally relabelling their targets instead
# https://github.com/opencontainers/selinux/pull/173
# Disable relabelling for subsequent runs.
sed -ie 's/data:Z/data/' /root/run-freeipa

podman logs -f freeipa &
LOGS=$!

Expand Down

0 comments on commit b46fce2

Please sign in to comment.