From e816a4600ace3f4333cacff06f4aca7b90e08bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 13 Sep 2018 03:34:19 +0200 Subject: [PATCH] rpm: add workaround for Fedora's systemd package bug https://bugzilla.redhat.com/1559286 Fixes QubesOS/qubes-issues#3983 --- rpm_spec/core-agent.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpm_spec/core-agent.spec.in b/rpm_spec/core-agent.spec.in index 1778046..bc50f33 100644 --- a/rpm_spec/core-agent.spec.in +++ b/rpm_spec/core-agent.spec.in @@ -347,6 +347,12 @@ if [ -L /usr/local ]; then mount /usr/local || : fi +# workaround for Fedora's systemd package bug +# https://bugzilla.redhat.com/1559286 +if [ -d /var/lib/private ]; then + chmod 700 /var/lib/private +fi + if test -f /etc/yum.conf && ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf' /etc/yum.conf; then echo >> /etc/yum.conf echo '# Yum does not support inclusion of config dir...' >> /etc/yum.conf