Debian Bug report logs - #719265
apache2: Cleanup after a2_invoke enable third party mod|conf|site

version graph

Package: apache2; Maintainer for apache2 is Debian Apache Maintainers <[email protected]>; Source for apache2 is src:apache2 (PTS, buildd, popcon).

Reported by: "Jean-Michel Vourgère" <[email protected]>

Date: Fri, 9 Aug 2013 21:09:02 UTC

Severity: wishlist

Found in version apache2/2.4.6-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Apache Maintainers <[email protected]>:
Bug#719265; Package apache2. (Fri, 09 Aug 2013 21:09:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Jean-Michel Vourgère" <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Apache Maintainers <[email protected]>. (Fri, 09 Aug 2013 21:09:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: "Jean-Michel Vourgère" <[email protected]>
To: [email protected]
Subject: apache2: Cleanup after a2_invoke enable third party mod|conf|site
Date: Fri, 9 Aug 2013 21:07:03 +0000
Package: apache2
Version: 2.4.6-2

Sometimes a package needs to enable a third party module.

For example, jwchat enables module proxy_http on postinst.

According to policy, a package should clean after itself. But right now, there
is no way to do that: For example, it would be wrong for jwchat to disable
proxy_http on purge, since another package might need it too.

Therefore, I believe apache2-maintscript-helper should keep a list of
dependencies, I mean a list of packages that resulted on a specific module to
be enabled. Then, it could disable the module when all reasons to keep it are
gone. This might be achieved by storing origin package names in
/var/lib/apache2/ files, for example.

Alternatively, configurations/sites snippets might be allowed to describe
dependencies on modules by extending the #Depends mechanism to other categories
of snippets. These dependencies could be (re)evaluated on installation and
removal.
That solution is a bit more complex on the apache side, but it would make third
party scripts more simple, and could prevent multiple reloading of apache (If
a site needs 2 other modules, apache2 is reloaded 3 times right now).



Severity set to 'wishlist' from 'normal' Request was from Stefan Fritsch <[email protected]> to [email protected]. (Sun, 11 Aug 2013 09:45:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon Nov 11 14:43:01 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.