MariaDB post-release quality assurance in Debian and Ubuntu
Presentation from MariaDB Server Minifest Dec 9th, 2020.
See https://mariadb.org/minifest2020/distros/
Debian, Ubuntu & MariaDB
MariaDB post-release
quality assurance in
Debian and Ubuntu
Follow
@ottokekalainen
for
insight
about
the
open
source
world!
MariaDB Server Minifest
9th
of December 2020
~60 % of web
servers run
Debian or Ubuntu
apt install mariadb-server
w3techs.com/technologies/details/os-linux
Debian
Mother of all (or most)
Linux distros
commons.wikimedia.org/wiki/File:Linux_
Distribution_Timeline.svg
MariaDB and MySQL timeline
MariaDB 5.1
MariaDB 5.5
shipped in Debian 8 MariaDB 10.0
shipped in Debian 9 MariaDB 10.1
MariaDB 10.2
shipped in Debian 10 MariaDB 10.3
MariaDB 10.4
ships in Debian 11 MariaDB 10.5
MySQL 5.1 shipped in Debian 6
MySQL 5.5 shipped in Debian 7 and 8
MySQL 5.6
MySQL 5.7
MySQL 8.0
GA
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
State of MariaDB and MySQL in Debian
● MariaDB 10.3 in Buster (latest Debian stable release)
● MariaDB 10.5 in Bullseye (next Debian stable release)
● Galera 3 in Buster
● Galera 4 in Bullseye
○ also in Buster-backports and Stretch-backports
● No MySQL in stable Debian releases since Jessie
○ Exists in Debian unstable but will not migrate to testing and stable
○ Debian unstable had MySQL 5.7 for years, MySQL 8.0 since fall 2020
● mysql-defaults define the settings
○ Debian defaults to MariaDB as decided by the Debian release team
○ Ubuntu defaults to Oracle MySQL as decided by Canonical
MariaDB versions in Debian/Ubuntu
packages.debian.org/search?lang=en&suite=all&searchon=n
ames&keywords=mariadb-server
packages.ubuntu.com/search?lang=en&suite=all&searchon=
names&keywords=mariadb-server
Release flow in Debian
● There is a copy of MariaDB
sources at
salsa.debian.org/mariadb-team/
● Tool “uscan” is used to check
for new upstream releases = a
new tar.gz package to download
and import into Debian
● Packaging is done into the
debian/ directory
○ Upstream release: 10.5.8
○ Debian revision: 10.5.8-3
● Only Debian Developers can
upload to the Debian archive
Security releases cause challenges for quality assurance
ubuntu.com/security/notices/USN-4603-1www.debian.org/security/2020/dsa-4776
The Debian Policy
Linux distributions love
stability, standards and
quality!
The Debian Policy Manual
alone spans 150 pages
debian.org/doc/debian-policy/
Also in Ubuntu: autopkgtest.ubuntu.com
Piu Exactly the same
debci /
autopkgtests
tests and runner,
but in the Ubuntu
archive instead.
QA systems in Debian: piuparts.debian.org
Piu Tests installs,
upgrades,
removals etc
package
life-cycle.
QA systems in Debian: Lintian
Command-line tool and website that
runs thousands of checks that
analyze the package and suggest
fixes to the source, packaging or
the software itself (e.g.
spelling).
Many Lintian found issues are
useful to fix for all distros and
platforms, not just Debian.
Ubuntu users might file MariaDB bugs on Launchpad
bugs.launchpad.net/ubuntu/+source/mariadb-10.5
Eventually all
downstream fixes
flow also
upstream
debian/patches$ grep Forwarded *
928230-mysql_config---libmysqld-libs.patch:
Forwarded:
github.com/MariaDB/mariadb-connector-c/pull/109
hurd.patch:
Forwarded:
github.com/MariaDB/server/pull/918#discussion_r2
31432905
MDEV-18768-automate-auth_socket-to_unix_socket-u
pgrade.patch:
Forwarded: jira.mariadb.org/browse/MDEV-18768
mroonga-path-reproducible-build.patch:
Forwarded: github.com/mroonga/mroonga/issues/298
Plenty of work in both
developing new and maintaining old
Contributors welcome!
Please join!
You don’t have to be a
coder/developer to help,
there are plenty of other
valued skills as well!
● Participate in
bugs.debian.org
discussions!
● Send merge requests on
Salsa:
wiki.debian.org/Teams/MySQL/patches
● Contribute upstream:
mariadb.org/get-involved
● Join pkg-mysql-maint
mailing list
alioth-lists.debian.net/cgi-bin/mailman/listinfo/p
kg-mysql-maint