Red Hat Bugzilla – Bug 866966
httpd needs restart post ipa-adtrust-install
Last modified: 2015-05-13 03:17:33 EDT
Description of problem: If ipa-server-trust-ad is installed after ipa server is installed and configured, httpd needs a restart post ipa-adtrust-install is run. This is for additional python modules to be loaded into httpd on IPA initialization. Version-Release number of selected component (if applicable): ipa-server-trust-ad-3.0.0-2.fc18.x86_64 ipa-server-3.0.0-2.fc18.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Added for f18 https://bugzilla.redhat.com/show_bug.cgi?id=866969 trac https://fedorahosted.org/freeipa/ticket/3182
Upstream ticket: https://fedorahosted.org/freeipa/ticket/3185
*** Bug 866969 has been marked as a duplicate of this bug. ***
master: fe66fbe637132ac5eb22eea388e2261f33497bf5 ipa-3-0: 6b7e5ec71ad9c6cf852e05086f45f8147c7c066c httpd is now restarted when ipa-server-trust-ad package is installed/updated AND IPA is configured on the system.
Verified. Version :: ipa-server-trust-ad-3.0.0-8.el6.x86_64 Manual Test Results :: # simple test: DATE1=$(ps -ef|grep "h[t]tpd" | tail -1 | awk '{print $5}'|sed 's/://g') yum -y install ipa-server-trust-ad DATE2=$(ps -ef|grep "h[t]tpd" | tail -1 | awk '{print $5}'|sed 's/://g') if [ $DATE2 -gt $DATE1 ]; then echo BZ NOT FOUND else echo BZ FOUND fi For automation may want/need to put a 1 min sleep in to be certain that the DATES will differ if httpd is restarted. ------ output ----------- [root@rhel6-1 log]# DATE1=$(ps -ef|grep "h[t]tpd" | tail -1 | awk '{print $5}'|sed 's/://g') [root@rhel6-1 log]# yum -y install ipa-server-trust-ad Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package ipa-server-trust-ad.x86_64 0:3.0.0-8.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ======================================================================================================= Package Arch Version Repository Size ======================================================================================================= Installing: ipa-server-trust-ad x86_64 3.0.0-8.el6 rhel64 120 k Transaction Summary ======================================================================================================= Install 1 Package(s) Total download size: 120 k Installed size: 257 k Downloading Packages: ipa-server-trust-ad-3.0.0-8.el6.x86_64.rpm | 120 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : ipa-server-trust-ad-3.0.0-8.el6.x86_64 1/1 Verifying : ipa-server-trust-ad-3.0.0-8.el6.x86_64 1/1 Installed: ipa-server-trust-ad.x86_64 0:3.0.0-8.el6 Complete! [root@rhel6-1 log]# DATE2=$(ps -ef|grep "h[t]tpd" | tail -1 | awk '{print $5}'|sed 's/://g') [root@rhel6-1 log]# if [ $DATE2 -gt $DATE1 ]; then > echo BZ NOT FOUND > else > echo BZ FOUND > fi BZ NOT FOUND [root@rhel6-1 log]# rpm -q --scripts ipa-server-trust-ad|grep httpd.*restart /sbin/service httpd condrestart >/dev/null 2>&1 || :
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0528.html