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