From ccaa8e62994a0e017f0284bf2ce9cc4318d49da6 Mon Sep 17 00:00:00 2001 From: Ben Radey Date: Sat, 11 Oct 2025 13:11:58 -0400 Subject: [PATCH] Commenting out selinux additions --- f42-server/Containerfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/f42-server/Containerfile b/f42-server/Containerfile index d3286d9..edfb530 100644 --- a/f42-server/Containerfile +++ b/f42-server/Containerfile @@ -15,18 +15,18 @@ FROM quay.io/fedora/fedora-silverblue:42 COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs # Set up custom SELinux policies -COPY synapse.te /tmp/synapse.te -COPY benZfsSnapshotAutomount.te /tmp/benZfsSnapshotAutomount.te -RUN checkmodule -M -m -o /tmp/synapse.mod /tmp/synapse.te \ - && semodule_package -o /tmp/synapse.pp -m /tmp/synapse.mod \ - && semodule -r synapse || true \ - && semodule -i /tmp/synapse.pp \ - && rm -f /tmp/synapse.{te,mod,pp} \ - && checkmodule -M -m -o /tmp/benZfsSnapshotAutomount.mod /tmp/benZfsSnapshotAutomount.te \ - && semodule_package -o /tmp/benZfsSnapshotAutomount.pp -m /tmp/benZfsSnapshotAutomount.mod \ - && semodule -r benZfsSnapshotAutomount || true \ - && semodule -i /tmp/benZfsSnapshotAutomount.pp \ - && rm -f /tmp/benZfsSnapshotAutomount.{te,mod,pp} +#COPY synapse.te /tmp/synapse.te +#COPY benZfsSnapshotAutomount.te /tmp/benZfsSnapshotAutomount.te +#RUN checkmodule -M -m -o /tmp/synapse.mod /tmp/synapse.te \ +# && semodule_package -o /tmp/synapse.pp -m /tmp/synapse.mod \ +# && semodule -r synapse || true \ +# && semodule -i /tmp/synapse.pp \ +# && rm -f /tmp/synapse.{te,mod,pp} \ +# && checkmodule -M -m -o /tmp/benZfsSnapshotAutomount.mod /tmp/benZfsSnapshotAutomount.te \ +# && semodule_package -o /tmp/benZfsSnapshotAutomount.pp -m /tmp/benZfsSnapshotAutomount.mod \ +# && semodule -r benZfsSnapshotAutomount || true \ +# && semodule -i /tmp/benZfsSnapshotAutomount.pp \ +# && rm -f /tmp/benZfsSnapshotAutomount.{te,mod,pp} # Install ZFS repository