The spec file has been modified to reload systemd daemon after
upgrade to avoid errors/warnings when executing systemd commands.
https://fedorahosted.org/pki/ticket/1255
--
Endi S. Dewata
From f37cca197b016d60bb2997805473410eba73f254 Mon Sep 17 00:00:00
2001
From: "Endi S. Dewata" <edewata(a)redhat.com>
Date: Fri, 27 Feb 2015 09:35:11 -0500
Subject: [PATCH] Fixed systemd errors/warnings after upgrade.
The spec file has been modified to reload systemd daemon after
upgrade to avoid errors/warnings when executing systemd commands.
https://fedorahosted.org/pki/ticket/1255
---
specs/pki-core.spec | 1 +
1 file changed, 1 insertion(+)
diff --git a/specs/pki-core.spec b/specs/pki-core.spec
index a9d9db6d208642bdd5e88025e15e8f4e4553215c..29ee2c1d083201bb931036e2f13dfa6bf77725fb
100644
--- a/specs/pki-core.spec
+++ b/specs/pki-core.spec
@@ -704,6 +704,7 @@ echo "Upgrading server at `/bin/date`." >>
/var/log/pki/pki-server-upgrade-%{ver
/sbin/pki-server-upgrade --silent >>
/var/log/pki/pki-server-upgrade-%{version}.log 2>&1
echo >> /var/log/pki/pki-server-upgrade-%{version}.log 2>&1
+systemctl daemon-reload
## %preun -n pki-server
## NOTE: At this time, NO attempt has been made to update ANY PKI subsystem
--
1.8.4.2
_______________________________________________
Pki-devel mailing list
Pki-devel(a)redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel