← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1008385] [NEW] libapache2-mod-perl2 writes wrong process name in /proc/$$/status

 

You have been subscribed to a public bug:

# uname -a
Linux ---.com 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/issue
Ubuntu 12.04 LTS \n \l

# dpkg-query -l|grep apache
ii  apache2                               2.2.22-1ubuntu1                     Apache HTTP Server metapackage
ii  apache2-mpm-itk                       2.2.22-1ubuntu1                     multiuser MPM for Apache 2.2
ii  apache2-suexec                        2.2.22-1ubuntu1                     Standard suexec program for Apache 2 mod_suexec
ii  apache2-utils                         2.2.22-1ubuntu1                     utility programs for webservers
ii  apache2.2-bin                         2.2.22-1ubuntu1                     Apache HTTP Server common binary files
ii  apache2.2-common                      2.2.22-1ubuntu1                     Apache HTTP Server common files
ii  libapache2-mod-perl2                  2.0.5-5ubuntu1                      Integration of perl with the Apache2 web server
ii  libapache2-mod-php5                   5.3.10-1ubuntu3.1                   server-side, HTML-embedded scripting language (Apache 2 module)
ii  libapache2-mod-rpaf                   0.6-2                               module for Apache2 which takes the last IP from the 'X-Forwarded-For' header
ii  libapache2-reload-perl                0.11-2                              module for reloading Perl modules when changed on disk

# apache2 -v
Server version: Apache/2.2.22 (Ubuntu)
Server built:   Feb 13 2012 01:51:55

# ps axu|grep apache
root      9070  0.0  0.3 526708 99456 ?        S    12:04   0:00 /usr/sbin/apache2 -k start
....

# cat /proc/9070/status
Name:	/usr/sbin/apach
State:	S (sleeping)
Tgid:	9070
...

The "Name:" must be "apache2". I have troubles in searching processes by name with some unpleasant consequences.
If prefork version of apache is installed, it shows correct process name.

** Affects: libapache2-mod-perl2 (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: libapache2-mod-perl2 (Debian)
     Importance: Unknown
         Status: New

** Affects: fedora
     Importance: Unknown
         Status: Unknown


** Tags: 12.04 apache-mpm-itk bot-comment name process
-- 
libapache2-mod-perl2 writes wrong process name in /proc/$$/status
https://bugs.launchpad.net/bugs/1008385
You received this bug notification because you are a member of Debian Perl Group, which is subscribed to libapache2-mod-perl2 in Ubuntu.