Bug 1184536 - wrong value of /proc/PID/comm
Summary: wrong value of /proc/PID/comm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: mod_perl
Version: rh-perl520
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 2.0
Assignee: Jan Kaluža
QA Contact: Ondřej Pták
URL:
Whiteboard:
Depends On:
Blocks: 1193989 1205111
TreeView+ depends on / blocked
 
Reported: 2015-01-21 16:01 UTC by Ondřej Pták
Modified: 2016-10-26 10:48 UTC (History)
4 users (show)

Fixed In Version: mod_perl-2.0.8-5.20150122svn1653807.el7 mod_perl-2.0.8-5.20150122svn1653807.el6
Doc Type: Bug Fix
Doc Text:
Cause: Executing "killall httpd" command to terminate an HTTP daemon provided by httpd24-httpd package when mod_perl Apache module is in use. Consequence: The command cannot find the daemon process. Fix: The daemon was changed to set zeroth argument to its short name "httpd", so it is listed under this name in a process listing. Result: Its possible to terminate httpd process running a Red Hat Software Collection's mod_perl by the "killall httpd" command.
Clone Of:
: 1193989 1205111 1388851 (view as bug list)
Environment:
Last Closed: 2015-06-04 09:34:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1065 0 normal SHIPPED_LIVE new packages: rh-perl520 2015-06-04 13:24:47 UTC

Description Ondřej Pták 2015-01-21 16:01:38 UTC
Description of problem:
When service httpd24-httpd is running, httpd processes have bad command name in /proc/PID/comm and so "killall httpd" doesn't work

Version-Release number of selected component (if applicable):
httpd24-httpd-2.4.6-22.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. service httpd24-httpd start
2. ps -e|grep httpd

Actual results:
processes has name: /opt/rh/httpd24


Expected results:
processes should have name: httpd

Additional info:
1) "killall /opt/rh/httpd24/root/usr/sbin/httpd" does work
2) this problem is only with httpd24 on RHEL-6, systems's httpd is OK, httpd24@RHEL-7 is also OK

Comment 2 Joe Orton 2015-01-27 13:08:33 UTC
jkaluza says this is a mod_perl bug, similar to bug 782369.  We can attempt to resolve in perl520's mod_perl.

Comment 7 errata-xmlrpc 2015-06-04 09:34:11 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/RHEA-2015-1065.html


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