[pkg-uWSGI-devel] Bug#839666: Incorrect usage of prerm
codehelp at debian.org
Tue Oct 4 15:28:23 UTC 2016
The problem appears to come down to the a2dismod being called inside a
check for "purge" in the prerm script.
prerm does not get called for "purge", only "remove".
postrm gets called with "purge" or with "remove".
prerm cannot expect to be called with "purge", that is not Policy
* uwsgi needs to use a2dismod in prerm upon the "remove" (and
"deconfigure") command as that is when the .so is removed, leaving the
dangling symlink which trips up Apache. This is how wsgi does it.
* uwsgi may also (like wsgi) choose to use a2dismod upon "purge" in the
So this is a packaging bug in uwsgi - the a2dismod is never called.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 801 bytes
Desc: OpenPGP digital signature
More information about the pkg-uWSGI-devel