Bug 894955
Summary: | httpd 2.2.22 init script does not properly make use of the pid file | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brenton Leanhardt <bleanhar> | ||||
Component: | Apache Server (httpd) and Connectors | Assignee: | Weinan Li <weli> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.0.1 | CC: | fnasser, jason.greene, jawilson, jdoyle, jialiu, jkeck, jstefl, myarboro, pcheung, rsvoboda, vtunka | ||||
Target Milestone: | ER5 | ||||||
Target Release: | EAP 6.1.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 947579 (view as bug list) | Environment: | |||||
Last Closed: | 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 893884, 947391, 947579 | ||||||
Attachments: |
|
Description
Brenton Leanhardt
2013-01-14 06:19:14 UTC
Created attachment 678031 [details]
use the pidfile like rhel6
This patch makes the JBoss httpd service script almost exactly like the RHEL6 service script. The only modification I made was to re-add the check13 function to maintain that functionality if that is required for JBoss.
I believe there were tabs in the original JBoss httpd service script which makes it look like the check13 function changed. That is not the case.
This is a little more of an edge case for OpenShift than I originally thought. I'm lowering the severity to medium. After some more investigation was performed on this by the OpenShift we realized this affects more than just the OpenShift web services but also the end user applications that make use of httpd (the vast majority of applications). Whenever the JBoss httpd is restarted all the user applications will be stopped. *** Bug 893884 has been marked as a duplicate of this bug. *** We're writing a KBase article to help users work around this issue: https://access.redhat.com/knowledge/articles/311023 Fixing version to 6.0.1 since that's where the problem exists. I'm proposing this for 6.1.0, if we can squeeze it in. @Fernando, I think that's your call. Although we ship our own package because we want a version that is newer than the base OS, the httpd package is a RHEL package maintained upstream (RHEL). If the fix is already in RHEL we should backport it to EWS2 (which is where out httpd comes from ultimately) and if not, clone this BZ to httpd in RHEL and wait for their fix, then backport. I've created Bug 947579 for EWS 2.0.1, however, EWS 2.0.1 will come after EAP 6.1.0. How's that going to work in terms of getting the fix in for EAP 6.1.0? Builds for EWS 2.0.1 will be done in time for EAP 6.1.0, that was the agreement. I should have said: ... for the packages shared between EWS and EAP Great! I'll ensure that 947579 is on the EWS team's radar. Does that mean we can ack this BZ and mark it dependent on Bug 947579? Weinan, can you please fix this in the httpd build so that we can include this in EAP 6.1.0? Thanks! test, please ignore Okay, I'm working on this one today :-) Weinan, I see some builds in Brew already, once you are finished with RHEL, let me know please so I can start with Windows, Solaris and HP-UX. Hi Vaclav, here are the builds: httpd-2.2.22-16.ep6.el5 - https://brewweb.devel.redhat.com/buildinfo?buildID=265578 httpd-2.2.22-16.ep6.el6 - https://brewweb.devel.redhat.com/buildinfo?buildID=265541 I'll go on building jboss-ews and let you know my progress. JBoss EWS built: jboss-ews-2.0.0-0.32.ep6.el5 - https://brewweb.devel.redhat.com/buildinfo?buildID=265900 jboss-ews-2.0.0-0.32.ep6.el6 - https://brewweb.devel.redhat.com/buildinfo?buildID=265897 Hi Vaclav, could you please help on Win/Sol parts of work? After you finished I'll mark this bug as 'modified'. Thanks! Hi Weinan, first I noticed the patch is p0, Brew/Win and xbuild require p1 patch level by default, so I started to regenerate your patch to p1, however then I noticed this is a RHEL only script located in build/rpm/httpd.init. This is not needed on other platforms in my opinion. And openshift request is fixed by the RHEL part. Yeah it's a RHEL only fix, sorry to neglect that. I'll take caution on that next time :-) Verification on Win 32b and Solaris sparc64 OK. Verification on other platforms is in progress. Please ignore previous comment. Verified with 6.1.0.ER6 Rpm on RHEL5 32/64, RHEL6 32/64 PASSED |