Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-05-14 Thread Jérôme Charaoui
Control: forwarded -1 https://github.com/puppetlabs/puppetlabs-mysql/issues/1566 After hitting this bug when upgrading a MariaDB server to bookworm, I submitted a bug report upstream: https://github.com/puppetlabs/puppetlabs-mysql/issues/1566 -- Jérôme

Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-25 Thread MichaIng
Who do you mean? Should be reported here by OP who faced the issue: https://github.com/puppetlabs/puppetlabs-mysql/issues Only the Puppet MySQL module developers will know whether they need plain text logging for some specific reason and how to hence address this best. Bookworm (and hence

Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-25 Thread Otto Kekäläinen
Hi! On Tue, 7 Mar 2023 at 06:51, MichaIng wrote: > > The Puppet module requires an update: > https://github.com/search?q=repo%3Apuppetlabs%2Fpuppetlabs-mysql%20%2Fvar%2Flog=code > > One option would be to make it create and chown the directory by itself, > if plain text logs are for some reason

Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-07 Thread MichaIng
The Puppet module requires an update: https://github.com/search?q=repo%3Apuppetlabs%2Fpuppetlabs-mysql%20%2Fvar%2Flog=code One option would be to make it create and chown the directory by itself, if plain text logs are for some reason needed/wanted. The probably cleaner option would be if it

Bug#1032407: [debian-mysql] Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-06 Thread Otto Kekäläinen
> Well, I did my setup with puppetlab's core mysql module to setup a galera > cluster. That puppet module I maintain it in Debian. I did just the same way > as I was doing in Bullseye, so something broke... > > Can we revert and have the directory pre-created by the package please ? ;) We can

Bug#1032407: [debian-mysql] Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-06 Thread Thomas Goirand
Well, I did my setup with puppetlab's core mysql module to setup a galera cluster. That puppet module I maintain it in Debian. I did just the same way as I was doing in Bullseye, so something broke... Can we revert and have the directory pre-created by the package please ? ;) Cheers, Thomas

Bug#1032407: [debian-mysql] Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-06 Thread Otto Kekäläinen
Hi Thomas! As Faustin wrote, the directory missing is by itself not an error. Can you please post the command you ran and the error message so we can see what tools/script tries to use this directory and what error message it outputs? The directory was removed in

Bug#1032407: [debian-mysql] Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-06 Thread Faustin Lammler
Hi Thomas! This seems like a normal behavior to me, at least this is what the /etc/mysql/mariadb.conf.d/50-server.cnf says: | # Note: The configured log file or its directory need to be created | # and be writable by the mysql user, e.g.: | # $ sudo mkdir -m 2750 /var/log/mysql | # $ sudo chown

Bug#1032407: Cannot start mariadb-server unless manually mkdir -p /var/lib/mysql

2023-03-06 Thread Thomas Goirand
Package: mariadb-server Version: 1:10.11.2-1 Severity: important Hi, As per $subject, I had to mkdir -p /var/log/mysql to make it work. This broke badly automation for me (ie: galera setup with puppet). I've set severity to important, however, as the setup of other programs may fail because of