diff --git a/post.sh b/post.sh index d139161..9698163 100755 --- a/post.sh +++ b/post.sh @@ -6,3 +6,6 @@ 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' {} \;