Bug 2579622
| Summary: | Mariadb 12.3.4 from F45 updates-testing fails to start | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Caudle <chris> |
| Component: | mariadb12.3 | Assignee: | Michal Schorm <mschorm> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | db-sig, mschorm |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | mariadb12.3-12.3.4-4.fc45 mariadb12.3-12.3.4-4.fc44 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-12-01 01:04:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chris Caudle
2026-11-20 18:50:36 UTC
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0 FEDORA-2026-628a70a5a0 has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-628a70a5a0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-628a70a5a0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Verified updated package in updates-testing installs and runs correctly now. FEDORA-2026-6d1b4a87a7 (mariadb12.3-12.3.4-4.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7 FEDORA-2026-66404410a8 (mariadb12.3-12.3.4-4.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8 FEDORA-2026-66404410a8 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-66404410a8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-66404410a8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-6d1b4a87a7 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-6d1b4a87a7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6d1b4a87a7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. After a power cycle the check for the mysql user home directory still seems to be flagging a false failure.
Output from systemctl status -l mariadb:
$ systemctl status -l mariadb
● mariadb.service - MariaDB 12.3 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: active (running) since Mon 2026-11-30 08:59:27 CST; 3h 46min ago
Invocation: 4e02d75b894049e691e33f451363750b
Docs: man:mariadbd(8)
https://mariadb.com/kb/en/library/systemd/
Main PID: 1333 (mariadbd)
Status: "Taking your SQL requests now..."
Tasks: 18 (limit: 231953)
Memory: 132.8M (peak: 132.8M)
CPU: 5.578s
CGroup: /system.slice/mariadb.service
└─1333 /usr/libexec/mariadbd --basedir=/usr
Nov 30 08:59:14 chubb.cc-net systemd[1]: Starting mariadb.service - MariaDB 12.3 database server...
Nov 30 08:59:21 chubb.cc-net mariadbd[1259]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Nov 30 08:59:21 chubb.cc-net mariadbd[1259]: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: Warning: Insecure MariaDB home directory detected:
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: Please change it to '/' to ensure that code cannot be run using
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: /.bashrc or /.bash_profile if ever logging in as
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: the 'mysql' user.
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: To change the home directory: usermod -d / mysql
Nov 30 08:59:27 chubb.cc-net mariadbd[1550]: More information: https://www.cve.org/CVERecord?id=CVE-2026-107814
Nov 30 08:59:27 chubb.cc-net systemd[1]: Started mariadb.service - MariaDB 12.3 database server.
The "Please change it to '/' to ensure that code cannot be run using" message does not seem correct, because the home directory for the mysql user was previously changed.
The userdbctl output indicates that the mysql user is running with home directory of / and no login allowed, which as far as I can tell is the recommended secure configuration:
$ userdbctl user mysql
User name: mysql
Disposition: system
Login OK: no (nologin shell)
Password OK: no (none set)
UID: 27
GID: 27 (mysql)
Real Name: MySQL Server
Directory: /
Storage: classic
Shell: /sbin/nologin
Passwords: none
Self Modify: none
(Blobs) none
(Privileged) none
So unclear why the message states that the home directory seems to be incorrect. This does not seem to negatively affect the db operation, so I'm not flagging this as another bug necessarily, just pointing this out in case someone recognizes that it might be a symptom of something else not configured correctly.
FEDORA-2026-628a70a5a0 (mariadb12.3-12.3.4-4.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-6d1b4a87a7 (mariadb12.3-12.3.4-4.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. |