[debian-mysql] Bug#865931: Bug#865931: Dealing with new packaging policy

Robie Basak robie.basak at ubuntu.com
Fri Jun 15 16:14:05 BST 2018


On Fri, Jun 15, 2018 at 04:42:20PM +0200, Narcis Garcia wrote:
> Applications and CMS ask user for username&password to create their
> databases and dedicated accounts. This is not solved with unattended
> install of MariaDB server because those programs don't use "sudo", and
> new Debian packaging policy seems only friendly with terminal-based
> configuration.
> 
> Take into account that previous behaviour of MySQL server packages was
> incompatible with unattended installs, because of the use of whiptail to
> ask for "root" password.

This is incorrect. MySQL and MariaDB packaging correctly integrates with
debconf. If you don't know how to use debconf to achieve unattended
installs, then please read up the documentation on that. If there's a
bug in the implementation which causes it not to work, then please file
a full bug report on that.

If you need to set up MySQL or MariaDB to permit a non-privileged user
to access the database, then you can use sudo (or equivalent) to set
that up, just like anything else on a Debian system. You can certainly
script that for unattended installation, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20180615/e14af482/attachment.sig>


More information about the pkg-mysql-maint mailing list