Bug 1193989 - wrong value of /proc/PID/comm
Summary: wrong value of /proc/PID/comm
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mod_perl
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kaluža
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1184536 1205111
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-18 17:05 UTC by Martin Frodl
Modified: 2016-10-26 10:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1184536
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1388851 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1388851

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.


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