[debian-mysql] Reason for code in mysql/mariadb -server-XX.preinst?
robie.basak at ubuntu.com
Thu Nov 12 13:20:36 UTC 2015
I'm looking at refactoring the flags code and data directory handling.
Looking at the preinst in both MySQL and MariaDB packaging, I see that
the server is being stopped, user and groups created and /var/lib/mysql/
Is there any reason that you can think of why this can't be done in the
postinst instead? That would make it simpler I think.
I understand that some goal might have been to make things fail early
(before unpack), but my plan after the refactoring is that there will
always be a path that won't fail, so I'm not worried about that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the pkg-mysql-maint