Bug 1403212 - rotatelogs: creation of zombie processes when -p is used
Summary: rotatelogs: creation of zombie processes when -p is used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: httpd
Version: 6.8
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: ---
Assignee: Luboš Uhliarik
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On: 1401694 1451333 1467402
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-09 12:47 UTC by Marcel Kolaja
Modified: 2020-03-11 15:28 UTC (History)
6 users (show)

Fixed In Version: httpd-2.2.15-56.el6_8.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1401694
Environment:
Last Closed: 2017-01-10 17:12:27 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0039 0 normal SHIPPED_LIVE httpd bug fix update 2017-01-10 22:03:42 UTC

Description Marcel Kolaja 2016-12-09 12:47:43 UTC
This bug has been copied from bug #1401694 and has been proposed
to be backported to 6.8 z-stream (EUS).

Comment 5 Jan Houska 2016-12-19 10:15:07 UTC
Verified: 

Old Fail:
:: [   LOG    ] :: Installed:    : httpd-2.2.15-55.el6_8.2.x86_64 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Looking for possible running gzip proces. :: actually running 'ps -A | grep 'gzip' | tee output1.log'
:: [   PASS   ] :: Looking for possible running gzip proces. (Expected 1, got 1)
:: [   PASS   ] :: File 'output1.log' should not contain 'gzip' 
:: [  BEGIN   ] :: Restarting httpd :: actually running 'httpStart'
httpd is stopped
:: [  BEGIN   ] :: Disabling mod_ssl and mod_nss :: actually running 'httpDisableMod ssl nss'
:: [  BEGIN   ] :: Disabling /etc/httpd/conf.d/ssl.conf :: actually running 'mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.disabled'
:: [   PASS   ] :: Disabling /etc/httpd/conf.d/ssl.conf (Expected 0, got 0)
:: [   PASS   ] :: Disabling mod_ssl and mod_nss (Expected 0, got 0)
:: [  BEGIN   ] :: starting httpd service :: actually running 'rlServiceStart httpd'
httpd is stopped
Starting httpd: gzip: /var/log/httpd/errorX.1481897482 has 1 other link  -- unchanged
gzip: /var/log/httpd/errorX.1481897482 has 1 other link  -- unchanged
gzip: /var/log/httpd/errorX.1481897482 has 1 other link  -- unchanged
[  OK  ]
:: [ 14:11:22 ] :: rlServiceStart: Service httpd started successfully
:: [   PASS   ] :: starting httpd service (Expected 0, got 0)
:: [  BEGIN   ] :: Creating test file :: actually running 'echo 'ok' > /var/www/html/http_testfile'
:: [   PASS   ] :: Creating test file (Expected 0, got 0)
:: [   PASS   ] :: Restarting httpd (Expected 0, got 0)
:: [  BEGIN   ] :: Looking for possible running gzip proces. :: actually running 'ps -A | grep 'gzip' | tee output2.log'
30069 ?        00:00:00 gzip <defunct>
:: [   FAIL   ] :: Looking for possible running gzip proces. (Expected 1, got 0)
:: [   FAIL   ] :: File 'output2.log' should not contain 'gzip' 
30069 ?        00:00:00 gzip <defunct>
'690d8fad-e682-480b-9f85-5ed04919345a'
Test result: FAIL
   metric: 2
   Log: /var/tmp/beakerlib-49194254/journal.txt
    Info: Searching AVC errors produced since 1481915482.17 (Fri Dec 16 14:11:22 2016)
     Searching logs...
     Info: No AVC messages found.
 Writing to /mnt/testarea/tmp.J2F2rb
:
   AvcLog: /mnt/testarea/tmp.J2F2rb


New PASS:

:: [   LOG    ] :: Installed:    : httpd-2.2.15-56.el6_8.3.x86_64 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Looking for possible running gzip proces. :: actually running 'ps -A | grep 'gzip' | tee output1.log'
:: [   PASS   ] :: Looking for possible running gzip proces. (Expected 1, got 1)
:: [   PASS   ] :: File 'output1.log' should not contain 'gzip' 
:: [  BEGIN   ] :: Restarting httpd :: actually running 'httpStart'
httpd is stopped
:: [  BEGIN   ] :: Disabling mod_ssl and mod_nss :: actually running 'httpDisableMod ssl nss'
:: [  BEGIN   ] :: Disabling /etc/httpd/conf.d/ssl.conf :: actually running 'mv /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.disabled'
:: [   PASS   ] :: Disabling /etc/httpd/conf.d/ssl.conf (Expected 0, got 0)
:: [   PASS   ] :: Disabling mod_ssl and mod_nss (Expected 0, got 0)
:: [  BEGIN   ] :: starting httpd service :: actually running 'rlServiceStart httpd'
httpd is stopped
Starting httpd: gzip: /var/log/httpd/errorX.1481897583 has 1 other link  -- unchanged
[  OK  ]
:: [ 14:13:03 ] :: rlServiceStart: Service httpd started successfully
:: [   PASS   ] :: starting httpd service (Expected 0, got 0)
:: [  BEGIN   ] :: Creating test file :: actually running 'echo 'ok' > /var/www/html/http_testfile'
:: [   PASS   ] :: Creating test file (Expected 0, got 0)
:: [   PASS   ] :: Restarting httpd (Expected 0, got 0)
:: [  BEGIN   ] :: Looking for possible running gzip proces. :: actually running 'ps -A | grep 'gzip' | tee output2.log'
:: [   PASS   ] :: Looking for possible running gzip proces. (Expected 1, got 1)
:: [   PASS   ] :: File 'output2.log' should not contain 'gzip' 
'd3f54407-007f-4f60-8733-dbb980089dc4'
Test result: PASS
   metric: 0
   Log: /var/tmp/beakerlib-49194256/journal.txt
    Info: Searching AVC errors produced since 1481915583.37 (Fri Dec 16 14:13:03 2016)
     Searching logs...
     Info: No AVC messages found.
 Writing to /mnt/testarea/tmp.0xB1eW
:
   AvcLog: /mnt/testarea/tmp.0xB1eW

Comment 7 errata-xmlrpc 2017-01-10 17:12:27 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://rhn.redhat.com/errata/RHBA-2017-0039.html


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