Bug 866966
| Summary: | httpd needs restart post ipa-adtrust-install | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Steeve Goveas <sgoveas> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.4 | CC: | mkosek, spoore |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.0.0-7.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 09:28:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Steeve Goveas
2012-10-16 12:25:48 UTC
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 |