2016-10-07 19:00:04 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xeuo pipefail
|
2016-10-07 19:13:55 +02:00
|
|
|
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1265295 ; some
|
|
|
|
# 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
|
2016-10-10 22:24:08 +02:00
|
|
|
|
|
|
|
# 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' {} \;
|