[MDEV-30329] mariadb-service-convert resets systemd service to default User=root Created: 2023-01-02 Updated: 2023-01-03 Resolved: 2023-01-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.3.37 |
| Fix Version/s: | 10.11.2, 11.0.1, 10.3.38, 10.4.28, 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Daniel Black |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
From TheLinuxJedi If mariadb-service-convert is run and the user variable is unset then this sets `User=` in `[Service]`, which then tries to run mariadb as root, which in-turn fails. This only happens when mysqld_safe is missing which is all the time now. So... 1. Don't set `User=` if there is no user variable. |
| Comments |
| Comment by Daniel Black [ 2023-01-03 ] |
|
Thanks to fix from TheLinuxJedi |