Just to let these bugs now the progress that I made today on this issue.
These bugs are not the same, but I believe they all originate from the
same root cause.

Basically, I found out that dbconfig-common (dbc) always connects to the
mysql database with admin privileges (see _dbc_generate_mycnf in
internal/mysql). I believe this is unnecessary, as the admin privileges
are only needed (as far as I can tell) to create (or remove during
uninstall/purge) the database and user. After that, all the operations
that dbc performs (including backups I think) can be done with the
unprivileged user that is created for the package.

In order to achieve this the logic of dbc needs to be adjusted, as the
functions that execute the calls, don't know if they need privileged
rights or not.

As the current maintainer of dbc is not actively working on this
package, I will try to come up with a proper solution and provide a
patch for this administrator rights problem, which should solve these bugs.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to