Bug 1440858

Summary: graceful start of stopped service fail
Product: Red Hat Software Collections Reporter: Jan Houska <jhouska>
Component: httpd24Assignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: jhouska, jorton
Target Milestone: ---Keywords: Regression
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd24-httpd-2.4.26-4.el7 Doc Type: Bug Fix
Doc Text:
When the "service httpd24-httpd graceful" command was used on Red Hat Enterprise Linux 7 while the httpd24-httpd service was not running, the daemon was started without being tracked by systemd. As a consequence, the daemon ran in an incorrect SELinux domain. This bug has been fixed, and the httpd daemon runs in the correct SELinux domain in the described scenario.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-24 09:48:50 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 Jan Houska 2017-04-10 15:44:46 UTC
Description of problem:
Regression was found. The httpd graceful start of the stopped service is failing. 

Version-Release number of selected component (if applicable):
httpd24-httpd-2.4.25-9.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.run test /CoreOS/httpd/Sanity/graceful-restart
2.
3.

Actual results:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Graceful start of stopped service (BZ#1214430)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: httpd should be stopped :: actually running 'service httpd24-httpd status'
Redirecting to /bin/systemctl status  httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

dub 10 11:25:33 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Starting The Apache HTTP Server...
dub 10 11:25:34 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Started The Apache HTTP Server.
dub 10 11:25:34 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Stopping The Apache HTTP Server...
dub 10 11:25:35 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Stopped The Apache HTTP Server.
:: [   PASS   ] :: httpd should be stopped (Expected 3, got 3)
:: [  BEGIN   ] :: Restarting httpd gracefully :: actually running 'service httpd24-httpd graceful'
httpd not running, trying to start
:: [   PASS   ] :: Restarting httpd gracefully (Expected 0,1, got 0)
:: [  BEGIN   ] :: httpd should be running :: actually running 'service httpd24-httpd status'
Redirecting to /bin/systemctl status  httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

dub 10 11:25:33 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Starting The Apache HTTP Server...
dub 10 11:25:34 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Started The Apache HTTP Server.
dub 10 11:25:34 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Stopping The Apache HTTP Server...
dub 10 11:25:35 qeos-69.lab.eng.rdu2.redhat.com systemd[1]: Stopped The Apache HTTP Server.
:: [   FAIL   ] :: httpd should be running (Expected 0, got 3)


Expected results:
test should pass

Additional info:
Following fail is expected and "ok" (NOTABUG bz1221611):
 : [   FAIL   ] :: File 'output' should contain '^LANG=ja_JP.utf-8$'

Comment 14 errata-xmlrpc 2017-10-24 09:48:50 UTC
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.

https://access.redhat.com/errata/RHSA-2017:3018