[Buildroot] [PATCH v3 1/8] package/mariadb: fix permissions of data dir when using systemd
peter at korsgaard.com
Tue Feb 4 13:38:31 UTC 2020
>>>>> "Ryan" == Ryan Coe <bluemrp9 at gmail.com> writes:
> mysql_install_db is currently called in the systemd unit without
> --user=mysql that the sysv script uses. This will generate the initial
> database files with root permissions. However, mysqld runs as user mysql
> so this will cause problems. We fix this by calling chown instead of
> passing the user parameter because an upcoming version bump will fail when
> ran this way.
It would be good to explain what that failure is, but OK.
Bye, Peter Korsgaard
More information about the buildroot