[debian-mysql] About removing /var/lib/mysql on purge

Bjoern Boschman bjoern at boschman.de
Wed Nov 26 09:21:37 UTC 2014


/var/www does not belong to apache.
/var/lib/mysql does only belong to mysql

some pkgs like slapd asks you during installation if the database
files shall remain during purge, so It can be made configurable?

2014-11-25 10:58 GMT+01:00 Stewart Smith <stewart at flamingspork.com>:
> Otto Kekäläinen <otto at seravo.fi> writes:
>> Here is a bug about /var/lib/mysql and /etc/mysql/debian.cnf being
>> left behing on purging which based on piuparts logs seem to apply on
>> both mysql and mariadb packages.
>>
>> I added the result of my investigation as comments in the bug three
>> weeks ago, but since then I haven't had any new ideas about it.
>>
>> Would somebody else maybe want to take a try to come up with a solution?
>
> Hrm... what does PostgreSQL do? Does removing apache remove /var/www ?
>
> I can imagine if --purge removed /var/lib/mysql we'd get bug reports
> about all of their data being gone....
>
> --
> Stewart Smith
>
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint



-- 
Mit freundlich Grüßen / Kind regards

Björn Boschman



More information about the pkg-mysql-maint mailing list