Browse Source

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>
master
Stanislav Levin Christian Heimes 2 years ago
parent
commit
531eca4308
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      init/tmpfilesd/Makefile.am
  2. +2
    -2
      init/tmpfilesd/ipa.conf.in
  3. +1
    -1
      ipaplatform/base/paths.py

+ 1
- 1
init/tmpfilesd/Makefile.am View File

@@ -7,4 +7,4 @@ systemdtmpfiles_DATA = \
CLEANFILES = $(systemdtmpfiles_DATA)

%: %.in Makefile
sed -e 's|@localstatedir[@]|$(localstatedir)|g' '$(srcdir)/$@.in' >$@
cp '$(srcdir)/$@.in' $@

+ 2
- 2
init/tmpfilesd/ipa.conf.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

+ 1
- 1
ipaplatform/base/paths.py 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"


Loading…
Cancel
Save