Files
meta-openembedded/meta-oe/recipes-dbs
Mingli Yu 1a4144d954 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>
2021-07-30 10:42:35 -07:00
..
2019-11-24 07:18:11 -08:00
2018-03-01 16:10:35 -08:00
2021-07-27 09:52:23 -07:00
2021-07-30 10:42:35 -07:00
2018-03-01 16:10:35 -08:00
2018-03-12 10:01:17 -07:00
2018-03-01 16:10:35 -08:00