[MDEV-19726] MariaDB server or backup RPM install assumes mysql user exists Created: 2019-06-10 Updated: 2019-07-10 Resolved: 2019-07-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Affects Version/s: | 10.3.15 |
| Fix Version/s: | 10.2.26, 10.1.41, 10.3.17, 10.4.7 |
| Type: | Bug | Priority: | Minor |
| Reporter: | J. Lewis Muir | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL Workstation 7.6, x86_64. |
||
| Description |
|
NOTE: I set the priority of this issue to Major because I don't know where the RPM install is failing. There could be security implications for a chown command that is not able to execute successfully thus leaving whatever files or directories it was trying to change ownership of with unexpected ownership. As root, run the command
which produces
on the console as it's installing right after the line
So, this is likely either a problem with the MariaDB-server package (since the error message comes right after its "Installing" line) or the MariaDB-backup package (since the error message comes right before its "Installing" line). I suspect one of these packages incorrectly assumes the mysql user exists. After the install completes, the mysql user exists--I assume because one of the three packages adds it. If the three packages are uninstalled
and then installed again
then this second time there is no error about the user mysql being invalid. I presume this is because the mysql user is not removed as part of the package removal and therefore the user already exists the second time around. |
| Comments |
| Comment by Elena Stepanova [ 2019-06-17 ] | ||||||||||||||||||
|
Probably it's a bogus complaint, since the installation seems to work all right, but better to check.
Previous versions are most likely also affected, but I didn't check. |