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

Otto Kekäläinen otto at debian.org
Tue Jan 31 08:13:36 GMT 2023


> 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

Maybe just call it 90-overlayfs.cnf?

But I don't think this should be part of the maintainer scripts, maybe
something else? Feel free to open MR if you have a concrete
suggestion.
https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/Contributing-to-MariaDB-packaging-in-Debian

It would also be cool to have in the salsa-ci.yml a job that attempts
to use and run off overlayfs.



More information about the pkg-mysql-maint mailing list