diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-07-30 20:11:28 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-07-30 10:42:35 -0700 |
commit | 1a4144d954692ad68121d16adae09dc990e8ab1f (patch) | |
tree | 67de646d6eb9ba8c15cfc476d87088ee221db79c /meta-webserver | |
parent | 10152335d1e9b0a1db0ecf358b4cc66e8a028bad (diff) | |
download | meta-openembedded-1a4144d954692ad68121d16adae09dc990e8ab1f.tar.gz |
mariadb: redefine log-error item
The log-error item which defined in my.cnf is "/var/log/mysqld.err"
previouly and it's not consistent with which created in install_db
service file which will call mysql-systemd-start to create the file
"/var/log/mysqld.log".
And it fails when boot with sysvinit as below:
$ service mysqld start
Starting MariaDB.210727 04:05:03 mysqld_safe Logging to '/var/log/mysqld.err'.
210727 04:05:03 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql
/usr/bin/mysqld_safe_helper: Can't create/write to file '/var/log/mysqld.err' (Errcode: 13 "Permission denied")
So make the log-error item consistent to fix the above failure
and also remove the related workaround when boot with systemd.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver')
0 files changed, 0 insertions, 0 deletions