Package: ipplan
Version: 4.86a-6
Severity: important

Hi,

When enabling Apache2 modules in the postinst script, the ipplan package
checks for the existence of /etc/apache2/mods-available/<mod>.load.
However, that file might still be available after removing (without
purging) the respective package. That happens e.g. when upgrading from
PHP4 to PHP5. In that case, installing ipplan fails because Apache2
fails to restart:

  apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax
  error on line 1 of /etc/apache2/mods-enabled/php4.load: Cannot load
  /usr/lib/apache2/modules/libphp4.so into server:
  /usr/lib/apache2/modules/libphp4.so: cannot open shared object file:
  No such file or directory

I'm not sure how to properly fix that. Maybe checking for the existence
of the appropriate .so file would be an option.

As a sidenote: Instead of checking for the existence of
.../mods-available/<foo> and .../mods-enabled/<foo> and then manually
calling ln -s, you might consider using a2enmod.

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to