Missing dependency for apache2 init script

Bug #460692 reported by Nafallo Bjälevik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: apache2.2-common

 Hi,

It seems this package is missing a dependency on psmisc. From the init script:

nafallo@wizard:~$ grep killall /etc/init.d/apache2
 killall htcacheclean 2> /dev/null || echo ...not running

If killall doesn't exist on the server and you have mod_disk_cache enabled this fails silently, making sure you will run an additional htcacheclean daemon every time you restart (or even reload?) apache.

Rather than adding a dependency I would suggest we swap the use of killall to pkill (found in procps, a packages with Priority: required).

Thanks, /N

Related branches

Revision history for this message
Chuck Short (zulcss) wrote :

Nafallo,

Which version of apache are you using?

Regards
chuck

Changed in apache2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

<Nafallo> zul: the server is running hardy, I checked that it still exist on karmic, so at least hardy to karmic I would assume :-/

Changed in apache2 (Ubuntu):
status: Incomplete → Confirmed
Chuck Short (zulcss)
Changed in apache2 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apache2 - 2.2.14-2ubuntu1

---------------
apache2 (2.2.14-2ubuntu1) lucid; urgency=low

  * Merge from debian testing, remaining changes:
    - debian/{control, rules}: Enable PIE hardening.
    - debian/{control, rules, pache2.2-common.ufw.profile}: Add ufw profiles.
    - debian/conrol: Add bzr tag and point it to our tree.
    - removed debian/patches/203_fix_legacy_ap_rputs_segfaults.dpatch: it was
      already dropped from 00list, so just remove the patch entirely

apache2 (2.2.14-2) unstable; urgency=medium

  * Security:
    Reject any client-initiated SSL/TLS renegotiations. This is a partial fix
    for the TLS renegotiation prefix injection attack (CVE-2009-3555).
    Any configuration which requires renegotiation for per-directory/location
    access control is still vulnerable.
  * Allow RemoveType to override the types from /etc/mime.types. This allows
    to use .es and .tr for Spanish and Turkish files in mod_negotiation.
    Closes: #496080
  * Fix 'CacheEnable disk http://'. Closes: #442266
  * Fix missing dependency by changing killall to pkill in the init script.
    LP: #460692
  * Add X-Interactive header to init script as it may ask for the ssl key
    passphrase. Closes: #554824
  * Move httxt2dbm man page into apache2.2-bin, which includes httxt2dbm, too.
  * Enable keepalive for MSIE 7 and newer in default-ssl site and README.Debian
 -- Jamie Strandboge <email address hidden> Thu, 12 Nov 2009 16:09:30 -0600

Changed in apache2 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.