[debian-mysql] Bug#1056395: mariadb-server: debian.cnf [mysql_upgrade] basedir option ignored

Jeremy Davis jeremy at turnkeylinux.org
Thu Nov 23 01:51:48 GMT 2023


On 23/11/23 12:29, Otto Kekäläinen wrote:> If you can reproduce the 
issue you reported in a fresh environment in
> a similar way it would prove the experience you had is not just
> because of some custom configuration in your specific environment.
> 
> Thanks!

FWIW, I can't speak to sid, but it certainly appears to be in the 
bookworm package as reported:

# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

# apt policy mariadb-server
mariadb-server:
   Installed: (none)
   Candidate: 1:10.11.4-1~deb12u1
   Version table:
      1:10.11.4-1~deb12u1 500
         500 http://deb.debian.org/debian bookworm/main amd64 Packages

# apt download mariadb-server
Get:1 http://deb.debian.org/debian bookworm/main amd64 mariadb-server 
amd64 1:10.11.4-1~deb12u1 [3660 kB]
Fetched 3660 kB in 0s (10.5 MB/s)
W: Download is performed unsandboxed as root as file 
'/root/mariadb-server_1%3a10.11.4-1~deb12u1_amd64.deb' couldn't be 
accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

# rm -rf tmp

# dpkg-deb -R mariadb-server_1%3a10.11.4-1~deb12u1_amd64.deb tmp

# grep -r '^basedir' tmp
tmp/etc/mysql/mariadb.conf.d/50-server.cnf:basedir      = /usr

(I removed some whitespace from the last line to stop wrapping, but 
otherwise the output is simply copy/pasted).

I hope that helps...

Regards,
Jeremy


> 
> PS. Please use reply-to-all to ensure 1056395 at bugs.debian.org is
> included in your replies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20231123/77563527/attachment.sig>


More information about the pkg-mysql-maint mailing list