Mariadb 10.4 versions don't have homedir
Summary
Similar to mariadb105#25 (closed) we are finding that in mariadb 10.4.x versions, there is actually no homedir instead of incorrect permissions for the homedir. Recommendation is to perform a groupadd and useradd similar to https://repo1.dso.mil/dsop/opensource/python/python310/-/blob/development/Dockerfile#L76
RUN groupadd -g 1001 mysql && \
useradd -r -u 1001 -m -s /sbin/nologin -g mysql mysql
Steps to reproduce
(How one can reproduce the issue - this is very important)
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Tasks
-
Bug has been identified and corrected within the container