From 1e79db4d2b4b6cd10ce497d9eae9384bffc55c68 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 13 Sep 2017 15:56:11 -0400 Subject: [PATCH] post: Re-instate systemd ProtectHome/ProtectSystem and PrivateTmp Following the `fedora-atomic` version: https://pagure.io/fedora-atomic/c/174e04cb6c268ce32135e8e70194b3ee42fb6f9d?branch=master --- post.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/post.sh b/post.sh index 9698163..d139161 100755 --- a/post.sh +++ b/post.sh @@ -6,6 +6,3 @@ set -xeuo pipefail # aspects of that have been fixed, but apparently this is still # necessary, and generally makes things less finicky echo 'Storage=persistent' >> /etc/systemd/journald.conf - -# Work around https://github.com/systemd/systemd/issues/4082 -find /usr/lib/systemd/system/ -type f -exec sed -i -e '/^PrivateTmp=/d' -e '/^Protect\(Home\|System\)=/d' {} \;