diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2021-07-30 20:11:28 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2021-08-01 09:31:21 -0700 |
| commit | 56b77e4fe7591580fa9d8335d697652ae11601fe (patch) | |
| tree | a698e3b9c01df1da862741d15bcfe8aa1d04eb90 /meta-python/recipes-devtools/python/python3-backports-functools-lru-cache | |
| parent | 620e4a48f57978ec1b67349773589362fb3b15c9 (diff) | |
| download | meta-openembedded-56b77e4fe7591580fa9d8335d697652ae11601fe.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>
(cherry picked from commit 1a4144d954692ad68121d16adae09dc990e8ab1f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-backports-functools-lru-cache')
0 files changed, 0 insertions, 0 deletions
