[debian-mysql] Bug#1009290: Bug#1009290: mariadb-server-10.6: Fails to start on live system

Daniel Lewart lewart3 at gmail.com
Tue Jan 31 07:30:10 GMT 2023


Otto, et al,

How about temporarily inserting something like the implementation below of
Arnaud R's workaround somewhere (where?) in mariadb-server(-10.6).postinst?

Thank you!
Daniel Lewart
Urbana, Illinois
---
# Temporary workaround which should be removed after upstream fixes
# https://jira.mariadb.org/browse/MDEV-28751
fstype=$(findmnt -n -o FSTYPE -T /var/lib/mysql)
if [ "$fstype" = overlay ]; then
    cat <<- EOF > "${mysql_cfgdir:-/etc/mysql}/mariadb.conf.d/90-live.cnf"
    [mysqld]
    innodb_flush_method = fsync
EOF
fi



More information about the pkg-mysql-maint mailing list