| |
@@ -3,4 +3,8 @@
|
| |
set -xeuo pipefail
|
| |
|
| |
# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1265295
|
| |
- echo 'Storage=persistent' >> /etc/systemd/journald.conf
|
| |
+ # 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
|
| |
This fixes corruption I saw when using unified core 🌐 mode; we
ended up appending repeatedly to the version in the imported
pkgcache repo.