[debian-mysql] About removing /var/lib/mysql on purge
Stewart Smith
stewart at flamingspork.com
Thu Nov 27 03:43:07 UTC 2014
Clint Byrum <spamaps at debian.org> writes:
> Excerpts from Petr Vorel's message of 2014-11-26 13:28:55 -0800:
>> Hi there,
>>
>> > /var/www does not belong to apache.
>> $ dpkg -S /var/www/
>> apache2.2-common: /var/www
>>
> The difference is that apache does not _write_ things into /var/www. It
> is not responsible for /var/www/*, just for /var/www since it puts an
> index.html there. So _if it is empty_ dpkg will remove it.
>
> That is a far cry from mysqld which creates many files in /var/lib/mysql
> and manages them exclusively.
>
> Purge is for wiping every trace of a package from your system. It is
> poorly documented as such, but piuparts is enforcing policy and is
> correct in identifying mysql as a package which does not, by default,
> clean up after itself on purge.
Good points.
I think leaving /var/lib/mysql around will generate less hate mail than
removing it though.
Maybe time for a
--purge-and-remove-my-data-that-could-make-me-cry-and-get-me-fired
option?
--
Stewart Smith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20141127/4fe7b74d/attachment.sig>
More information about the pkg-mysql-maint
mailing list