Hi Christoph! Thanks a lot for your feedback. I was currently looking at open RC bugs for wheezy.
On Fri, Oct 19, 2012 at 11:16:51AM +0200, Christoph Berg wrote: > thanks for the patch, but I don't think it is valid. If you remove > the dacs module, but leave the apache config there, apache will not > be happy. I guess the best would be to call a2dismod to remove the > symlink when the package is removed. I cannot look at it right now, but maybe in the weekend. If I'm correct your are doing this step already in the prerm for both remove and purge. So the module get's disabled for apache2 on removal: In prerm there is: ----cut---------cut---------cut---------cut---------cut---------cut----- #!/bin/sh set -e if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then a2dismod auth_dacs || true fi #DEBHELPER# exit 0 ----cut---------cut---------cut---------cut---------cut---------cut----- With dropping the removal of /etc/apache2/mods-available/auth_dacs.load for the remove action (in postrm), you leave the auth_dacs.load only around in /etc/apache2/mods-available (not mods-enabled). On purge on the other hand the file then get's removed. Having the file only available in mods-available should not harm if it is not enabled (in mods-enabled) But I can try to retest this approach and can report back to you. Regards, Salvatore
signature.asc
Description: Digital signature