Bug 1440858 - graceful start of stopped service fail
Summary: graceful start of stopped service fail
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: httpd24
Version: httpd24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.0
Assignee: Luboš Uhliarik
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-10 15:44 UTC by Jan Houska
Modified: 2017-10-24 09:48 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
Last Closed: 2017-10-24 09:48:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3018 0 normal SHIPPED_LIVE Moderate: httpd24 security, bug fix, and enhancement update 2017-10-24 13:22:23 UTC

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


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