Update default datadir for debian to be /var/lib/mariadb#5059
Update default datadir for debian to be /var/lib/mariadb#5059lvoytek wants to merge 1 commit intoMariaDB:mainfrom
Conversation
Match the existing datadir setting for Debian and Ubuntu, which was changed from /var/lib/mysql to /var/lib/mariadb in 1:11.8.6-5.
There was a problem hiding this comment.
Code Review
This pull request updates the default data directory for Debian-based installations in cmake/install_layout.cmake by changing INSTALL_MYSQLDATADIR_DEB from /var/lib/mysql to /var/lib/mariadb. No review comments were provided for this change, and I have no feedback to provide.
|
Questions:
@ottok, what do you think? |
|
Thanks @lvoytek
Ubuntu 26.04 already carrying the patch for 11.8_+
I opened https://jira.mariadb.org/browse/MDEV-39461 But yes, we'll need the scripts too.
Like Debian - straight from debian/rules
I do like the last plan. Question is, do we stop on Deb changes or include RPM too?
Its already in Debian sid. https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/155 I was hoping to see more of the script changes from that here. Having a modified subset in 11.8 to handle Ubuntu upgrade to our vendor ones would be good too to solve MDEV-39461. Probably like a earlier version in salsa merge request 155 that dropped the config file in the post install without changing the default. |
Match the existing datadir setting for Debian and Ubuntu, which was changed from /var/lib/mysql to /var/lib/mariadb in 1:11.8.6-5.
Existing Debian patch: https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/patches/set-default-datadir-to-var-lib-mariadb.patch