post: Re-instate systemd ProtectHome/ProtectSystem and PrivateTmp
Following the `fedora-atomic` version: https://pagure.io/fedora-atomic/c/174e04cb6c268ce32135e8e70194b3ee42fb6f9d?branch=master
This commit is contained in:
parent
3f8358690a
commit
1e79db4d2b
1 changed files with 0 additions and 3 deletions
3
post.sh
3
post.sh
|
@ -6,6 +6,3 @@ set -xeuo pipefail
|
||||||
# aspects of that have been fixed, but apparently this is still
|
# aspects of that have been fixed, but apparently this is still
|
||||||
# necessary, and generally makes things less finicky
|
# necessary, and generally makes things less finicky
|
||||||
echo 'Storage=persistent' >> /etc/systemd/journald.conf
|
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' {} \;
|
|
||||||
|
|
Loading…
Reference in a new issue