Bug 1193989

Summary: wrong value of /proc/PID/comm
Product: [Fedora] Fedora EPEL Reporter: Martin Frodl <mfrodl>
Component: mod_perlAssignee: Jan Kaluža <jkaluza>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: jkaluza, jorton, kanderso, optak, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1184536 Environment:
Last Closed: 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:
Bug Depends On: 1184536, 1205111    
Bug Blocks:    

Description Martin Frodl 2015-02-18 17:05:09 UTC
Same problem as the one described in bug 1184536. When httpd service is started with mod_perl installed, /proc/[PID]/comm has different content than without it, rendering e.g. 'killall httpd' unusable.

# rpm -q mod_perl
package mod_perl is not installed
# systemctl start httpd
# for pid in `pgrep httpd`; do cat /proc/$pid/comm; done
httpd
httpd
httpd
httpd
httpd
httpd
# systemctl stop httpd
# yum install mod_perl
...
# systemctl start httpd
# for pid in `pgrep httpd`; do cat /proc/$pid/comm; done
/usr/sbin/httpd
/usr/sbin/httpd
/usr/sbin/httpd
/usr/sbin/httpd
/usr/sbin/httpd
/usr/sbin/httpd

Version-Release number of selected component (if applicable):
mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64
httpd-2.4.6-31.el7.x86_64

+++ This bug was initially created as a clone of Bug #1184536 +++

Comment 2 Jan Kaluža 2015-02-19 07:51:31 UTC
We do not ship mod_perl in RHEL7, Do you have the mod_perl package from EPEL7?

Comment 3 Martin Frodl 2015-02-19 08:46:06 UTC
You're right, it is the EPEL package.