pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0204-replica-install-drop-in-IPA-specific-config-to-tmpfi.patch

483b06
From 9c70e00901ed1453767d085ea4c5496b2341c212 Mon Sep 17 00:00:00 2001
483b06
From: Martin Babinsky <mbabinsk@redhat.com>
483b06
Date: Tue, 11 Jul 2017 12:41:38 +0200
483b06
Subject: [PATCH] replica install: drop-in IPA specific config to tmpfiles.d
483b06
483b06
While server installation and upgrade code configures the IPA specific
483b06
tmpfiles location and creates relevant directories, the replica
483b06
installer code path is covered incompletely and one step is missing.
483b06
483b06
https://pagure.io/freeipa/issue/7053
483b06
483b06
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
483b06
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
483b06
---
483b06
 ipaserver/install/server/replicainstall.py | 3 +++
483b06
 1 file changed, 3 insertions(+)
483b06
483b06
diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py
483b06
index 4f28de25bd0adf958187c19edf90de4ba57dd98e..814925de152809808f726c60ae7f35a24bc32a4a 100644
483b06
--- a/ipaserver/install/server/replicainstall.py
483b06
+++ b/ipaserver/install/server/replicainstall.py
483b06
@@ -1515,6 +1515,9 @@ def install(installer):
483b06
         # remove the extracted replica file
483b06
         remove_replica_info_dir(installer)
483b06
 
483b06
+    # Make sure the files we crated in /var/run are recreated at startup
483b06
+    tasks.configure_tmpfiles()
483b06
+
483b06
     # Everything installed properly, activate ipa service.
483b06
     services.knownservices.ipa.enable()
483b06
 
483b06
-- 
483b06
2.9.4
483b06