Comment 0 for bug 1206878

Revision history for this message
Klaus Ethgen (klaus+ubuntu) wrote : Configuration should be purged only in nginx-common

nginx in ubuntu has a very violently bug when purging one of the packages
nginx-full, nginx-light or nginx-naxsi while moving from light to full or other
ways. The packages -light, -full and -naxsi will remove /etc/nginx,
/var/log/nginx and /var/lib/nginx completely leaving the system broken. The
directories are not owned by this respective packages at all then owned by
nginx-common. So after such a transition the whole nginx installation is broken
and one has to also first to purge nginx-common and reinstalling it.

Unneeded to say that all own site configurations has been deleted too.

This is a massive violation of debian policy. However, debian had never has
this bug in one of there stable distributions, so this bug only affects ubuntu
(12.04 LTS was checked by me)

Let me also say, that it is a pain in the ass to fill a bug for ubuntu. There
is no such a tool like reportbug in debian and the final page to fill the bug
in launchpad is very good hidden!