[MDEV-21934] MariaDB 10.3 galera cluster do not start on Ubuntu 20.04 Created: 2020-03-13 Updated: 2020-10-27 Resolved: 2020-10-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.3.22 |
| Fix Version/s: | 10.3.25 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Volodymyr Litovka | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | None | ||
| Environment: |
Ubuntu 20.04 |
||
| Issue Links: |
|
||||||||
| Description |
|
Hi, Ubuntu 20.04 will come with systemd 244 which by default set fs.protected_regular = 1 which prevents to start MariaDB 10.3 Galera cluster, which, on the other hand, is selected for Ubuntu 20.04. As a workaround, it can be possible to set fs.protected_regular to 0, but this is a system-wide security feature. The fix for MariaDB 10.4 and 10.5 is available - https://jira.mariadb.org/browse/MDEV-21140 In order to make MariaDB 10.3 compatible with default security settings of Ubuntu 20, the Thank you. |
| Comments |
| Comment by Otto Kekäläinen [ 2020-08-28 ] | ||||||||||||||||||||||
|
This issue is kind of a duplicate of https://jira.mariadb.org/browse/MDEV-21140 However vital information in this bug report that is missing what version of MariaDB were you running? Now it was left in the air if there is a version out there that needs to be upgraded for the https://jira.mariadb.org/browse/MDEV-21140 to be delivered. What does `dpkg -l | grep mariadb` print on your system? | ||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-08-28 ] | ||||||||||||||||||||||
|
Looking at https://github.com/mariadb/server/commit/241ac3f4873007cced7b547837f311da5c1261ce the fix was applied on all MariaDB Server branches with Galera. Next (week) I need to check which version shipped to what distro and release. | ||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-08-28 ] | ||||||||||||||||||||||
|
Assigned to myself since Jan had not done anything about this since March and I was anyway involved in debugging and landing the fix in upstream (due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945051) | ||||||||||||||||||||||
| Comment by Volodymyr Litovka [ 2020-08-28 ] | ||||||||||||||||||||||
|
Hi Otto, at the moment, I don't have Ubuntu 20 v/ Galera, so can't show "dpkg -l". But when I was filling the issue, there was a clean installation of Ubuntu 20 and MariaDB from Ubuntu's repositories and it was 10.3. > This issue is kind of a duplicate of https://jira.mariadb.org/browse/MDEV-21140 Yes, I just want to note that fix for 21140 need to be backported to 10.3, because 10.3 will be in use next five years with Ubuntu 20. Thank you. | ||||||||||||||||||||||
| Comment by Pieter Verhaeghe [ 2020-08-28 ] | ||||||||||||||||||||||
|
I can confirm this bug. This is my output of `dpkg -l | grep mariadb`: ii mariadb-client-10.3 1:10.3.22-1ubuntu1 amd64 MariaDB database client binaries | ||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-09-01 ] | ||||||||||||||||||||||
|
Reported and tracker in Launchpad at https://bugs.launchpad.net/ubuntu/+source/mariadb-10.3/+bug/1884780 | ||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-10-27 ] | ||||||||||||||||||||||
|
https://launchpad.net/ubuntu/+source/mariadb-10.3/1:10.3.25-0ubuntu0.20.04.1
|