Move ipa's systemd tmpfiles from /var/run to /run

systemd 239 complains about the legacy of ipa's tmpfiles which
are located on /var/run.

Fixes: https://pagure.io/freeipa/issue/7732
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Stanislav Levin
2018-10-12 16:30:13 +03:00
committed by Christian Heimes
parent 1e76f100a5
commit 531eca4308
3 changed files with 4 additions and 4 deletions

View File

@@ -7,4 +7,4 @@ systemdtmpfiles_DATA = \
CLEANFILES = $(systemdtmpfiles_DATA)
%: %.in Makefile
sed -e 's|@localstatedir[@]|$(localstatedir)|g' '$(srcdir)/$@.in' >$@
cp '$(srcdir)/$@.in' $@

View File

@@ -1,2 +1,2 @@
d @localstatedir@/run/ipa 0711 root root
d @localstatedir@/run/ipa/ccaches 0770 ipaapi ipaapi
d /run/ipa 0711 root root
d /run/ipa/ccaches 0770 ipaapi ipaapi

View File

@@ -350,7 +350,7 @@ class BasePathNamespace:
OPENDNSSEC_KASP_DB = "/var/opendnssec/kasp.db"
IPA_ODS_EXPORTER_CCACHE = "/var/opendnssec/tmp/ipa-ods-exporter.ccache"
VAR_RUN_DIRSRV_DIR = "/var/run/dirsrv"
IPA_CCACHES = "/var/run/ipa/ccaches"
IPA_CCACHES = "/run/ipa/ccaches"
HTTP_CCACHE = "/var/lib/ipa/gssproxy/http.ccache"
CA_BUNDLE_PEM = "/var/lib/ipa-client/pki/ca-bundle.pem"
KDC_CA_BUNDLE_PEM = "/var/lib/ipa-client/pki/kdc-ca-bundle.pem"