| |
@@ -3,7 +3,8 @@
|
| |
set -xeuo pipefail
|
| |
|
| |
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1265295
|
| |
- 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' {} \;
|
| |
+ # Also note the create-new-then-rename dance for rofiles-fuse compat
|
| |
+ if ! grep -q '^Storage=persistent' /etc/systemd/journald.conf; then
|
| |
+ (cat /etc/systemd/journald.conf && echo 'Storage=persistent') > /etc/systemd.journald.conf.new
|
| |
+ mv /etc/systemd.journald.conf{.new,}
|
| |
+ fi
|
| |
Sucks we somehow only got the ProtectHome one on f26 and rawhide but not f27.