Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1440858 - graceful start of stopped service fail
graceful start of stopped service fail
Status: CLOSED ERRATA
Product: Red Hat Software Collections
Classification: Red Hat
Component: httpd24 (Show other bugs)
httpd24
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.0
Assigned To: Luboš Uhliarik
Jan Houska
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-10 11:44 EDT by Jan Houska
Modified: 2017-10-24 05:48 EDT (History)
2 users (show)

See Also:
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 05:48:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3018 normal SHIPPED_LIVE Moderate: httpd24 security, bug fix, and enhancement update 2017-10-24 09:22:23 EDT

  None (edit)
Description Jan Houska 2017-04-10 11:44:46 EDT
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 05:48:50 EDT
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

Note You need to log in before you can comment on or make changes to this bug.