[MDEV-28605] mariadb-storage-rocksdb DEB package installs rocksdb.cnf in wrong directory Created: 2022-05-18  Updated: 2022-09-14  Resolved: 2022-09-14

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian, Storage Engine - RocksDB
Affects Version/s: 10.2.43, 10.3.34, 10.4.24
Fix Version/s: 10.3.37, 10.4.27

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Andrew Hutchings
Resolution: Fixed Votes: 0
Labels: Debian, not-10.5+, packaging
Environment:

Ubuntu 20.04 "focal", probably all .deb package platforms?


Issue Links:
Blocks
is blocked by MDEV-28837 Debian plugin package mariadb-plugins... Closed

 Description   

The mariadb-plugin-rocksdb pacakge for Ubuntu 20.04 installs an extra rocksdb.cnf containing plugin-load-add=ha_rocksdb.so, but it always puts it into /etc/mysql/mariadb.conf.d/. Config files from this directory are only included by default starting with MariaDB 10.5 though, so for 10.4 and older the file should be installed in /etc/mysql/conf.d/ instead.



 Comments   
Comment by Tuukka Pasanen [ 2022-06-14 ]

Thank you for bug report. Is this Ubuntu package or MariaDB official Ubuntu package? As I tested this with current upstream release and it works with /etc/mysql/mariadb.d

Comment by Hartmut Holzgraefe [ 2022-06-14 ]

I wouldn't report upstream packaging problems here

This is definitely a problem with our own 10.3 and 10.4 packages, installed after having run

mariadb_repo_setup --mariadb-server-version=mariadb-10.3 (or ...10.4)

to set up installation form our own repositories.

Comment by Tuukka Pasanen [ 2022-06-14 ]

I'll make all the plugins to work the same. Not installing stuff to /etc/mysql/mariadb.d but leave them to /etc/mysql/conf.d

Comment by Tuukka Pasanen [ 2022-06-15 ]

Now there is pull request compiling and ready for testing.

Generated at Thu Feb 08 10:02:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.