From b24148b1467da08de2ddf687cb22b1fb18f43c73 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 8 Feb 2022 19:25:42 +0100 Subject: 10.9 branch --- VERSION | 6 +- debian/additions/mariadb.conf.d/50-server.cnf | 4 +- debian/additions/source_mariadb-10.8.py | 54 ---- debian/additions/source_mariadb-10.9.py | 54 ++++ debian/changelog | 2 +- debian/control | 106 ++++---- debian/mariadb-client-10.8.README.Debian | 4 - debian/mariadb-client-10.8.docs | 2 - debian/mariadb-client-10.8.install | 68 ----- debian/mariadb-client-10.8.links | 27 -- debian/mariadb-client-10.8.manpages | 2 - debian/mariadb-client-10.8.menu | 3 - debian/mariadb-client-10.9.README.Debian | 4 + debian/mariadb-client-10.9.docs | 2 + debian/mariadb-client-10.9.install | 68 +++++ debian/mariadb-client-10.9.links | 27 ++ debian/mariadb-client-10.9.manpages | 2 + debian/mariadb-client-10.9.menu | 3 + debian/mariadb-client-core-10.8.install | 8 - debian/mariadb-client-core-10.8.links | 1 - debian/mariadb-client-core-10.9.install | 8 + debian/mariadb-client-core-10.9.links | 1 + debian/mariadb-server-10.8.README.Debian | 204 --------------- debian/mariadb-server-10.8.config | 14 -- debian/mariadb-server-10.8.dirs | 1 - debian/mariadb-server-10.8.install | 83 ------- debian/mariadb-server-10.8.links | 10 - .../mariadb-server-10.8.logcheck.ignore.paranoid | 9 - debian/mariadb-server-10.8.logcheck.ignore.server | 30 --- ...mariadb-server-10.8.logcheck.ignore.workstation | 30 --- debian/mariadb-server-10.8.mariadb.init | 207 ---------------- debian/mariadb-server-10.8.mysql-server.logrotate | 20 -- debian/mariadb-server-10.8.mysql.default | 22 -- debian/mariadb-server-10.8.postinst | 273 --------------------- debian/mariadb-server-10.8.postrm | 99 -------- debian/mariadb-server-10.8.preinst | 224 ----------------- debian/mariadb-server-10.8.prerm | 12 - debian/mariadb-server-10.8.templates | 45 ---- debian/mariadb-server-10.8.triggers | 2 - debian/mariadb-server-10.9.README.Debian | 204 +++++++++++++++ debian/mariadb-server-10.9.config | 14 ++ debian/mariadb-server-10.9.dirs | 1 + debian/mariadb-server-10.9.install | 83 +++++++ debian/mariadb-server-10.9.links | 10 + .../mariadb-server-10.9.logcheck.ignore.paranoid | 9 + debian/mariadb-server-10.9.logcheck.ignore.server | 30 +++ ...mariadb-server-10.9.logcheck.ignore.workstation | 30 +++ debian/mariadb-server-10.9.mariadb.init | 207 ++++++++++++++++ debian/mariadb-server-10.9.mysql-server.logrotate | 20 ++ debian/mariadb-server-10.9.mysql.default | 22 ++ debian/mariadb-server-10.9.postinst | 273 +++++++++++++++++++++ debian/mariadb-server-10.9.postrm | 99 ++++++++ debian/mariadb-server-10.9.preinst | 224 +++++++++++++++++ debian/mariadb-server-10.9.prerm | 12 + debian/mariadb-server-10.9.templates | 45 ++++ debian/mariadb-server-10.9.triggers | 2 + debian/mariadb-server-core-10.8.install | 46 ---- debian/mariadb-server-core-10.8.links | 3 - debian/mariadb-server-core-10.9.install | 46 ++++ debian/mariadb-server-core-10.9.links | 3 + debian/not-installed | 18 +- debian/po/POTFILES.in | 2 +- debian/po/ar.po | 22 +- debian/po/ca.po | 26 +- debian/po/cs.po | 24 +- debian/po/da.po | 30 +-- debian/po/de.po | 24 +- debian/po/es.po | 22 +- debian/po/eu.po | 22 +- debian/po/fi.po | 28 +-- debian/po/fr.po | 26 +- debian/po/gl.po | 22 +- debian/po/it.po | 28 +-- debian/po/ja.po | 24 +- debian/po/nb.po | 22 +- debian/po/nl.po | 24 +- debian/po/pt.po | 24 +- debian/po/pt_BR.po | 28 +-- debian/po/ro.po | 22 +- debian/po/ru.po | 24 +- debian/po/sv.po | 26 +- debian/po/templates.pot | 26 +- debian/po/tr.po | 24 +- debian/po/vi.po | 30 +-- debian/rules | 14 +- debian/salsa-ci.yml | 30 +-- debian/source/lintian-overrides | 34 +-- debian/tests/control | 2 +- debian/tests/smoke | 4 +- mysql-test/suite/sys_vars/r/sysvars_star.result | 2 +- 90 files changed, 1897 insertions(+), 1881 deletions(-) delete mode 100644 debian/additions/source_mariadb-10.8.py create mode 100644 debian/additions/source_mariadb-10.9.py delete mode 100644 debian/mariadb-client-10.8.README.Debian delete mode 100644 debian/mariadb-client-10.8.docs delete mode 100644 debian/mariadb-client-10.8.install delete mode 100644 debian/mariadb-client-10.8.links delete mode 100644 debian/mariadb-client-10.8.manpages delete mode 100644 debian/mariadb-client-10.8.menu create mode 100644 debian/mariadb-client-10.9.README.Debian create mode 100644 debian/mariadb-client-10.9.docs create mode 100644 debian/mariadb-client-10.9.install create mode 100644 debian/mariadb-client-10.9.links create mode 100644 debian/mariadb-client-10.9.manpages create mode 100644 debian/mariadb-client-10.9.menu delete mode 100644 debian/mariadb-client-core-10.8.install delete mode 100644 debian/mariadb-client-core-10.8.links create mode 100644 debian/mariadb-client-core-10.9.install create mode 100644 debian/mariadb-client-core-10.9.links delete mode 100644 debian/mariadb-server-10.8.README.Debian delete mode 100644 debian/mariadb-server-10.8.config delete mode 100644 debian/mariadb-server-10.8.dirs delete mode 100644 debian/mariadb-server-10.8.install delete mode 100644 debian/mariadb-server-10.8.links delete mode 100644 debian/mariadb-server-10.8.logcheck.ignore.paranoid delete mode 100644 debian/mariadb-server-10.8.logcheck.ignore.server delete mode 100644 debian/mariadb-server-10.8.logcheck.ignore.workstation delete mode 100644 debian/mariadb-server-10.8.mariadb.init delete mode 100644 debian/mariadb-server-10.8.mysql-server.logrotate delete mode 100644 debian/mariadb-server-10.8.mysql.default delete mode 100644 debian/mariadb-server-10.8.postinst delete mode 100644 debian/mariadb-server-10.8.postrm delete mode 100644 debian/mariadb-server-10.8.preinst delete mode 100644 debian/mariadb-server-10.8.prerm delete mode 100644 debian/mariadb-server-10.8.templates delete mode 100644 debian/mariadb-server-10.8.triggers create mode 100644 debian/mariadb-server-10.9.README.Debian create mode 100644 debian/mariadb-server-10.9.config create mode 100644 debian/mariadb-server-10.9.dirs create mode 100644 debian/mariadb-server-10.9.install create mode 100644 debian/mariadb-server-10.9.links create mode 100644 debian/mariadb-server-10.9.logcheck.ignore.paranoid create mode 100644 debian/mariadb-server-10.9.logcheck.ignore.server create mode 100644 debian/mariadb-server-10.9.logcheck.ignore.workstation create mode 100644 debian/mariadb-server-10.9.mariadb.init create mode 100644 debian/mariadb-server-10.9.mysql-server.logrotate create mode 100644 debian/mariadb-server-10.9.mysql.default create mode 100644 debian/mariadb-server-10.9.postinst create mode 100644 debian/mariadb-server-10.9.postrm create mode 100644 debian/mariadb-server-10.9.preinst create mode 100644 debian/mariadb-server-10.9.prerm create mode 100644 debian/mariadb-server-10.9.templates create mode 100644 debian/mariadb-server-10.9.triggers delete mode 100644 debian/mariadb-server-core-10.8.install delete mode 100644 debian/mariadb-server-core-10.8.links create mode 100644 debian/mariadb-server-core-10.9.install create mode 100644 debian/mariadb-server-core-10.9.links diff --git a/VERSION b/VERSION index f6f5ddf5c9e..ce37d4ac6b6 100644 --- a/VERSION +++ b/VERSION @@ -1,4 +1,4 @@ MYSQL_VERSION_MAJOR=10 -MYSQL_VERSION_MINOR=8 -MYSQL_VERSION_PATCH=1 -SERVER_MATURITY=gamma +MYSQL_VERSION_MINOR=9 +MYSQL_VERSION_PATCH=0 +SERVER_MATURITY=alpha diff --git a/debian/additions/mariadb.conf.d/50-server.cnf b/debian/additions/mariadb.conf.d/50-server.cnf index 28e37445888..953a34034c6 100644 --- a/debian/additions/mariadb.conf.d/50-server.cnf +++ b/debian/additions/mariadb.conf.d/50-server.cnf @@ -108,7 +108,7 @@ collation-server = utf8mb4_general_ci # you can put MariaDB-only options here [mariadb] -# This group is only read by MariaDB-10.8 servers. +# This group is only read by MariaDB-10.9 servers. # If you use the same .cnf file for MariaDB of different versions, # use this group for options that older servers don't understand -[mariadb-10.8] +[mariadb-10.9] diff --git a/debian/additions/source_mariadb-10.8.py b/debian/additions/source_mariadb-10.8.py deleted file mode 100644 index 9b672189fdc..00000000000 --- a/debian/additions/source_mariadb-10.8.py +++ /dev/null @@ -1,54 +0,0 @@ -'''apport package hook for mariadb-10.8 - -(c) 2009 Canonical Ltd. -Author: Mathias Gug -''' - -from __future__ import print_function, unicode_literals -import os, os.path - -from apport.hookutils import * - -def _add_my_conf_files(report, filename): - key = 'MySQLConf' + path_to_key(filename) - report[key] = "" - for line in read_file(filename).split('\n'): - try: - if 'password' in line.split('=')[0]: - line = "%s = @@APPORTREPLACED@@" % (line.split('=')[0]) - report[key] += line + '\n' - except IndexError: - continue - -def add_info(report): - attach_conffiles(report, 'mariadb-server-10.8', conffiles=None) - key = 'Logs' + path_to_key('/var/log/daemon.log') - report[key] = "" - for line in read_file('/var/log/daemon.log').split('\n'): - try: - if 'mariadbd' in line.split()[4]: - report[key] += line + '\n' - except IndexError: - continue - if os.path.exists('/var/log/mysql/error.log'): - key = 'Logs' + path_to_key('/var/log/mysql/error.log') - report[key] = "" - for line in read_file('/var/log/mysql/error.log').split('\n'): - report[key] += line + '\n' - attach_mac_events(report, '/usr/sbin/mariadbd') - attach_file(report,'/etc/apparmor.d/usr.sbin.mariadbd') - _add_my_conf_files(report, '/etc/mysql/mariadb.cnf') - for f in os.listdir('/etc/mysql/conf.d'): - _add_my_conf_files(report, os.path.join('/etc/mysql/conf.d', f)) - for f in os.listdir('/etc/mysql/mariadb.conf.d'): - _add_my_conf_files(report, os.path.join('/etc/mysql/mariadb.conf.d', f)) - try: - report['MySQLVarLibDirListing'] = str(os.listdir('/var/lib/mysql')) - except OSError: - report['MySQLVarLibDirListing'] = str(False) - -if __name__ == '__main__': - report = {} - add_info(report) - for key in report: - print('%s: %s' % (key, report[key].split('\n', 1)[0])) diff --git a/debian/additions/source_mariadb-10.9.py b/debian/additions/source_mariadb-10.9.py new file mode 100644 index 00000000000..5b63e51b1ff --- /dev/null +++ b/debian/additions/source_mariadb-10.9.py @@ -0,0 +1,54 @@ +'''apport package hook for mariadb-10.9 + +(c) 2009 Canonical Ltd. +Author: Mathias Gug +''' + +from __future__ import print_function, unicode_literals +import os, os.path + +from apport.hookutils import * + +def _add_my_conf_files(report, filename): + key = 'MySQLConf' + path_to_key(filename) + report[key] = "" + for line in read_file(filename).split('\n'): + try: + if 'password' in line.split('=')[0]: + line = "%s = @@APPORTREPLACED@@" % (line.split('=')[0]) + report[key] += line + '\n' + except IndexError: + continue + +def add_info(report): + attach_conffiles(report, 'mariadb-server-10.9', conffiles=None) + key = 'Logs' + path_to_key('/var/log/daemon.log') + report[key] = "" + for line in read_file('/var/log/daemon.log').split('\n'): + try: + if 'mariadbd' in line.split()[4]: + report[key] += line + '\n' + except IndexError: + continue + if os.path.exists('/var/log/mysql/error.log'): + key = 'Logs' + path_to_key('/var/log/mysql/error.log') + report[key] = "" + for line in read_file('/var/log/mysql/error.log').split('\n'): + report[key] += line + '\n' + attach_mac_events(report, '/usr/sbin/mariadbd') + attach_file(report,'/etc/apparmor.d/usr.sbin.mariadbd') + _add_my_conf_files(report, '/etc/mysql/mariadb.cnf') + for f in os.listdir('/etc/mysql/conf.d'): + _add_my_conf_files(report, os.path.join('/etc/mysql/conf.d', f)) + for f in os.listdir('/etc/mysql/mariadb.conf.d'): + _add_my_conf_files(report, os.path.join('/etc/mysql/mariadb.conf.d', f)) + try: + report['MySQLVarLibDirListing'] = str(os.listdir('/var/lib/mysql')) + except OSError: + report['MySQLVarLibDirListing'] = str(False) + +if __name__ == '__main__': + report = {} + add_info(report) + for key in report: + print('%s: %s' % (key, report[key].split('\n', 1)[0])) diff --git a/debian/changelog b/debian/changelog index 72bd7ddc685..b532a1bdcd2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -mariadb-10.8 (1:10.8.0) unstable; urgency=medium +mariadb-10.9 (1:10.9.0) unstable; urgency=medium * Initial Release diff --git a/debian/control b/debian/control index 21ce120b7ac..00ebcf6d801 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: mariadb-10.8 +Source: mariadb-10.9 Section: database Priority: optional Maintainer: MariaDB Developers @@ -262,7 +262,7 @@ Description: MariaDB common configuration files . This package includes configuration files common to all MariaDB programs. -Package: mariadb-client-core-10.8 +Package: mariadb-client-core-10.9 Architecture: any Depends: libmariadb3 (>= 10.5.4), mariadb-common (>= ${source:Version}), @@ -276,7 +276,8 @@ Conflicts: mariadb-client-10.0, mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3, @@ -312,7 +313,8 @@ Breaks: mariadb-server-10.0, mariadb-server-core-10.5, mariadb-server-core-10.6, mariadb-server-core-10.7, - mariadb-server-core-10.8 (<< ${source:Version}), + mariadb-server-core-10.8, + mariadb-server-core-10.9 (<< ${source:Version}), mysql-server-core-5.5, mysql-server-core-5.6, mysql-server-core-5.7, @@ -328,7 +330,8 @@ Replaces: mariadb-client-10.0, mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3, @@ -354,7 +357,8 @@ Replaces: mariadb-client-10.0, mariadb-server-core-10.5, mariadb-server-core-10.6, mariadb-server-core-10.7, - mariadb-server-core-10.8 (<< ${source:Version}), + mariadb-server-core-10.8, + mariadb-server-core-10.9 (<< ${source:Version}), mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1, @@ -382,11 +386,11 @@ Description: MariaDB database core client binaries . This package includes the core client files, as used by Akonadi. -Package: mariadb-client-10.8 +Package: mariadb-client-10.9 Architecture: any Depends: debianutils (>=1.6), libconfig-inifiles-perl, - mariadb-client-core-10.8 (>= ${source:Version}), + mariadb-client-core-10.9 (>= ${source:Version}), mariadb-common, ${misc:Depends}, ${perl:Depends}, @@ -400,7 +404,8 @@ Conflicts: mariadb-client (<< ${source:Version}), mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-client-5.1, mariadb-client-5.2, mariadb-client-5.3, @@ -428,7 +433,8 @@ Breaks: mariadb-client-core-10.0, mariadb-client-core-10.5, mariadb-client-core-10.6, mariadb-client-core-10.7, - mariadb-client-core-10.8 (<< ${source:Version}), + mariadb-client-core-10.8, + mariadb-client-core-10.9 (<< ${source:Version}), mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.2, @@ -437,7 +443,8 @@ Breaks: mariadb-client-core-10.0, mariadb-server-10.5, mariadb-server-10.6, mariadb-server-10.7, - mariadb-server-10.8 (<< ${source:Version}), + mariadb-server-10.8, + mariadb-server-10.9 (<< ${source:Version}), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-10.2, @@ -446,7 +453,8 @@ Breaks: mariadb-client-core-10.0, mariadb-server-core-10.5, mariadb-server-core-10.6, mariadb-server-core-10.7, - mariadb-server-core-10.8 (<< ${source:Version}), + mariadb-server-core-10.8, + mariadb-server-core-10.9 (<< ${source:Version}), mysql-server-5.5, mysql-server-5.6, mysql-server-5.7, @@ -478,7 +486,8 @@ Replaces: mariadb-client (<< ${source:Version}), mariadb-client-core-10.5, mariadb-client-core-10.6, mariadb-client-core-10.7, - mariadb-client-core-10.8 (<< ${source:Version}), + mariadb-client-core-10.8, + mariadb-client-core-10.9 (<< ${source:Version}), mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.2, @@ -487,7 +496,8 @@ Replaces: mariadb-client (<< ${source:Version}), mariadb-server-10.5, mariadb-server-10.6, mariadb-server-10.7, - mariadb-server-10.8 (<< ${source:Version}), + mariadb-server-10.8, + mariadb-server-10.9 (<< ${source:Version}), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-10.2, @@ -496,7 +506,8 @@ Replaces: mariadb-client (<< ${source:Version}), mariadb-server-core-10.5, mariadb-server-core-10.6, mariadb-server-core-10.7, - mariadb-server-core-10.8 (<< ${source:Version}), + mariadb-server-core-10.8, + mariadb-server-core-10.9 (<< ${source:Version}), mysql-client (<< 5.0.51), mysql-client-5.0, mysql-client-5.1, @@ -537,7 +548,7 @@ Description: MariaDB database client binaries This package includes the client binaries and the additional tools innotop and mariadb-report (mysqlreport). -Package: mariadb-server-core-10.8 +Package: mariadb-server-core-10.9 Architecture: any Depends: mariadb-common (>= ${source:Version}), ${misc:Depends}, @@ -568,7 +579,8 @@ Breaks: mariadb-client-10.0, mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.3, @@ -576,7 +588,8 @@ Breaks: mariadb-client-10.0, mariadb-server-10.5, mariadb-server-10.6, mariadb-server-10.7, - mariadb-server-10.8 (<< ${source:Version}), + mariadb-server-10.8, + mariadb-server-10.9 (<< ${source:Version}), mysql-client-5.5, mysql-server-5.5, mysql-server-5.6, @@ -593,7 +606,8 @@ Replaces: mariadb-client-10.0, mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-server-10.0, mariadb-server-10.1, mariadb-server-10.3, @@ -601,7 +615,8 @@ Replaces: mariadb-client-10.0, mariadb-server-10.5, mariadb-server-10.6, mariadb-server-10.7, - mariadb-server-10.8 (<< ${source:Version}), + mariadb-server-10.8, + mariadb-server-10.9 (<< ${source:Version}), mariadb-server-core-10.0, mariadb-server-core-10.1, mariadb-server-core-10.2, @@ -638,7 +653,7 @@ Description: MariaDB database core server files . This package includes the core server files, as used by Akonadi. -Package: mariadb-server-10.8 +Package: mariadb-server-10.9 Architecture: any Suggests: mailx, mariadb-test, @@ -653,8 +668,8 @@ Depends: galera-4 (>= 26.4), libdbi-perl, lsb-base (>= 3.0-10), lsof [linux-any], - mariadb-client-10.8 (>= ${source:Version}), - mariadb-server-core-10.8 (>= ${source:Version}), + mariadb-client-10.9 (>= ${source:Version}), + mariadb-server-core-10.9 (>= ${source:Version}), passwd, perl (>= 5.6), procps, @@ -703,7 +718,8 @@ Replaces: handlersocket-mysql-5.5, mariadb-client-10.5, mariadb-client-10.6, mariadb-client-10.7, - mariadb-client-10.8 (<< ${source:Version}), + mariadb-client-10.8, + mariadb-client-10.9 (<< ${source:Version}), mariadb-server (<< ${source:Version}), mariadb-server-10.0, mariadb-server-10.1, @@ -744,11 +760,11 @@ Description: MariaDB database server binaries Package: mariadb-server Architecture: all -Depends: mariadb-server-10.8 (>= ${source:Version}), +Depends: mariadb-server-10.9 (>= ${source:Version}), ${misc:Depends} Description: MariaDB database server (metapackage depending on the latest version) This is an empty package that depends on the current "best" version of - mariadb-server (currently mariadb-server-10.8), as determined by the MariaDB + mariadb-server (currently mariadb-server-10.9), as determined by the MariaDB maintainers. Install this package if in doubt about which MariaDB version you need. That will install the version recommended by the package maintainers. @@ -760,11 +776,11 @@ Description: MariaDB database server (metapackage depending on the latest versio Package: mariadb-client Architecture: all -Depends: mariadb-client-10.8 (>= ${source:Version}), +Depends: mariadb-client-10.9 (>= ${source:Version}), ${misc:Depends} Description: MariaDB database client (metapackage depending on the latest version) This is an empty package that depends on the current "best" version of - mariadb-client (currently mariadb-client-10.8), as determined by the MariaDB + mariadb-client (currently mariadb-client-10.9), as determined by the MariaDB maintainers. Install this package if in doubt about which MariaDB version you want, as this is the one considered to be in the best shape. @@ -776,7 +792,7 @@ Breaks: mariadb-backup-10.1, Replaces: mariadb-backup-10.1, mariadb-backup-10.2, mariadb-client-10.1 -Depends: mariadb-client-core-10.8 (= ${binary:Version}), +Depends: mariadb-client-core-10.9 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Backup tool for MariaDB server @@ -789,7 +805,7 @@ Description: Backup tool for MariaDB server Package: mariadb-plugin-connect Architecture: any Depends: libxml2, - mariadb-server-10.8 (= ${server:Version}), + mariadb-server-10.9 (= ${server:Version}), unixodbc, ${misc:Depends}, ${shlibs:Depends} @@ -812,7 +828,7 @@ Description: Connect storage engine for MariaDB Package: mariadb-plugin-s3 Architecture: any Depends: libcurl4, - mariadb-server-10.8 (= ${server:Version}), + mariadb-server-10.9 (= ${server:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Amazon S3 archival storage engine for MariaDB @@ -822,7 +838,7 @@ Description: Amazon S3 archival storage engine for MariaDB Package: mariadb-plugin-rocksdb Architecture: amd64 arm64 mips64el ppc64el -Depends: mariadb-server-10.8 (= ${server:Version}), +Depends: mariadb-server-10.9 (= ${server:Version}), python3, rocksdb-tools, ${misc:Depends}, @@ -842,7 +858,7 @@ Description: RocksDB storage engine for MariaDB Package: mariadb-plugin-oqgraph Architecture: any Depends: libjudydebian1, - mariadb-server-10.8 (= ${server:Version}), + mariadb-server-10.9 (= ${server:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: mariadb-oqgraph-engine-10.0, @@ -862,7 +878,7 @@ Description: OQGraph storage engine for MariaDB Package: mariadb-plugin-mroonga Architecture: any-alpha any-amd64 any-arm any-arm64 any-i386 any-ia64 any-mips64el any-mips64r6el any-mipsel any-mipsr6el any-nios2 any-powerpcel any-ppc64el any-sh3 any-sh4 any-tilegx -Depends: mariadb-server-10.8 (= ${server:Version}), +Depends: mariadb-server-10.9 (= ${server:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: mariadb-server-10.0, @@ -882,7 +898,7 @@ Description: Mroonga storage engine for MariaDB Package: mariadb-plugin-spider Architecture: any -Depends: mariadb-server-10.8 (= ${server:Version}), +Depends: mariadb-server-10.9 (= ${server:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: mariadb-server-10.0, @@ -904,7 +920,7 @@ Description: Spider storage engine for MariaDB Package: mariadb-plugin-gssapi-server Architecture: any Depends: libgssapi-krb5-2, - mariadb-server-10.8, + mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Breaks: mariadb-gssapi-server-10.1, @@ -925,7 +941,7 @@ Package: mariadb-plugin-gssapi-client Architecture: any Multi-Arch: same Depends: libgssapi-krb5-2, - mariadb-client-10.8 (= ${binary:Version}), + mariadb-client-10.9 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: mariadb-gssapi-client-10.1, @@ -945,7 +961,7 @@ Description: GSSAPI authentication plugin for MariaDB client Package: mariadb-plugin-cracklib-password-check Architecture: any Depends: libcrack2 (>= 2.9.0), - mariadb-server-10.8, + mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: CrackLib Password Validation Plugin for MariaDB @@ -956,43 +972,43 @@ Description: CrackLib Password Validation Plugin for MariaDB Package: mariadb-plugin-provider-bzip2 Architecture: any -Depends: mariadb-server-10.8, +Depends: mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: BZip2 compression support in the server and storage engines Package: mariadb-plugin-provider-lz4 Architecture: any -Depends: mariadb-server-10.8, +Depends: mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: LZ4 compression support in the server and storage engines Package: mariadb-plugin-provider-lzma Architecture: any -Depends: mariadb-server-10.8, +Depends: mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: LZMA compression support in the server and storage engines Package: mariadb-plugin-provider-lzo Architecture: any -Depends: mariadb-server-10.8, +Depends: mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: LZO compression support in the server and storage engines Package: mariadb-plugin-provider-snappy Architecture: any -Depends: mariadb-server-10.8, +Depends: mariadb-server-10.9, ${misc:Depends}, ${shlibs:Depends} Description: Snappy compression support in the server and storage engines Package: mariadb-test Architecture: any -Depends: mariadb-client-10.8 (= ${binary:Version}), - mariadb-server-10.8 (= ${server:Version}), +Depends: mariadb-client-10.9 (= ${binary:Version}), + mariadb-server-10.9 (= ${server:Version}), mariadb-test-data (= ${source:Version}), virtual-mysql-testsuite, ${misc:Depends}, diff --git a/debian/mariadb-client-10.8.README.Debian b/debian/mariadb-client-10.8.README.Debian deleted file mode 100644 index 64f0f509951..00000000000 --- a/debian/mariadb-client-10.8.README.Debian +++ /dev/null @@ -1,4 +0,0 @@ -FAQ: - -Q: My completion is gone, why? -A: You have "no-auto-rehash" in the "[mysql]" section of /etc/mysql/my.cnf! diff --git a/debian/mariadb-client-10.8.docs b/debian/mariadb-client-10.8.docs deleted file mode 100644 index c09092629c3..00000000000 --- a/debian/mariadb-client-10.8.docs +++ /dev/null @@ -1,2 +0,0 @@ -README.md -debian/additions/innotop/changelog.innotop diff --git a/debian/mariadb-client-10.8.install b/debian/mariadb-client-10.8.install deleted file mode 100644 index 3a92ded15b6..00000000000 --- a/debian/mariadb-client-10.8.install +++ /dev/null @@ -1,68 +0,0 @@ -debian/additions/innotop/innotop usr/bin/ -debian/additions/mariadb-report usr/bin/ -debian/additions/mariadb.conf.d/50-client.cnf etc/mysql/mariadb.conf.d -debian/additions/mariadb.conf.d/50-mysql-clients.cnf etc/mysql/mariadb.conf.d -debian/additions/mariadb.conf.d/60-galera.cnf etc/mysql/mariadb.conf.d -usr/bin/mariadb-access -usr/bin/mariadb-admin -usr/bin/mariadb-binlog -usr/bin/mariadb-conv -usr/bin/mariadb-convert-table-format -usr/bin/mariadb-dump -usr/bin/mariadb-dumpslow -usr/bin/mariadb-find-rows -usr/bin/mariadb-fix-extensions -usr/bin/mariadb-hotcopy -usr/bin/mariadb-import -usr/bin/mariadb-plugin -usr/bin/mariadb-secure-installation -usr/bin/mariadb-setpermission -usr/bin/mariadb-show -usr/bin/mariadb-slap -usr/bin/mariadb-tzinfo-to-sql -usr/bin/mariadb-waitpid -usr/bin/msql2mysql -usr/bin/mytop -usr/bin/perror -usr/bin/replace -usr/bin/resolve_stack_dump -usr/share/man/man1/mariadb-access.1 -usr/share/man/man1/mariadb-admin.1 -usr/share/man/man1/mariadb-binlog.1 -usr/share/man/man1/mariadb-conv.1 -usr/share/man/man1/mariadb-convert-table-format.1 -usr/share/man/man1/mariadb-dump.1 -usr/share/man/man1/mariadb-dumpslow.1 -usr/share/man/man1/mariadb-find-rows.1 -usr/share/man/man1/mariadb-fix-extensions.1 -usr/share/man/man1/mariadb-hotcopy.1 -usr/share/man/man1/mariadb-import.1 -usr/share/man/man1/mariadb-plugin.1 -usr/share/man/man1/mariadb-secure-installation.1 -usr/share/man/man1/mariadb-setpermission.1 -usr/share/man/man1/mariadb-show.1 -usr/share/man/man1/mariadb-slap.1 -usr/share/man/man1/mariadb-tzinfo-to-sql.1 -usr/share/man/man1/mariadb-waitpid.1 -usr/share/man/man1/msql2mysql.1 -usr/share/man/man1/mysql_convert_table_format.1 -usr/share/man/man1/mysql_find_rows.1 -usr/share/man/man1/mysql_fix_extensions.1 -usr/share/man/man1/mysql_plugin.1 -usr/share/man/man1/mysql_secure_installation.1 -usr/share/man/man1/mysql_setpermission.1 -usr/share/man/man1/mysql_tzinfo_to_sql.1 -usr/share/man/man1/mysql_waitpid.1 -usr/share/man/man1/mysqlaccess.1 -usr/share/man/man1/mysqladmin.1 -usr/share/man/man1/mysqlbinlog.1 -usr/share/man/man1/mysqldump.1 -usr/share/man/man1/mysqldumpslow.1 -usr/share/man/man1/mysqlhotcopy.1 -usr/share/man/man1/mysqlimport.1 -usr/share/man/man1/mysqlshow.1 -usr/share/man/man1/mysqlslap.1 -usr/share/man/man1/mytop.1 -usr/share/man/man1/perror.1 -usr/share/man/man1/replace.1 -usr/share/man/man1/resolve_stack_dump.1 diff --git a/debian/mariadb-client-10.8.links b/debian/mariadb-client-10.8.links deleted file mode 100644 index bc42197629b..00000000000 --- a/debian/mariadb-client-10.8.links +++ /dev/null @@ -1,27 +0,0 @@ -usr/bin/mariadb-access usr/bin/mysqlaccess -usr/bin/mariadb-admin usr/bin/mysqladmin -usr/bin/mariadb-check usr/bin/mariadb-analyze -usr/bin/mariadb-check usr/bin/mariadb-optimize -usr/bin/mariadb-check usr/bin/mariadb-repair -usr/bin/mariadb-check usr/bin/mariadbcheck -usr/bin/mariadb-check usr/bin/mysqlanalyze -usr/bin/mariadb-check usr/bin/mysqlcheck -usr/bin/mariadb-check usr/bin/mysqloptimize -usr/bin/mariadb-check usr/bin/mysqlrepair -usr/bin/mariadb-dump usr/bin/mysqldump -usr/bin/mariadb-dumpslow usr/bin/mysqldumpslow -usr/bin/mariadb-find-rows usr/bin/mysql_find_rows -usr/bin/mariadb-fix-extensions usr/bin/mysql_fix_extensions -usr/bin/mariadb-import usr/bin/mysqlimport -usr/bin/mariadb-report usr/bin/mysqlreport -usr/bin/mariadb-show usr/bin/mysqlshow -usr/bin/mariadb-slap usr/bin/mysqlslap -usr/bin/mariadb-waitpid usr/bin/mysql_waitpid -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-analyze.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-optimize.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-repair.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadbcheck.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqlanalyze.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqloptimize.1.gz -usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqlrepair.1.gz -usr/share/man/man1/mariadb-report.1.gz usr/share/man/man1/mysqlreport.1.gz diff --git a/debian/mariadb-client-10.8.manpages b/debian/mariadb-client-10.8.manpages deleted file mode 100644 index 8735caeea8b..00000000000 --- a/debian/mariadb-client-10.8.manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/additions/innotop/innotop.1 -debian/additions/mariadb-report.1 diff --git a/debian/mariadb-client-10.8.menu b/debian/mariadb-client-10.8.menu deleted file mode 100644 index 0667c93e8f3..00000000000 --- a/debian/mariadb-client-10.8.menu +++ /dev/null @@ -1,3 +0,0 @@ -# According to /usr/share/menu/ policy 1.4, not /usr/share/doc/debian-policy/ -?package(mariadb-client-10.8):needs="text" section="Applications/Data Management"\ - title="Innotop" command="/usr/bin/innotop" diff --git a/debian/mariadb-client-10.9.README.Debian b/debian/mariadb-client-10.9.README.Debian new file mode 100644 index 00000000000..64f0f509951 --- /dev/null +++ b/debian/mariadb-client-10.9.README.Debian @@ -0,0 +1,4 @@ +FAQ: + +Q: My completion is gone, why? +A: You have "no-auto-rehash" in the "[mysql]" section of /etc/mysql/my.cnf! diff --git a/debian/mariadb-client-10.9.docs b/debian/mariadb-client-10.9.docs new file mode 100644 index 00000000000..c09092629c3 --- /dev/null +++ b/debian/mariadb-client-10.9.docs @@ -0,0 +1,2 @@ +README.md +debian/additions/innotop/changelog.innotop diff --git a/debian/mariadb-client-10.9.install b/debian/mariadb-client-10.9.install new file mode 100644 index 00000000000..3a92ded15b6 --- /dev/null +++ b/debian/mariadb-client-10.9.install @@ -0,0 +1,68 @@ +debian/additions/innotop/innotop usr/bin/ +debian/additions/mariadb-report usr/bin/ +debian/additions/mariadb.conf.d/50-client.cnf etc/mysql/mariadb.conf.d +debian/additions/mariadb.conf.d/50-mysql-clients.cnf etc/mysql/mariadb.conf.d +debian/additions/mariadb.conf.d/60-galera.cnf etc/mysql/mariadb.conf.d +usr/bin/mariadb-access +usr/bin/mariadb-admin +usr/bin/mariadb-binlog +usr/bin/mariadb-conv +usr/bin/mariadb-convert-table-format +usr/bin/mariadb-dump +usr/bin/mariadb-dumpslow +usr/bin/mariadb-find-rows +usr/bin/mariadb-fix-extensions +usr/bin/mariadb-hotcopy +usr/bin/mariadb-import +usr/bin/mariadb-plugin +usr/bin/mariadb-secure-installation +usr/bin/mariadb-setpermission +usr/bin/mariadb-show +usr/bin/mariadb-slap +usr/bin/mariadb-tzinfo-to-sql +usr/bin/mariadb-waitpid +usr/bin/msql2mysql +usr/bin/mytop +usr/bin/perror +usr/bin/replace +usr/bin/resolve_stack_dump +usr/share/man/man1/mariadb-access.1 +usr/share/man/man1/mariadb-admin.1 +usr/share/man/man1/mariadb-binlog.1 +usr/share/man/man1/mariadb-conv.1 +usr/share/man/man1/mariadb-convert-table-format.1 +usr/share/man/man1/mariadb-dump.1 +usr/share/man/man1/mariadb-dumpslow.1 +usr/share/man/man1/mariadb-find-rows.1 +usr/share/man/man1/mariadb-fix-extensions.1 +usr/share/man/man1/mariadb-hotcopy.1 +usr/share/man/man1/mariadb-import.1 +usr/share/man/man1/mariadb-plugin.1 +usr/share/man/man1/mariadb-secure-installation.1 +usr/share/man/man1/mariadb-setpermission.1 +usr/share/man/man1/mariadb-show.1 +usr/share/man/man1/mariadb-slap.1 +usr/share/man/man1/mariadb-tzinfo-to-sql.1 +usr/share/man/man1/mariadb-waitpid.1 +usr/share/man/man1/msql2mysql.1 +usr/share/man/man1/mysql_convert_table_format.1 +usr/share/man/man1/mysql_find_rows.1 +usr/share/man/man1/mysql_fix_extensions.1 +usr/share/man/man1/mysql_plugin.1 +usr/share/man/man1/mysql_secure_installation.1 +usr/share/man/man1/mysql_setpermission.1 +usr/share/man/man1/mysql_tzinfo_to_sql.1 +usr/share/man/man1/mysql_waitpid.1 +usr/share/man/man1/mysqlaccess.1 +usr/share/man/man1/mysqladmin.1 +usr/share/man/man1/mysqlbinlog.1 +usr/share/man/man1/mysqldump.1 +usr/share/man/man1/mysqldumpslow.1 +usr/share/man/man1/mysqlhotcopy.1 +usr/share/man/man1/mysqlimport.1 +usr/share/man/man1/mysqlshow.1 +usr/share/man/man1/mysqlslap.1 +usr/share/man/man1/mytop.1 +usr/share/man/man1/perror.1 +usr/share/man/man1/replace.1 +usr/share/man/man1/resolve_stack_dump.1 diff --git a/debian/mariadb-client-10.9.links b/debian/mariadb-client-10.9.links new file mode 100644 index 00000000000..bc42197629b --- /dev/null +++ b/debian/mariadb-client-10.9.links @@ -0,0 +1,27 @@ +usr/bin/mariadb-access usr/bin/mysqlaccess +usr/bin/mariadb-admin usr/bin/mysqladmin +usr/bin/mariadb-check usr/bin/mariadb-analyze +usr/bin/mariadb-check usr/bin/mariadb-optimize +usr/bin/mariadb-check usr/bin/mariadb-repair +usr/bin/mariadb-check usr/bin/mariadbcheck +usr/bin/mariadb-check usr/bin/mysqlanalyze +usr/bin/mariadb-check usr/bin/mysqlcheck +usr/bin/mariadb-check usr/bin/mysqloptimize +usr/bin/mariadb-check usr/bin/mysqlrepair +usr/bin/mariadb-dump usr/bin/mysqldump +usr/bin/mariadb-dumpslow usr/bin/mysqldumpslow +usr/bin/mariadb-find-rows usr/bin/mysql_find_rows +usr/bin/mariadb-fix-extensions usr/bin/mysql_fix_extensions +usr/bin/mariadb-import usr/bin/mysqlimport +usr/bin/mariadb-report usr/bin/mysqlreport +usr/bin/mariadb-show usr/bin/mysqlshow +usr/bin/mariadb-slap usr/bin/mysqlslap +usr/bin/mariadb-waitpid usr/bin/mysql_waitpid +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-analyze.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-optimize.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadb-repair.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mariadbcheck.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqlanalyze.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqloptimize.1.gz +usr/share/man/man1/mariadb-check.1.gz usr/share/man/man1/mysqlrepair.1.gz +usr/share/man/man1/mariadb-report.1.gz usr/share/man/man1/mysqlreport.1.gz diff --git a/debian/mariadb-client-10.9.manpages b/debian/mariadb-client-10.9.manpages new file mode 100644 index 00000000000..8735caeea8b --- /dev/null +++ b/debian/mariadb-client-10.9.manpages @@ -0,0 +1,2 @@ +debian/additions/innotop/innotop.1 +debian/additions/mariadb-report.1 diff --git a/debian/mariadb-client-10.9.menu b/debian/mariadb-client-10.9.menu new file mode 100644 index 00000000000..6d2d8280448 --- /dev/null +++ b/debian/mariadb-client-10.9.menu @@ -0,0 +1,3 @@ +# According to /usr/share/menu/ policy 1.4, not /usr/share/doc/debian-policy/ +?package(mariadb-client-10.9):needs="text" section="Applications/Data Management"\ + title="Innotop" command="/usr/bin/innotop" diff --git a/debian/mariadb-client-core-10.8.install b/debian/mariadb-client-core-10.8.install deleted file mode 100644 index 421b62d2a1a..00000000000 --- a/debian/mariadb-client-core-10.8.install +++ /dev/null @@ -1,8 +0,0 @@ -usr/bin/mariadb -usr/bin/mariadb-check -usr/bin/my_print_defaults -usr/share/man/man1/mariadb-check.1 -usr/share/man/man1/mariadb.1 -usr/share/man/man1/my_print_defaults.1 -usr/share/man/man1/mysql.1 -usr/share/man/man1/mysqlcheck.1 diff --git a/debian/mariadb-client-core-10.8.links b/debian/mariadb-client-core-10.8.links deleted file mode 100644 index 5134dd814b5..00000000000 --- a/debian/mariadb-client-core-10.8.links +++ /dev/null @@ -1 +0,0 @@ -usr/bin/mariadb usr/bin/mysql diff --git a/debian/mariadb-client-core-10.9.install b/debian/mariadb-client-core-10.9.install new file mode 100644 index 00000000000..421b62d2a1a --- /dev/null +++ b/debian/mariadb-client-core-10.9.install @@ -0,0 +1,8 @@ +usr/bin/mariadb +usr/bin/mariadb-check +usr/bin/my_print_defaults +usr/share/man/man1/mariadb-check.1 +usr/share/man/man1/mariadb.1 +usr/share/man/man1/my_print_defaults.1 +usr/share/man/man1/mysql.1 +usr/share/man/man1/mysqlcheck.1 diff --git a/debian/mariadb-client-core-10.9.links b/debian/mariadb-client-core-10.9.links new file mode 100644 index 00000000000..5134dd814b5 --- /dev/null +++ b/debian/mariadb-client-core-10.9.links @@ -0,0 +1 @@ +usr/bin/mariadb usr/bin/mysql diff --git a/debian/mariadb-server-10.8.README.Debian b/debian/mariadb-server-10.8.README.Debian deleted file mode 100644 index 6042249a706..00000000000 --- a/debian/mariadb-server-10.8.README.Debian +++ /dev/null @@ -1,204 +0,0 @@ -* MYSQL WON'T START OR STOP? -============================ - -The most common reasons the server does not start are: -- AppArmor is enforced and something is wrong with the confinement profile. -- Process supervisor scripts (init, systemd etc) fail to execute normally. -- The configuration in /etc/mysql/... is wrong and prevents server from running. - -First check the contents of syslog (or systemd journal) and then check the -logs at /var/log/mysql/ for any hints of what might be wrong. - -Examples: - grep mysql /var/log/syslog - journalctl -u mariadb - - -* NEW SERVICE NAME, PROCESS AND BINARY NAMES IN MARIADB 10.5 -============================================================ - -Starting form MariaDB 10.5, the default SysV init service name is 'mariadb', -and can be accessed at path /etc/init.d/mariadb. The alias 'mysql' is only -created on upgrades. - -On systemd services both 'mariadb' and alias 'mysql' are available all the time. - -Note that the new daemon name is 'mariadbd' instead of 'mysqld' and also most -of the binaries have been renamed to mariadb-something, yet the old mysql-something -name has been kept as a symbolic link to the new name for backwards compatibility. - - -* NATIVE SYSTEMD SERVICE INTRODUCED IN MARIADB 10.1 -=================================================== - -From MariaDB 10.1 onward the upstream mariadb.service and mariadb@.service are -used to provide the full systemd experience. Some features available in -traditional /etc/init.d/mysql have been changed. For details see -https://mariadb.com/kb/en/mariadb/systemd/ - - -* MIXING PACKAGES FROM MARIADB.ORG AND OFFICIAL DEBIAN REPOSITORIES -================================================================== - -Please note that the MariaDB packaging in official Debian repositories are of -a completely new generation compared to the legacy packaging used in MariaDB.org -repositories. You cannot mix and match MariaDB 10.1 packages from official -Debian (or Ubuntu) repositories with packages from MariaDB.org repositories. -Packages from the MariaDB.org repositories include the revision string '+maria'. - -If a MariaDB.org repository is enabled, learn to use apt pinning properly. - -Please do not file bugs in Debian regarding packages with '+maria' in the -revision string. - - -* ROOT USER AUTHENTICATION VIA UNIX SOCKET -========================================== - -On new installs no root password is set and no debian-sys-maint user is -created anymore. Instead the MariaDB root account is set to be authenticated -using the Unix socket, e.g. any mysqld invocation by root or via sudo will -let the user see the mysqld prompt. - -You may never ever delete the mysql user "root". Although it has no password -is set, the unix_auth plugin ensure that it can only be run locally as the root -user. - -The credentials in /etc/mysql/debian.cnf specify the user which is used by the -init scripts to stop the server and perform log rotation. This used to be the -debian-sys-maint user which is no longer used as root can run directly. - -If you have start/stop problems make sure that the /etc/mysql/debian.cnf file -specifies the root user and no password. In the long run please stop using that -file as is has been obsoleted. - - -* MARIADB IS SECURE BY DEFAULT -============================== - -MariaDB in Debian is secure by default, because: - -- It only listens to the localhost socket and cannot be accessed remotely unless - the sysadmin changes the configuration in /etc/mysql to allow so. -- There is no debian-sys-maint with password in /etc/mysql/debian.cnf anymore. -- There is no root account with password anymore. The system admin needs to - create one themselves if they need it. With no password, all issues related - to password management and password leaking are gone. Sysadmins can access - the database without a password simply by running 'sudo mysql' thanks to - socket based authentication, which detects the system root user and allows - them to use the mysqld console as the mysql root user. For details see - https://www.slideshare.net/ottokekalainen/less-passwords-more-security-unix-socket-authentication-and-other-mariadb-hardening-tips -- There is no test database nor test accounts in the out-of-the-box Debian - installation. - -Therefore there is also no need to run the 'mysql_secure_installation'. In fact -that script will try to do things that are already prevented, and might fail. - - -* WHAT TO DO AFTER UPGRADES -=========================== - -The privilege tables are automatically updated so all there is left is read -the release notes on https://mariadb.com/kb/en/release-notes/ to see if any -changes affect custom apps. - -There should not be any need to run 'mysql_upgrade' manually, as the upgrade -scripts do that automatically. - - -* WHAT TO DO AFTER INSTALLATION -=============================== - -The MySQL manual describes certain steps to do at this stage in a separate -chapter. They are not necessary as the Debian packages does them -automatically. - -There should not be any need to run 'mysql_install_db' manually, as the install -scripts do that automatically. - -The only thing that is left over for the admin is - - creating new users and databases - - read the rest of this text - - -* NETWORKING -============ - -For security reasons, the Debian package has enabled networking only on the -loop-back device using "bind-address" in /etc/mysql/my.cnf. Check with -"netstat -tlnp" where it is listening. If your connection is aborted -immediately check your firewall rules or network routes. - -* WHERE IS THE DOCUMENTATION? -============================= - -https://mariadb.com/kb - - -* PASSWORDS -=========== - -It is recommended you create additional admin users for your database -administration needs in addition to the default root user. - -If your local Unix account is the one you want to have local super user -access on your database with you can create the following account that will -only work for the local Unix user connecting to the database locally. - - sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO '$USER'@'localhost' IDENTIFIED VIA unix_socket WITH GRANT OPTION" - -To create a local machine account username=USERNAME with a password: - - sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION" - -To create a USERNAME user with password 'password' admin user that can access -the DB server over the network: - - sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION" - -Scripts should run as a user who have the required grants and be identified via unix_socket. - -It is wise to run scripts as the "mysql" system user. Like root, -mysql@localhost is created by default to have all privileges in MariaDB -and to use unix_socket authentication. But scripts running under "mysql" -won't have system-wide root so they won't be able to corrupt your system. - -If you are too tired to type the password in every time and unix_socket auth -doesn't suit your needs, you can store it in the file $HOME/.my.cnf. It should -be chmod 0600 (-rw------- username usergroup .my.cnf) to ensure that nobody else -can read it. Every other configuration parameter can be stored there, too. - -For more information in the MariaDB manual in/usr/share/doc/mariadb-doc or -https://mariadb.com/kb/en/configuring-mariadb-with-mycnf/. - - -* FURTHER NOTES ON REPLICATION -============================== - -If the MySQL server is acting as a replication slave, you should not -set --tmpdir to point to a directory on a memory-based file system or to -a directory that is cleared when the server host restarts. A replication -slave needs some of its temporary files to survive a machine restart so -that it can replicate temporary tables or LOAD DATA INFILE operations. If -files in the temporary file directory are lost when the server restarts, -replication fails. - - -* DOWNGRADING -============= - -Unsupported. Period. - -You might get lucky downgrading a few minor versions without issued. Take a -backup first. If you break it you get to keep both pieces. Do a restore from -backup or upgrade to the previous version. - -If doing a major version downgrade, take a mysqldump/maria-backup consistent -backup using the current version and reload after downgrading and purging -existing databases. - - -* BACKUPS -========= - -Backups save jobs. Don't get caught without one. diff --git a/debian/mariadb-server-10.8.config b/debian/mariadb-server-10.8.config deleted file mode 100644 index 448b51584ea..00000000000 --- a/debian/mariadb-server-10.8.config +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -set -e - -. /usr/share/debconf/confmodule - -if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi -${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } - -# Beware that there are two ypwhich one of them needs the 2>/dev/null! -if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then - db_input high mariadb-server-10.8/nis_warning || true - db_go -fi diff --git a/debian/mariadb-server-10.8.dirs b/debian/mariadb-server-10.8.dirs deleted file mode 100644 index 5057fe806c3..00000000000 --- a/debian/mariadb-server-10.8.dirs +++ /dev/null @@ -1 +0,0 @@ -var/lib/mysql-upgrade diff --git a/debian/mariadb-server-10.8.install b/debian/mariadb-server-10.8.install deleted file mode 100644 index 71fe6bc77d5..00000000000 --- a/debian/mariadb-server-10.8.install +++ /dev/null @@ -1,83 +0,0 @@ -debian/additions/debian-start etc/mysql -debian/additions/debian-start.inc.sh usr/share/mysql -debian/additions/echo_stderr usr/share/mysql -debian/additions/mariadb.conf.d/50-mysqld_safe.cnf etc/mysql/mariadb.conf.d -debian/additions/mariadb.conf.d/50-server.cnf etc/mysql/mariadb.conf.d -debian/additions/source_mariadb-10.8.py usr/share/apport/package-hooks -etc/apparmor.d/usr.sbin.mariadbd -etc/security/user_map.conf -lib/*/security/pam_user_map.so -lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf -lib/systemd/system/mysql.service -lib/systemd/system/mysqld.service -support-files/rpm/enable_encryption.preset etc/mysql/mariadb.conf.d/99-enable-encryption.cnf.preset -usr/bin/aria_chk -usr/bin/aria_dump_log -usr/bin/aria_ftdump -usr/bin/aria_pack -usr/bin/aria_read_log -usr/bin/galera_new_cluster -usr/bin/galera_recovery -usr/bin/mariadb-service-convert -usr/bin/mariadbd-multi -usr/bin/mariadbd-safe -usr/bin/mariadbd-safe-helper -usr/bin/myisam_ftdump -usr/bin/myisamchk -usr/bin/myisamlog -usr/bin/myisampack -usr/bin/wsrep_sst_common -usr/bin/wsrep_sst_mariabackup -usr/bin/wsrep_sst_mysqldump -usr/bin/wsrep_sst_rsync -usr/bin/wsrep_sst_rsync_wan -usr/lib/mysql/plugin/auth_ed25519.so -usr/lib/mysql/plugin/auth_pam.so -usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool -usr/lib/mysql/plugin/auth_pam_v1.so -usr/lib/mysql/plugin/disks.so -usr/lib/mysql/plugin/file_key_management.so -usr/lib/mysql/plugin/ha_archive.so -usr/lib/mysql/plugin/ha_blackhole.so -usr/lib/mysql/plugin/ha_federated.so -usr/lib/mysql/plugin/ha_federatedx.so -usr/lib/mysql/plugin/ha_sphinx.so -usr/lib/mysql/plugin/handlersocket.so -usr/lib/mysql/plugin/locales.so -usr/lib/mysql/plugin/metadata_lock_info.so -usr/lib/mysql/plugin/password_reuse_check.so -usr/lib/mysql/plugin/query_cache_info.so -usr/lib/mysql/plugin/query_response_time.so -usr/lib/mysql/plugin/server_audit.so -usr/lib/mysql/plugin/simple_password_check.so -usr/lib/mysql/plugin/sql_errlog.so -usr/lib/mysql/plugin/type_mysql_json.so -usr/lib/mysql/plugin/wsrep_info.so -usr/share/doc/mariadb-server-10.8/mariadbd.sym.gz -usr/share/man/man1/aria_chk.1 -usr/share/man/man1/aria_dump_log.1 -usr/share/man/man1/aria_ftdump.1 -usr/share/man/man1/aria_pack.1 -usr/share/man/man1/aria_read_log.1 -usr/share/man/man1/galera_new_cluster.1 -usr/share/man/man1/galera_recovery.1 -usr/share/man/man1/mariadb-service-convert.1 -usr/share/man/man1/mariadbd-multi.1 -usr/share/man/man1/mariadbd-safe-helper.1 -usr/share/man/man1/mariadbd-safe.1 -usr/share/man/man1/myisam_ftdump.1 -usr/share/man/man1/myisamchk.1 -usr/share/man/man1/myisamlog.1 -usr/share/man/man1/myisampack.1 -usr/share/man/man1/mysqld_multi.1 -usr/share/man/man1/mysqld_safe.1 -usr/share/man/man1/mysqld_safe_helper.1 -usr/share/man/man1/wsrep_sst_common.1 -usr/share/man/man1/wsrep_sst_mariabackup.1 -usr/share/man/man1/wsrep_sst_mysqldump.1 -usr/share/man/man1/wsrep_sst_rsync.1 -usr/share/man/man1/wsrep_sst_rsync_wan.1 -usr/share/mysql/errmsg-utf8.txt -usr/share/mysql/mini-benchmark -usr/share/mysql/wsrep.cnf -usr/share/mysql/wsrep_notify diff --git a/debian/mariadb-server-10.8.links b/debian/mariadb-server-10.8.links deleted file mode 100644 index 9cc3a436ba8..00000000000 --- a/debian/mariadb-server-10.8.links +++ /dev/null @@ -1,10 +0,0 @@ -usr/bin/mariadb-binlog usr/bin/mysqlbinlog -usr/bin/mariadb-convert-table-format usr/bin/mysql_convert_table_format -usr/bin/mariadb-hotcopy usr/bin/mysqlhotcopy -usr/bin/mariadb-plugin usr/bin/mysql_plugin -usr/bin/mariadb-secure-installation usr/bin/mysql_secure_installation -usr/bin/mariadb-setpermission usr/bin/mysql_setpermission -usr/bin/mariadb-tzinfo-to-sql usr/bin/mysql_tzinfo_to_sql -usr/bin/mariadbd-multi usr/bin/mysqld_multi -usr/bin/mariadbd-safe usr/bin/mysqld_safe -usr/bin/mariadbd-safe-helper usr/bin/mysqld_safe_helper diff --git a/debian/mariadb-server-10.8.logcheck.ignore.paranoid b/debian/mariadb-server-10.8.logcheck.ignore.paranoid deleted file mode 100644 index 407d4063270..00000000000 --- a/debian/mariadb-server-10.8.logcheck.ignore.paranoid +++ /dev/null @@ -1,9 +0,0 @@ -/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ -/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ -/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ -mariadbd\[[0-9]+\]: $ -mariadbd\[[0-9]+\]: Version: .* socket: '/run/mysqld/mysqld.sock' port: 3306$ -mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ -mysqld_safe\[[0-9]+\]: started$ -usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ -usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.8.logcheck.ignore.server b/debian/mariadb-server-10.8.logcheck.ignore.server deleted file mode 100644 index a64fc54e15c..00000000000 --- a/debian/mariadb-server-10.8.logcheck.ignore.server +++ /dev/null @@ -1,30 +0,0 @@ -/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ -/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ -/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ -/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ -mariadbd\[[0-9]+\]: ?$ -mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed -mariadbd\[[0-9]+\]: .*InnoDB: Started; -mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ -mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ -mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ -mariadbd\[[0-9]+\]: Version: .* socket -mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ -mysqld_safe\[[0-9]+\]: ?$ -mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ -mysqld_safe\[[0-9]+\]: ended$ -mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ -mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ -mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ -mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ -mysqld_safe\[[0-9]+\]: started$ -mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ -mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ -mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ -mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ -mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ -usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ -usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.8.logcheck.ignore.workstation b/debian/mariadb-server-10.8.logcheck.ignore.workstation deleted file mode 100644 index a64fc54e15c..00000000000 --- a/debian/mariadb-server-10.8.logcheck.ignore.workstation +++ /dev/null @@ -1,30 +0,0 @@ -/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ -/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ -/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ -/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ -mariadbd\[[0-9]+\]: ?$ -mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed -mariadbd\[[0-9]+\]: .*InnoDB: Started; -mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ -mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ -mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ -mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ -mariadbd\[[0-9]+\]: Version: .* socket -mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ -mysqld_safe\[[0-9]+\]: ?$ -mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ -mysqld_safe\[[0-9]+\]: ended$ -mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ -mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ -mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ -mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ -mysqld_safe\[[0-9]+\]: started$ -mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ -mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ -mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ -mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ -mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ -usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ -usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.8.mariadb.init b/debian/mariadb-server-10.8.mariadb.init deleted file mode 100644 index 90a99cca873..00000000000 --- a/debian/mariadb-server-10.8.mariadb.init +++ /dev/null @@ -1,207 +0,0 @@ -#!/bin/bash -# -### BEGIN INIT INFO -# Provides: mariadb -# Required-Start: $remote_fs $syslog -# Required-Stop: $remote_fs $syslog -# Should-Start: $network $named $time -# Should-Stop: $network $named $time -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Start and stop the mysql database server daemon -# Description: Controls the main MariaDB database server daemon "mariadbd" -# and its wrapper script "mysqld_safe". -### END INIT INFO -# -set -e -set -u -${DEBIAN_SCRIPT_DEBUG:+ set -v -x} - -test -x /usr/sbin/mariadbd || exit 0 - -. /lib/lsb/init-functions - -SELF=$(cd $(dirname $0); pwd -P)/$(basename $0) - -MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" - -# priority can be overridden and "-s" adds output to stderr -ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mariadb -i" - -if [ -f /etc/default/mysql ]; then - . /etc/default/mysql -fi - -# Also source default/mariadb in case the installation was upgraded from -# packages originally installed from MariaDB.org repositories, which have -# had support for reading /etc/default/mariadb since March 2016. -if [ -f /etc/default/mariadb ]; then - . /etc/default/mariadb -fi - -# Safeguard (relative paths, core dumps..) -cd / -umask 077 - -# mysqladmin likes to read /root/.my.cnf. This is usually not what I want -# as many admins e.g. only store a password without a username there and -# so break my scripts. -export HOME=/etc/mysql/ - -## Fetch a particular option from mysql's invocation. -# -# Usage: void mariadbd_get_param option -mariadbd_get_param() { - /usr/sbin/mariadbd --print-defaults \ - | tr " " "\n" \ - | grep -- "--$1" \ - | tail -n 1 \ - | cut -d= -f2 -} - -## Do some sanity checks before even trying to start mariadbd. -sanity_checks() { - # check for config file - if [ ! -r /etc/mysql/my.cnf ]; then - log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" - echo "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER - fi - - # check for diskspace shortage - datadir=`mariadbd_get_param datadir` - if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then - log_failure_msg "$0: ERROR: The partition with $datadir is too full!" - echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER - exit 1 - fi -} - -## Checks if there is a server running and if so if it is accessible. -# -# check_alive insists on a pingable server -# check_dead also fails if there is a lost mariadbd in the process list -# -# Usage: boolean mariadbd_status [check_alive|check_dead] [warn|nowarn] -mariadbd_status () { - ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? )) - - ps_alive=0 - pidfile=`mariadbd_get_param pid-file` - if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi - - if [ "$1" = "check_alive" -a $ping_alive = 1 ] || - [ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then - return 0 # EXIT_SUCCESS - else - if [ "$2" = "warn" ]; then - echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug - fi - return 1 # EXIT_FAILURE - fi -} - -# -# main() -# - -case "${1:-''}" in - - 'start') - sanity_checks; - # Start daemon - log_daemon_msg "Starting MariaDB database server" "mariadbd" - if mariadbd_status check_alive nowarn; then - log_progress_msg "already running" - log_end_msg 0 - else - # Could be removed during boot - test -e /run/mysqld || install -m 755 -o mysql -g root -d /run/mysqld - - # Start MariaDB! - /usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER & - - for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do - sleep 1 - if mariadbd_status check_alive nowarn ; then break; fi - log_progress_msg "." - done - if mariadbd_status check_alive warn; then - log_end_msg 0 - # Now start mysqlcheck or whatever the admin wants. - output=$(/etc/mysql/debian-start) - if [ -n "$output" ]; then - log_action_msg "$output" - fi - else - log_end_msg 1 - log_failure_msg "Please take a look at the syslog" - fi - fi - ;; - - 'stop') - # * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible - # at least for cron, we can rely on it here, too. (although we have - # to specify it explicit as e.g. sudo environments points to the normal - # users home and not /root) - log_daemon_msg "Stopping MariaDB database server" "mariadbd" - if ! mariadbd_status check_dead nowarn; then - set +e - shutdown_out=`$MYADMIN shutdown 2>&1`; r=$? - set -e - if [ "$r" -ne 0 ]; then - log_end_msg 1 - [ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out" - log_daemon_msg "Killing MariaDB database server by signal" "mariadbd" - killall -15 mariadbd - server_down= - for i in `seq 1 600`; do - sleep 1 - if mariadbd_status check_dead nowarn; then server_down=1; break; fi - done - if test -z "$server_down"; then killall -9 mariadbd; fi - fi - fi - - if ! mariadbd_status check_dead warn; then - log_end_msg 1 - log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server-10.8/README.Debian.gz!" - exit -1 - else - log_end_msg 0 - fi - ;; - - 'restart') - set +e; $SELF stop; set -e - shift - $SELF start "${@}" - ;; - - 'reload'|'force-reload') - log_daemon_msg "Reloading MariaDB database server" "mariadbd" - $MYADMIN reload - log_end_msg 0 - ;; - - 'status') - if mariadbd_status check_alive nowarn; then - log_action_msg "$($MYADMIN version)" - else - log_action_msg "MariaDB is stopped." - exit 3 - fi - ;; - - 'bootstrap') - # Bootstrap the cluster, start the first node - # that initiates the cluster - log_daemon_msg "Bootstrapping the cluster" "mariadbd" - $SELF start "${@:2}" --wsrep-new-cluster - ;; - - *) - echo "Usage: $SELF start|stop|restart|reload|force-reload|status" - exit 1 - ;; -esac diff --git a/debian/mariadb-server-10.8.mysql-server.logrotate b/debian/mariadb-server-10.8.mysql-server.logrotate deleted file mode 100644 index 11e4480c427..00000000000 --- a/debian/mariadb-server-10.8.mysql-server.logrotate +++ /dev/null @@ -1,20 +0,0 @@ -# - I put everything in one block and added sharedscripts, so that mysql gets -# flush-logs'd only once. -# Else the binary logs would automatically increase by n times every day. -# - The error log is obsolete, messages go to syslog now. -/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log { - daily - rotate 7 - missingok - create 640 mysql adm - compress - sharedscripts - postrotate - test -x /usr/bin/mysqladmin || exit 0 - # check if server is running - if mysqladmin ping > /dev/null 2>&1; then - mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \ - flush-engine-log flush-general-log flush-slow-log - fi - endscript -} diff --git a/debian/mariadb-server-10.8.mysql.default b/debian/mariadb-server-10.8.mysql.default deleted file mode 100644 index 36079edecb2..00000000000 --- a/debian/mariadb-server-10.8.mysql.default +++ /dev/null @@ -1,22 +0,0 @@ -# -# NOTE: This file is read only by the traditional SysV init script. -# Debian 9 and Ubuntu 17.04 onward do not normally read this file as they use -# systemd by default. -# -# For similar behavior, systemd users should override ExecStart by dropping -# files into /etc/systemd/system/mariadb.service.d/ -# -# See also: -# https://wiki.debian.org/Teams/pkg-systemd/Packaging#overriding_options_and_.2Fetc.2Fdefault_handling -# https://mariadb.com/kb/en/mariadb/systemd/ -# -# Note also that MariaDB systemd does _not_ utilize mysqld_safe. - -# The delay in seconds the init script waits for the server to be up and running after having started "mysqld_safe" to run the "/etc/mysql/debian-start" script. -# If the server is still not responding after the delay, the script won't be executed and an error will be thrown on the syslog. -# Default: 30 -#MYSQLD_STARTUP_TIMEOUT=30 - -# The email recipient(s) of the output of the check for crashed and improperly closed MyISAM and Aria tables done at each server start by the "/etc/mysql/debian-start" script. -# Default: root -#MYCHECK_RCPT="root" diff --git a/debian/mariadb-server-10.8.postinst b/debian/mariadb-server-10.8.postinst deleted file mode 100644 index 13800b7bce2..00000000000 --- a/debian/mariadb-server-10.8.postinst +++ /dev/null @@ -1,273 +0,0 @@ -#!/bin/bash -set -e - -. /usr/share/debconf/confmodule - -# Automatically set version to ease maintenance of this file -MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" - -if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi -${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } - -export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin - -# This command can be used as pipe to syslog. With "-s" it also logs to stderr. -ERR_LOGGER="logger -p daemon.err -t mariadb-server-$MAJOR_VER.postinst -i" -# Specify syslog tag name so it is clear the entry came from this postinst script. -# This will make an error in a logged command immediately apparent by aborting -# the install, rather than failing silently and leaving a broken install. -set -o pipefail - -case "$1" in - configure) - # This is needed because mysql_install_db removes the pid file in /run - # and because changed configuration options should take effect immediately. - # In case the server wasn't running at all it should be ok if the stop - # script fails. I can't tell at this point because of the cleaned /run. - set +e; invoke-rc.d mariadb stop; set -e - - # An existing /etc/init.d/mysql might be on the system if there was a - # previous MySQL or MariaDB installation, since /etc/init.d files are - # considered config files and stay around even after the package is removed. - # - # The install step of this package adds a new /etc/init.d/mariadb file. As - # we also want to ensure that there are no old (and potentially outdated) - # versions of /etc/init.d/mysql we simply replace it using a copy of the - # latest 'mariadb' file. This has also the added benefit that anything that - # invokes traditional sysv init with either 'mysql' or 'mariadb' will end up - # controlling this newly installed MariaDB, and thus we maintain better - # backwards compatibility. - # - # Note that the 'Provides' line is also updated to avoid 'insserv' exiting - # on failure (when it is run by update-rc.d) because of duplicate service - # names. - if [ -f "/etc/init.d/mysql" ] && [ -f "/etc/init.d/mariadb" ] - then - # Copy init file and rename the service name and filename on the fly - sed 's/Provides: mariadb/Provides: mysql/g' /etc/init.d/mariadb > /etc/init.d/mysql - # NOTE: Number of spaces/tabs is important here! - # Confirm if the sed worked - if ! grep --quiet "Provides: mysql" /etc/init.d/mysql - then - # If not, then delete the file to avoid failures later on - rm -f /etc/init.d/mysql - echo "Warning! Failed creating a mysql named copy of mariadb init.d file" - fi - fi - - mysql_statedir=/usr/share/mysql - mysql_datadir=/var/lib/mysql - mysql_logdir=/var/log/mysql - mysql_cfgdir=/etc/mysql - mysql_upgradedir=/var/lib/mysql-upgrade - - # If the following symlink exists, it is a preserved copy the old data dir - # created by the preinst script during a upgrade that would have otherwise - # been replaced by an empty mysql dir. This should restore it. - for dir in DATADIR LOGDIR; do - - if [ "$dir" = "DATADIR" ]; then - targetdir=$mysql_datadir - else - targetdir=$mysql_logdir - fi - - savelink="$mysql_upgradedir/$dir.link" - if [ -L "$savelink" ]; then - # If the targetdir was a symlink before we upgraded it is supposed - # to be either still be present or not existing anymore now. - if [ -L "$targetdir" ]; then - rm "$savelink" - elif [ ! -d "$targetdir" ]; then - mv "$savelink" "$targetdir" - else - # this should never even happen, but just in case... - mysql_tmp=$(mktemp -d -t mysql-symlink-restore-XXXXXX) - echo "this is very strange! see $mysql_tmp/README..." >&2 - mv "$targetdir" "$mysql_tmp" - cat << EOF > "$mysql_tmp/README" - -If you're reading this, it's most likely because you had replaced /var/lib/mysql -with a symlink, then upgraded to a new version of mysql, and then dpkg -removed your symlink (see #182747 and others). The mysql packages noticed -that this happened, and as a workaround have restored it. However, because -/var/lib/mysql seems to have been re-created in the meantime, and because -we don't want to rm -rf something we don't know as much about, we are going -to leave this unexpected directory here. If your database looks normal, -and this is not a symlink to your database, you should be able to blow -this all away. - -EOF - fi - fi - rmdir $mysql_upgradedir 2>/dev/null || true - - done - - # Upgrading from mysql.com needs might have the root user as auth_socket. - # auto.cnf is a sign of a mysql install, that doesn't exist in mariadb. - # We use lsof to protect against concurrent access by mysqld (mariadb has - # its own projection). We make sure we're not doing this on a MySQL-8.0 - # directory. - # This direct update is needed to enable an authentication mechanism to - # perform mariadb-upgrade, (MDEV-22678). To keep the impact minimal, we - # skip innodb and set key-buffer-size to 0 as it isn't reused. - if [ -f "$mysql_datadir"/auto.cnf ] && [ -f "$mysql_datadir"/mysql/user.MYD ] && - [ ! lsof -nt "$mysql_datadir"/mysql/user.MYD > /dev/null ] && [ ! -f "$mysql_datadir"/undo_001 ]; then - echo "UPDATE mysql.user SET plugin='unix_socket' WHERE plugin='auth_socket';" | - /usr/sbin/mariadbd --skip-innodb --key_buffer_size=0 --default-storage-engine=MyISAM --bootstrap 2> /dev/null - fi - - # Ensure the existence and right permissions for the database and - # log files. Use mkdir option 'Z' to create with correct SELinux context. - if [ ! -d "$mysql_statedir" ] && [ ! -L "$mysql_statedir" ]; then mkdir -Z "$mysql_statedir"; fi - if [ ! -d "$mysql_datadir" ] && [ ! -L "$mysql_datadir" ]; then mkdir -Z "$mysql_datadir" ; fi - if [ ! -d "$mysql_logdir" ] && [ ! -L "$mysql_logdir" ]; then mkdir -Z "$mysql_logdir" ; fi - # When creating an ext3 jounal on an already mounted filesystem like e.g. - # /var/lib/mysql, you get a .journal file that is not modifiable by chown. - # The mysql_statedir must not be writable by the mysql user under any - # circumstances as it contains scripts that are executed by root. - set +e - chown -R 0:0 $mysql_statedir - find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql - chown -R mysql:adm $mysql_logdir - chmod 2750 $mysql_logdir - set -e - - ## Set the correct filesystem ownership for the PAM v2 plugin - # eg. /usr/lib/x86_64-linux-gnu/mysql/plugin/auth_pam_tool_dir/ - # NOTE! This is security sensitive, don't allow for a race condition. - # - # 1. Drop privileges of directory - # -> At this point only root can see and execute auth_pam_tool - chmod 0700 /usr/lib/mysql/plugin/auth_pam_tool_dir - # - # 2. Make binary setuid - # -> At this point only root can run the setuid binary so no escalation here yet - chmod 04755 /usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool - # - # 3. Allow user 'mysql' to see and execute auth_pam_tool - # -> Now user mysql owns the directory and can see and execute the binary inside - # -> Since the binary is setuid, user mysql gets limited root powers here to - # run the PAM authetications, which need root (e.g. to validate passwords - # against /etc/shadow) - chown mysql /usr/lib/mysql/plugin/auth_pam_tool_dir - - # This is important to avoid dataloss when there is a removed - # mysql-server version from Woody lying around which used the same - # data directory and then somewhen gets purged by the admin. - db_set mariadb-server/postrm_remove_database false || true - - # Clean up old flags before setting new one - rm -f $mysql_datadir/debian-*.flag - # Flag data dir to avoid downgrades - touch "$mysql_datadir/debian-$MAJOR_VER.flag" - - # initiate databases. Output is not allowed by debconf :-( - # This will fail if we are upgrading an existing database; in this case - # mysql_upgrade, called from the /etc/init.d/mariadb start script, will - # handle things. - # Debian: beware of the bashisms... - # Debian: can safely run on upgrades with existing databases - set +e - bash /usr/bin/mysql_install_db --rpm --cross-bootstrap --user=mysql \ - --disable-log-bin --skip-test-db 2>&1 | \ - $ERR_LOGGER - set -e - - # On new installations root user can connect via unix_socket. - # But on upgrades, scripts rely on debian-sys-maint user and - # credentials in /etc/mysql/debian.cnf - # All tools use --defaults-file=/etc/mysql/debian.cnf - # And while it's not needed for new installations, we keep using - # --defaults-file option for tools (for the sake of upgrades) - # and thus need /etc/mysql/debian.cnf to exist, even if it's empty. - # In the long run the goal is to obsolete this file. - dc=$mysql_cfgdir/debian.cnf; - if [ ! -d "$mysql_cfgdir" ]; then - install -o 0 -g 0 -m 0755 -d $mysql_cfgdir - fi - if [ ! -e "$dc" ]; then - cat /dev/null > $dc - echo "# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE." >>$dc - echo "# This file exists only for backwards compatibility for" >>$dc - echo "# tools that run '--defaults-file=/etc/mysql/debian.cnf'" >>$dc - echo "# and have root level access to the local filesystem." >>$dc - echo "# With those permissions one can run 'mariadb' directly" >>$dc - echo "# anyway thanks to unix socket authentication and hence" >>$dc - echo "# this file is useless. See package README for more info." >>$dc - echo "[client]" >>$dc - echo "host = localhost" >>$dc - echo "user = root" >>$dc - echo "[mysql_upgrade]" >>$dc - echo "host = localhost" >>$dc - echo "user = root" >>$dc - echo "# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE." >>$dc - fi - # Keep it only root-readable, as it always was - chown 0:0 $dc - chmod 0600 $dc - - # If there is a real AppArmor profile, we reload it. - # If the default empty profile is installed, then we remove any old - # profile that may be loaded. - # This allows upgrade from old versions (that have an apparmor profile - # on by default) to work both to disable a default profile, and to keep - # any profile installed and maintained by users themselves. - profile="/etc/apparmor.d/usr.sbin.mariadbd" - if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then - if grep -q /usr/sbin/mariadbd "$profile" 2>/dev/null ; then - apparmor_parser -r "$profile" || true - else - echo "/usr/sbin/mariadbd { }" | apparmor_parser --remove 2>/dev/null || true - fi - fi - - # @TODO: Remove once buildbot.askmonty.org has been updated not to expect this file - mkdir -p /etc/systemd/system/mariadb.service.d/ - # Note that file cannot be empty, otherwise systemd version in Ubuntu Bionic - # will think the service is masked - echo "# empty placeholder" > /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf - - ;; - - abort-upgrade|abort-remove|abort-configure) - ;; - - triggered) - if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload - else - invoke-rc.d mariadb restart - fi - ;; - - *) - echo "postinst called with unknown argument '$1'" 1>&2 - exit 1 - ;; -esac - -db_stop # in case invoke fails - -# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mariadb. -# Thus MariaDB server is started via init.d script, which in turn redirects to -# systemctl. If we upgrade from MySQL mysql.service may be masked, which also -# means init.d script is disabled. Unmask mysql service explicitly. -# Check first that the command exists, to avoid emitting any warning messages. -if [ -x "$(command -v deb-systemd-helper)" ]; then - deb-systemd-helper unmask mysql.service > /dev/null -fi - -#DEBHELPER# - -# Modified dh_systemd_start snippet that's not added automatically -if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true - deb-systemd-invoke start mariadb.service >/dev/null || true -# Modified dh_installinit snippet to only run with sysvinit -elif [ -x "/etc/init.d/mariadb" ]; then - if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then - invoke-rc.d mariadb start || exit $? - fi -fi diff --git a/debian/mariadb-server-10.8.postrm b/debian/mariadb-server-10.8.postrm deleted file mode 100644 index 97789a038df..00000000000 --- a/debian/mariadb-server-10.8.postrm +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash -set -e - -. /usr/share/debconf/confmodule - -# Automatically set version to ease maintenance of this file -MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" - -if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi -${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } - -MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" - -# Try to stop the server in a sane way. If it does not success let the admin -# do it himself. No database directories should be removed while the server -# is running! Another mariadbd in e.g. a different chroot is fine for us. -stop_server() { - # Return immediately if there are no mysql processes running - # as there is no point in trying to shutdown in that case. - if ! pgrep -x mariadbd > /dev/null; then return; fi - # Compatibility with versions that ran 'mysqld' - if ! pgrep -x mysqld > /dev/null; then return; fi - - set +e - invoke-rc.d mariadb stop - invoke-rc.d mysql stop # Backwards compatibility - errno=$? - set -e - - # systemctl could emit exit code 100=no init script (fresh install) - if [ "$errno" != 0 -a "$errno" != 100 ]; then - echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 - echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 - echo "Stop it yourself and try again!" 1>&2 - db_stop - exit 1 - fi -} - - -case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then - stop_server - sleep 2 - fi - ;; - *) - echo "postrm called with unknown argument '$1'" 1>&2 - exit 1 - ;; -esac - -# -# - Purge logs and data only if they are ours (#307473) -# - Remove the mysql user only after all his owned files are purged. -# - Cleanup the initscripts only if this was the last provider of them -# -if [ "$1" = "purge" ] && [ -f "/var/lib/mysql/debian-$MAJOR_VER.flag" ]; then - # we remove the mysql user only after all his owned files are purged - rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz} - rm -rf /var/log/mysql - - db_input high "mariadb-server-$MAJOR_VER/postrm_remove_databases" || true - db_go || true - db_get "mariadb-server-$MAJOR_VER/postrm_remove_databases" || true - if [ "$RET" = "true" ]; then - # never remove the debian.cnf when the databases are still existing - # else we ran into big trouble on the next install! - rm -f /etc/mysql/debian.cnf - # Remove all contents from /var/lib/mysql except if it's a - # directory with file system data. See #829491 for details and - # #608938 for potential mysql-server leftovers which erroneously - # had been renamed. - # Attempt removal only if the directory hasn't already been removed - # by dpkg to avoid failing on "No such file or directory" errors. - if [ -d /var/lib/mysql ] - then - find /var/lib/mysql -mindepth 1 \ - -not -path '*/lost+found/*' -not -name 'lost+found' \ - -not -path '*/lost@002bfound/*' -not -name 'lost@002bfound' \ - -delete - - # "|| true" still needed as rmdir still exits with non-zero if - # /var/lib/mysql is a mount point - rmdir --ignore-fail-on-non-empty /var/lib/mysql || true - fi - rm -rf /run/mysqld # this directory is created by the init script, don't leave behind - userdel mysql || true - fi - -fi - -#DEBHELPER# - -# Modified dh_systemd_start snippet that's not added automatically -if [ -d /run/systemd/system ]; then - systemctl --system daemon-reload >/dev/null || true -fi diff --git a/debian/mariadb-server-10.8.preinst b/debian/mariadb-server-10.8.preinst deleted file mode 100644 index 919031066c9..00000000000 --- a/debian/mariadb-server-10.8.preinst +++ /dev/null @@ -1,224 +0,0 @@ -#!/bin/bash -e -# -# summary of how this script can be called: -# * install -# * install -# * upgrade -# * abort-upgrade -# - -. /usr/share/debconf/confmodule - -# Automatically set version to ease maintenance of this file -MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" - -# Just kill the invalid insserv.conf.d directory without fallback -if [ -d "/etc/insserv.conf.d/mariadb/" ]; then - rm -rf "/etc/insserv.conf.d/mariadb/" -fi - -if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi -${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } - -export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin -mysql_datadir=/var/lib/mysql -mysql_upgradedir=/var/lib/mysql-upgrade - -# Try to stop the server in a sane way. If it does not success let the admin -# do it himself. No database directories should be removed while the server -# is running! Another mariadbd in e.g. a different chroot is fine for us. -stop_server() { - # Return immediately if there are no mysql processes running - # as there is no point in trying to shutdown in that case. - if ! pgrep -x --ns $$ mariadbd > /dev/null; then return; fi - # Compatibility with versions that ran 'mysqld' - if ! pgrep -x --ns $$ mysqld > /dev/null; then return; fi - - set +e - invoke-rc.d mariadb stop - invoke-rc.d mysql stop # Backwards compatibility - errno=$? - set -e - - # systemctl could emit exit code 100=no init script (fresh install) - if [ "$errno" != 0 -a "$errno" != 100 ]; then - echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 - echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 - echo "Stop it yourself and try again!" 1>&2 - db_stop - exit 1 - fi -} - -################################ main() ########################## - -this_version=$MAJOR_VER -max_upgradeable_version=5.7 - -# Check if a flag file is found that indicates a previous MariaDB or MySQL -# version was installed. If multiple flags are found, check which one was -# the biggest version number. -for flag in $mysql_datadir/debian-*.flag -do - - # The for loop leaves $flag as the query string if there are no results, - # so the check below is needed to stop further processing when there are - # no real results. - if [ "$flag" = "$mysql_datadir/debian-*.flag" ] - then - break - fi - - flag_version=$(echo "$flag" | sed 's/.*debian-\([0-9\.]\+\).flag/\1/') - - # Initialize value if empty - if [ -z "$found_version" ] - then - found_version=$flag_version - fi - - # Update value if now bigger then before - if dpkg --compare-versions "$flag_version" '>>' "$found_version" - then - found_version=$flag_version - fi - -done - - -# If an upgrade is detected, proceed with it automatically without -# requiring any user interaction. -# -# However, if the user attempts to downgrade, warn about the incompatibility. -# Downgrade is detected if the flag version is bigger than $this_version -# (e.g. 10.1 > 10.0) or the flag version is smaller than 10.0 but bigger -# than $max_upgradeable_version. -if [ ! -z "$found_version" ] -then - - # MySQL 8.0 in Ubuntu has a bug in packaging and the file is name wrongly - # 'debian-5.7.flag', so in case '5.7' was encountered an extra check needs to - # be done to see is there is a file called undo_001, which is a sign of 8.0. - if [ "$found_version" == "5.7" ] && [ -f "$mysql_datadir/undo_001" ] - then - # Seems to be a 8.0, flag has wrongly 5.7 (know bug) - found_version=8.0 - fi - - echo "$mysql_datadir: found previous version $found_version" - - if dpkg --compare-versions "$found_version" '>>' "$this_version" - then - downgrade_detected=true - fi - - if dpkg --compare-versions "$found_version" '>>' "$max_upgradeable_version" \ - && dpkg --compare-versions "$found_version" '<<' "10.0" - then - downgrade_detected=true - fi - -fi - - -# Don't abort dpkg if downgrade is detected (as was done previously). -# Instead simply move the old datadir and create a new for this_version. -if [ ! -z "$downgrade_detected" ] -then - db_input critical "mariadb-server-$MAJOR_VER/old_data_directory_saved" || true - db_go - echo "The file $mysql_datadir/debian-$found_version.flag indicates a" 1>&2 - echo "version that cannot automatically be upgraded. Therefore the" 1>&2 - echo "previous data directory will be renamed to $mysql_datadir-$found_version and" 1>&2 - echo "a new data directory will be initialized at $mysql_datadir." 1>&2 - echo "Please manually export/import your data (e.g. with mysqldump) if needed." 1>&2 - mv -f "$mysql_datadir" "$mysql_datadir-$found_version" - # Also move away the old debian.cnf file that included credentials that are - # no longer valid - mv -f /etc/mysql/debian.cnf "/etc/mysql/debian.cnf-$found_version" -fi - -# to be sure -stop_server - -# If we use NIS then errors should be tolerated. It's up to the -# user to ensure that the mysql user is correctly setup. -# Beware that there are two ypwhich one of them needs the 2>/dev/null! -if test -n "$(which ypwhich 2>/dev/null)" && ypwhich >/dev/null 2>&1; then - set +e -fi - -# -# Now we have to ensure the following state: -# /etc/passwd: mysql:x:100:101:MySQL Server:/nonexistent:/bin/false -# /etc/group: mysql:x:101: -# -# Sadly there could any state be present on the system so we have to -# modify everything carefully i.e. not doing a chown before creating -# the user etc... -# - -# creating mysql group if he isn't already there -if ! getent group mysql >/dev/null; then - # Adding system group: mysql. - addgroup --system mysql >/dev/null -fi - -# creating mysql user if he isn't already there -if ! getent passwd mysql >/dev/null; then - # Adding system user: mysql. - adduser \ - --system \ - --disabled-login \ - --ingroup mysql \ - --no-create-home \ - --home /nonexistent \ - --gecos "MySQL Server" \ - --shell /bin/false \ - mysql >/dev/null -fi - -# end of NIS tolerance zone -set -e - -# if there's a symlink, let's store where it's pointing, because otherwise -# it's going to be lost in some situations -for dir in DATADIR LOGDIR; do - checkdir=$(eval echo "$"$dir) - if [ -L "$checkdir" ]; then - # Use mkdir option 'Z' to create with correct SELinux context. - mkdir -pZ "$mysql_upgradedir" - cp -dT "$checkdir" "$mysql_upgradedir/$dir.link" - fi -done - -# creating mysql home directory -if [ ! -d $mysql_datadir ] && [ ! -L $mysql_datadir ]; then - # Use mkdir option 'Z' to create with correct SELinux context. - mkdir -Z $mysql_datadir -fi - -# checking disc space -if LC_ALL=C BLOCKSIZE= df --portability $mysql_datadir/. | tail -n 1 | awk '{ exit ($4>1000) }'; then - echo "ERROR: There's not enough space in $mysql_datadir/" 1>&2 - db_stop - exit 1 -fi - -# Since the home directory was created before putting the user into -# the mysql group and moreover we cannot guarantee that the -# permissions were correctly *before* calling this script, we fix them now. -# In case we use NIS and no mysql user is present then this script should -# better fail now than later.. -# The "set +e" is necessary as e.g. a ".journal" of a ext3 partition is -# not chgrp'able (#318435). -set +e -find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql -find $mysql_datadir -follow -not -group mysql -print0 2>/dev/null \ - | xargs -0 --no-run-if-empty chgrp mysql -set -e - - -db_stop - -#DEBHELPER# diff --git a/debian/mariadb-server-10.8.prerm b/debian/mariadb-server-10.8.prerm deleted file mode 100644 index 8fd172da9d2..00000000000 --- a/debian/mariadb-server-10.8.prerm +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -set -e - -#DEBHELPER# - -# Modified dh_systemd_start snippet that's not added automatically -if [ -d /run/systemd/system ]; then - deb-systemd-invoke stop mariadb.service >/dev/null -# Modified dh_installinit snippet to only run with sysvinit -elif [ -x "/etc/init.d/mariadb" ]; then - invoke-rc.d mariadb stop || exit $? -fi diff --git a/debian/mariadb-server-10.8.templates b/debian/mariadb-server-10.8.templates deleted file mode 100644 index 910ba82f108..00000000000 --- a/debian/mariadb-server-10.8.templates +++ /dev/null @@ -1,45 +0,0 @@ -# These templates have been reviewed by the debian-l10n-english -# team -# -# If modifications/additions/rewording are needed, please ask -# for an advice to debian-l10n-english@lists.debian.org -# -# Even minor modifications require translation updates and such -# changes should be coordinated with translators and reviewers. - -Template: mariadb-server-10.8/old_data_directory_saved -Type: note -_Description: The old data directory will be saved at new location - A file named /var/lib/mysql/debian-*.flag exists on this system. - The number indicates a database binary format version that cannot automatically - be upgraded (or downgraded). - . - Therefore the previous data directory will be renamed to /var/lib/mysql-* and - a new data directory will be initialized at /var/lib/mysql. - . - Please manually export/import your data (e.g. with mysqldump) if needed. - -Template: mariadb-server-10.8/nis_warning -Type: note -#flag:translate!:3,5 -_Description: Important note for NIS/YP users - Using MariaDB under NIS/YP requires a mysql user account to be added on - the local system with: - . - adduser --system --group --home /var/lib/mysql mysql - . - You should also check the permissions and ownership of the - /var/lib/mysql directory: - . - /var/lib/mysql: drwxr-xr-x mysql mysql - -Template: mariadb-server-10.8/postrm_remove_databases -Type: boolean -Default: false -_Description: Remove all MariaDB databases? - The /var/lib/mysql directory which contains the MariaDB databases is about - to be removed. - . - If you're removing the MariaDB package in order to later install a more - recent version or if a different mariadb-server package is already - using it, the data should be kept. diff --git a/debian/mariadb-server-10.8.triggers b/debian/mariadb-server-10.8.triggers deleted file mode 100644 index d1f5f5e14f1..00000000000 --- a/debian/mariadb-server-10.8.triggers +++ /dev/null @@ -1,2 +0,0 @@ -interest-noawait /etc/mysql -interest-noawait /etc/systemd/system/mariadb.service.d diff --git a/debian/mariadb-server-10.9.README.Debian b/debian/mariadb-server-10.9.README.Debian new file mode 100644 index 00000000000..6042249a706 --- /dev/null +++ b/debian/mariadb-server-10.9.README.Debian @@ -0,0 +1,204 @@ +* MYSQL WON'T START OR STOP? +============================ + +The most common reasons the server does not start are: +- AppArmor is enforced and something is wrong with the confinement profile. +- Process supervisor scripts (init, systemd etc) fail to execute normally. +- The configuration in /etc/mysql/... is wrong and prevents server from running. + +First check the contents of syslog (or systemd journal) and then check the +logs at /var/log/mysql/ for any hints of what might be wrong. + +Examples: + grep mysql /var/log/syslog + journalctl -u mariadb + + +* NEW SERVICE NAME, PROCESS AND BINARY NAMES IN MARIADB 10.5 +============================================================ + +Starting form MariaDB 10.5, the default SysV init service name is 'mariadb', +and can be accessed at path /etc/init.d/mariadb. The alias 'mysql' is only +created on upgrades. + +On systemd services both 'mariadb' and alias 'mysql' are available all the time. + +Note that the new daemon name is 'mariadbd' instead of 'mysqld' and also most +of the binaries have been renamed to mariadb-something, yet the old mysql-something +name has been kept as a symbolic link to the new name for backwards compatibility. + + +* NATIVE SYSTEMD SERVICE INTRODUCED IN MARIADB 10.1 +=================================================== + +From MariaDB 10.1 onward the upstream mariadb.service and mariadb@.service are +used to provide the full systemd experience. Some features available in +traditional /etc/init.d/mysql have been changed. For details see +https://mariadb.com/kb/en/mariadb/systemd/ + + +* MIXING PACKAGES FROM MARIADB.ORG AND OFFICIAL DEBIAN REPOSITORIES +================================================================== + +Please note that the MariaDB packaging in official Debian repositories are of +a completely new generation compared to the legacy packaging used in MariaDB.org +repositories. You cannot mix and match MariaDB 10.1 packages from official +Debian (or Ubuntu) repositories with packages from MariaDB.org repositories. +Packages from the MariaDB.org repositories include the revision string '+maria'. + +If a MariaDB.org repository is enabled, learn to use apt pinning properly. + +Please do not file bugs in Debian regarding packages with '+maria' in the +revision string. + + +* ROOT USER AUTHENTICATION VIA UNIX SOCKET +========================================== + +On new installs no root password is set and no debian-sys-maint user is +created anymore. Instead the MariaDB root account is set to be authenticated +using the Unix socket, e.g. any mysqld invocation by root or via sudo will +let the user see the mysqld prompt. + +You may never ever delete the mysql user "root". Although it has no password +is set, the unix_auth plugin ensure that it can only be run locally as the root +user. + +The credentials in /etc/mysql/debian.cnf specify the user which is used by the +init scripts to stop the server and perform log rotation. This used to be the +debian-sys-maint user which is no longer used as root can run directly. + +If you have start/stop problems make sure that the /etc/mysql/debian.cnf file +specifies the root user and no password. In the long run please stop using that +file as is has been obsoleted. + + +* MARIADB IS SECURE BY DEFAULT +============================== + +MariaDB in Debian is secure by default, because: + +- It only listens to the localhost socket and cannot be accessed remotely unless + the sysadmin changes the configuration in /etc/mysql to allow so. +- There is no debian-sys-maint with password in /etc/mysql/debian.cnf anymore. +- There is no root account with password anymore. The system admin needs to + create one themselves if they need it. With no password, all issues related + to password management and password leaking are gone. Sysadmins can access + the database without a password simply by running 'sudo mysql' thanks to + socket based authentication, which detects the system root user and allows + them to use the mysqld console as the mysql root user. For details see + https://www.slideshare.net/ottokekalainen/less-passwords-more-security-unix-socket-authentication-and-other-mariadb-hardening-tips +- There is no test database nor test accounts in the out-of-the-box Debian + installation. + +Therefore there is also no need to run the 'mysql_secure_installation'. In fact +that script will try to do things that are already prevented, and might fail. + + +* WHAT TO DO AFTER UPGRADES +=========================== + +The privilege tables are automatically updated so all there is left is read +the release notes on https://mariadb.com/kb/en/release-notes/ to see if any +changes affect custom apps. + +There should not be any need to run 'mysql_upgrade' manually, as the upgrade +scripts do that automatically. + + +* WHAT TO DO AFTER INSTALLATION +=============================== + +The MySQL manual describes certain steps to do at this stage in a separate +chapter. They are not necessary as the Debian packages does them +automatically. + +There should not be any need to run 'mysql_install_db' manually, as the install +scripts do that automatically. + +The only thing that is left over for the admin is + - creating new users and databases + - read the rest of this text + + +* NETWORKING +============ + +For security reasons, the Debian package has enabled networking only on the +loop-back device using "bind-address" in /etc/mysql/my.cnf. Check with +"netstat -tlnp" where it is listening. If your connection is aborted +immediately check your firewall rules or network routes. + +* WHERE IS THE DOCUMENTATION? +============================= + +https://mariadb.com/kb + + +* PASSWORDS +=========== + +It is recommended you create additional admin users for your database +administration needs in addition to the default root user. + +If your local Unix account is the one you want to have local super user +access on your database with you can create the following account that will +only work for the local Unix user connecting to the database locally. + + sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO '$USER'@'localhost' IDENTIFIED VIA unix_socket WITH GRANT OPTION" + +To create a local machine account username=USERNAME with a password: + + sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION" + +To create a USERNAME user with password 'password' admin user that can access +the DB server over the network: + + sudo /usr/bin/mysql -e "GRANT ALL ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION" + +Scripts should run as a user who have the required grants and be identified via unix_socket. + +It is wise to run scripts as the "mysql" system user. Like root, +mysql@localhost is created by default to have all privileges in MariaDB +and to use unix_socket authentication. But scripts running under "mysql" +won't have system-wide root so they won't be able to corrupt your system. + +If you are too tired to type the password in every time and unix_socket auth +doesn't suit your needs, you can store it in the file $HOME/.my.cnf. It should +be chmod 0600 (-rw------- username usergroup .my.cnf) to ensure that nobody else +can read it. Every other configuration parameter can be stored there, too. + +For more information in the MariaDB manual in/usr/share/doc/mariadb-doc or +https://mariadb.com/kb/en/configuring-mariadb-with-mycnf/. + + +* FURTHER NOTES ON REPLICATION +============================== + +If the MySQL server is acting as a replication slave, you should not +set --tmpdir to point to a directory on a memory-based file system or to +a directory that is cleared when the server host restarts. A replication +slave needs some of its temporary files to survive a machine restart so +that it can replicate temporary tables or LOAD DATA INFILE operations. If +files in the temporary file directory are lost when the server restarts, +replication fails. + + +* DOWNGRADING +============= + +Unsupported. Period. + +You might get lucky downgrading a few minor versions without issued. Take a +backup first. If you break it you get to keep both pieces. Do a restore from +backup or upgrade to the previous version. + +If doing a major version downgrade, take a mysqldump/maria-backup consistent +backup using the current version and reload after downgrading and purging +existing databases. + + +* BACKUPS +========= + +Backups save jobs. Don't get caught without one. diff --git a/debian/mariadb-server-10.9.config b/debian/mariadb-server-10.9.config new file mode 100644 index 00000000000..fdfaed8bb0f --- /dev/null +++ b/debian/mariadb-server-10.9.config @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +. /usr/share/debconf/confmodule + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +# Beware that there are two ypwhich one of them needs the 2>/dev/null! +if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then + db_input high mariadb-server-10.9/nis_warning || true + db_go +fi diff --git a/debian/mariadb-server-10.9.dirs b/debian/mariadb-server-10.9.dirs new file mode 100644 index 00000000000..5057fe806c3 --- /dev/null +++ b/debian/mariadb-server-10.9.dirs @@ -0,0 +1 @@ +var/lib/mysql-upgrade diff --git a/debian/mariadb-server-10.9.install b/debian/mariadb-server-10.9.install new file mode 100644 index 00000000000..7910f2b7224 --- /dev/null +++ b/debian/mariadb-server-10.9.install @@ -0,0 +1,83 @@ +debian/additions/debian-start etc/mysql +debian/additions/debian-start.inc.sh usr/share/mysql +debian/additions/echo_stderr usr/share/mysql +debian/additions/mariadb.conf.d/50-mysqld_safe.cnf etc/mysql/mariadb.conf.d +debian/additions/mariadb.conf.d/50-server.cnf etc/mysql/mariadb.conf.d +debian/additions/source_mariadb-10.9.py usr/share/apport/package-hooks +etc/apparmor.d/usr.sbin.mariadbd +etc/security/user_map.conf +lib/*/security/pam_user_map.so +lib/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf +lib/systemd/system/mysql.service +lib/systemd/system/mysqld.service +support-files/rpm/enable_encryption.preset etc/mysql/mariadb.conf.d/99-enable-encryption.cnf.preset +usr/bin/aria_chk +usr/bin/aria_dump_log +usr/bin/aria_ftdump +usr/bin/aria_pack +usr/bin/aria_read_log +usr/bin/galera_new_cluster +usr/bin/galera_recovery +usr/bin/mariadb-service-convert +usr/bin/mariadbd-multi +usr/bin/mariadbd-safe +usr/bin/mariadbd-safe-helper +usr/bin/myisam_ftdump +usr/bin/myisamchk +usr/bin/myisamlog +usr/bin/myisampack +usr/bin/wsrep_sst_common +usr/bin/wsrep_sst_mariabackup +usr/bin/wsrep_sst_mysqldump +usr/bin/wsrep_sst_rsync +usr/bin/wsrep_sst_rsync_wan +usr/lib/mysql/plugin/auth_ed25519.so +usr/lib/mysql/plugin/auth_pam.so +usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool +usr/lib/mysql/plugin/auth_pam_v1.so +usr/lib/mysql/plugin/disks.so +usr/lib/mysql/plugin/file_key_management.so +usr/lib/mysql/plugin/ha_archive.so +usr/lib/mysql/plugin/ha_blackhole.so +usr/lib/mysql/plugin/ha_federated.so +usr/lib/mysql/plugin/ha_federatedx.so +usr/lib/mysql/plugin/ha_sphinx.so +usr/lib/mysql/plugin/handlersocket.so +usr/lib/mysql/plugin/locales.so +usr/lib/mysql/plugin/metadata_lock_info.so +usr/lib/mysql/plugin/password_reuse_check.so +usr/lib/mysql/plugin/query_cache_info.so +usr/lib/mysql/plugin/query_response_time.so +usr/lib/mysql/plugin/server_audit.so +usr/lib/mysql/plugin/simple_password_check.so +usr/lib/mysql/plugin/sql_errlog.so +usr/lib/mysql/plugin/type_mysql_json.so +usr/lib/mysql/plugin/wsrep_info.so +usr/share/doc/mariadb-server-10.9/mariadbd.sym.gz +usr/share/man/man1/aria_chk.1 +usr/share/man/man1/aria_dump_log.1 +usr/share/man/man1/aria_ftdump.1 +usr/share/man/man1/aria_pack.1 +usr/share/man/man1/aria_read_log.1 +usr/share/man/man1/galera_new_cluster.1 +usr/share/man/man1/galera_recovery.1 +usr/share/man/man1/mariadb-service-convert.1 +usr/share/man/man1/mariadbd-multi.1 +usr/share/man/man1/mariadbd-safe-helper.1 +usr/share/man/man1/mariadbd-safe.1 +usr/share/man/man1/myisam_ftdump.1 +usr/share/man/man1/myisamchk.1 +usr/share/man/man1/myisamlog.1 +usr/share/man/man1/myisampack.1 +usr/share/man/man1/mysqld_multi.1 +usr/share/man/man1/mysqld_safe.1 +usr/share/man/man1/mysqld_safe_helper.1 +usr/share/man/man1/wsrep_sst_common.1 +usr/share/man/man1/wsrep_sst_mariabackup.1 +usr/share/man/man1/wsrep_sst_mysqldump.1 +usr/share/man/man1/wsrep_sst_rsync.1 +usr/share/man/man1/wsrep_sst_rsync_wan.1 +usr/share/mysql/errmsg-utf8.txt +usr/share/mysql/mini-benchmark +usr/share/mysql/wsrep.cnf +usr/share/mysql/wsrep_notify diff --git a/debian/mariadb-server-10.9.links b/debian/mariadb-server-10.9.links new file mode 100644 index 00000000000..9cc3a436ba8 --- /dev/null +++ b/debian/mariadb-server-10.9.links @@ -0,0 +1,10 @@ +usr/bin/mariadb-binlog usr/bin/mysqlbinlog +usr/bin/mariadb-convert-table-format usr/bin/mysql_convert_table_format +usr/bin/mariadb-hotcopy usr/bin/mysqlhotcopy +usr/bin/mariadb-plugin usr/bin/mysql_plugin +usr/bin/mariadb-secure-installation usr/bin/mysql_secure_installation +usr/bin/mariadb-setpermission usr/bin/mysql_setpermission +usr/bin/mariadb-tzinfo-to-sql usr/bin/mysql_tzinfo_to_sql +usr/bin/mariadbd-multi usr/bin/mysqld_multi +usr/bin/mariadbd-safe usr/bin/mysqld_safe +usr/bin/mariadbd-safe-helper usr/bin/mysqld_safe_helper diff --git a/debian/mariadb-server-10.9.logcheck.ignore.paranoid b/debian/mariadb-server-10.9.logcheck.ignore.paranoid new file mode 100644 index 00000000000..407d4063270 --- /dev/null +++ b/debian/mariadb-server-10.9.logcheck.ignore.paranoid @@ -0,0 +1,9 @@ +/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ +/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ +mariadbd\[[0-9]+\]: $ +mariadbd\[[0-9]+\]: Version: .* socket: '/run/mysqld/mysqld.sock' port: 3306$ +mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ +mysqld_safe\[[0-9]+\]: started$ +usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ +usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.9.logcheck.ignore.server b/debian/mariadb-server-10.9.logcheck.ignore.server new file mode 100644 index 00000000000..a64fc54e15c --- /dev/null +++ b/debian/mariadb-server-10.9.logcheck.ignore.server @@ -0,0 +1,30 @@ +/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ +/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ +mariadbd\[[0-9]+\]: ?$ +mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed +mariadbd\[[0-9]+\]: .*InnoDB: Started; +mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ +mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ +mariadbd\[[0-9]+\]: Version: .* socket +mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ +mysqld_safe\[[0-9]+\]: ?$ +mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ +mysqld_safe\[[0-9]+\]: ended$ +mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ +mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ +mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ +mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ +mysqld_safe\[[0-9]+\]: started$ +mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ +mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ +mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ +usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ +usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.9.logcheck.ignore.workstation b/debian/mariadb-server-10.9.logcheck.ignore.workstation new file mode 100644 index 00000000000..a64fc54e15c --- /dev/null +++ b/debian/mariadb-server-10.9.logcheck.ignore.workstation @@ -0,0 +1,30 @@ +/etc/init.d/mariadb\[[0-9]+\]: [0-9]+ processes alive and '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/init.d/mariadb\[[0-9]+\]: Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists\!$ +/etc/init.d/mariadb\[[0-9]+\]: '/usr/bin/mysqladmin --defaults-(extra-)?file=/etc/mysql/debian.cnf ping' resulted in$ +/etc/mysql/debian-start\[[0-9]+\]: Checking for crashed MySQL tables\.$ +mariadbd\[[0-9]+\]: ?$ +mariadbd\[[0-9]+\]: .*InnoDB: Shutdown completed +mariadbd\[[0-9]+\]: .*InnoDB: Started; +mariadbd\[[0-9]+\]: .*InnoDB: Starting shutdown\.\.\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Normal shutdown$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*\[Note\] /usr/sbin/mariadbd: Shutdown complete$ +mariadbd\[[0-9]+\]: /usr/sbin/mariadbd: ready for connections\.$ +mariadbd\[[0-9]+\]: .*/usr/sbin/mariadbd: Shutdown Complete$ +mariadbd\[[0-9]+\]: Version: .* socket +mariadbd\[[0-9]+\]: Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' earlier on the command line$ +mysqld_safe\[[0-9]+\]: ?$ +mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$ +mysqld_safe\[[0-9]+\]: ended$ +mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$ +mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$ +mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$ +mysqld_safe\[[0-9]+\]: See the manual for more instructions.$ +mysqld_safe\[[0-9]+\]: started$ +mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$ +mysqld_safe\[[0-9]+\]: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be$ +mysqld_safe\[[0-9]+\]: To do so, start the server, then issue the following commands:$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root -h app109 password 'new-password'$ +mysqld_safe\[[0-9]+\]: /usr/bin/mysqladmin -u root password 'new-password'$ +usermod\[[0-9]+\]: change user `mysql' GID from `([0-9]+)' to `\1'$ +usermod\[[0-9]+\]: change user `mysql' shell from `/bin/false' to `/bin/false'$ diff --git a/debian/mariadb-server-10.9.mariadb.init b/debian/mariadb-server-10.9.mariadb.init new file mode 100644 index 00000000000..d2baa8ba14e --- /dev/null +++ b/debian/mariadb-server-10.9.mariadb.init @@ -0,0 +1,207 @@ +#!/bin/bash +# +### BEGIN INIT INFO +# Provides: mariadb +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Should-Start: $network $named $time +# Should-Stop: $network $named $time +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start and stop the mysql database server daemon +# Description: Controls the main MariaDB database server daemon "mariadbd" +# and its wrapper script "mysqld_safe". +### END INIT INFO +# +set -e +set -u +${DEBIAN_SCRIPT_DEBUG:+ set -v -x} + +test -x /usr/sbin/mariadbd || exit 0 + +. /lib/lsb/init-functions + +SELF=$(cd $(dirname $0); pwd -P)/$(basename $0) + +MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" + +# priority can be overridden and "-s" adds output to stderr +ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mariadb -i" + +if [ -f /etc/default/mysql ]; then + . /etc/default/mysql +fi + +# Also source default/mariadb in case the installation was upgraded from +# packages originally installed from MariaDB.org repositories, which have +# had support for reading /etc/default/mariadb since March 2016. +if [ -f /etc/default/mariadb ]; then + . /etc/default/mariadb +fi + +# Safeguard (relative paths, core dumps..) +cd / +umask 077 + +# mysqladmin likes to read /root/.my.cnf. This is usually not what I want +# as many admins e.g. only store a password without a username there and +# so break my scripts. +export HOME=/etc/mysql/ + +## Fetch a particular option from mysql's invocation. +# +# Usage: void mariadbd_get_param option +mariadbd_get_param() { + /usr/sbin/mariadbd --print-defaults \ + | tr " " "\n" \ + | grep -- "--$1" \ + | tail -n 1 \ + | cut -d= -f2 +} + +## Do some sanity checks before even trying to start mariadbd. +sanity_checks() { + # check for config file + if [ ! -r /etc/mysql/my.cnf ]; then + log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" + echo "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER + fi + + # check for diskspace shortage + datadir=`mariadbd_get_param datadir` + if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then + log_failure_msg "$0: ERROR: The partition with $datadir is too full!" + echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER + exit 1 + fi +} + +## Checks if there is a server running and if so if it is accessible. +# +# check_alive insists on a pingable server +# check_dead also fails if there is a lost mariadbd in the process list +# +# Usage: boolean mariadbd_status [check_alive|check_dead] [warn|nowarn] +mariadbd_status () { + ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? )) + + ps_alive=0 + pidfile=`mariadbd_get_param pid-file` + if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi + + if [ "$1" = "check_alive" -a $ping_alive = 1 ] || + [ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then + return 0 # EXIT_SUCCESS + else + if [ "$2" = "warn" ]; then + echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug + fi + return 1 # EXIT_FAILURE + fi +} + +# +# main() +# + +case "${1:-''}" in + + 'start') + sanity_checks; + # Start daemon + log_daemon_msg "Starting MariaDB database server" "mariadbd" + if mariadbd_status check_alive nowarn; then + log_progress_msg "already running" + log_end_msg 0 + else + # Could be removed during boot + test -e /run/mysqld || install -m 755 -o mysql -g root -d /run/mysqld + + # Start MariaDB! + /usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER & + + for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do + sleep 1 + if mariadbd_status check_alive nowarn ; then break; fi + log_progress_msg "." + done + if mariadbd_status check_alive warn; then + log_end_msg 0 + # Now start mysqlcheck or whatever the admin wants. + output=$(/etc/mysql/debian-start) + if [ -n "$output" ]; then + log_action_msg "$output" + fi + else + log_end_msg 1 + log_failure_msg "Please take a look at the syslog" + fi + fi + ;; + + 'stop') + # * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible + # at least for cron, we can rely on it here, too. (although we have + # to specify it explicit as e.g. sudo environments points to the normal + # users home and not /root) + log_daemon_msg "Stopping MariaDB database server" "mariadbd" + if ! mariadbd_status check_dead nowarn; then + set +e + shutdown_out=`$MYADMIN shutdown 2>&1`; r=$? + set -e + if [ "$r" -ne 0 ]; then + log_end_msg 1 + [ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out" + log_daemon_msg "Killing MariaDB database server by signal" "mariadbd" + killall -15 mariadbd + server_down= + for i in `seq 1 600`; do + sleep 1 + if mariadbd_status check_dead nowarn; then server_down=1; break; fi + done + if test -z "$server_down"; then killall -9 mariadbd; fi + fi + fi + + if ! mariadbd_status check_dead warn; then + log_end_msg 1 + log_failure_msg "Please stop MariaDB manually and read /usr/share/doc/mariadb-server-10.9/README.Debian.gz!" + exit -1 + else + log_end_msg 0 + fi + ;; + + 'restart') + set +e; $SELF stop; set -e + shift + $SELF start "${@}" + ;; + + 'reload'|'force-reload') + log_daemon_msg "Reloading MariaDB database server" "mariadbd" + $MYADMIN reload + log_end_msg 0 + ;; + + 'status') + if mariadbd_status check_alive nowarn; then + log_action_msg "$($MYADMIN version)" + else + log_action_msg "MariaDB is stopped." + exit 3 + fi + ;; + + 'bootstrap') + # Bootstrap the cluster, start the first node + # that initiates the cluster + log_daemon_msg "Bootstrapping the cluster" "mariadbd" + $SELF start "${@:2}" --wsrep-new-cluster + ;; + + *) + echo "Usage: $SELF start|stop|restart|reload|force-reload|status" + exit 1 + ;; +esac diff --git a/debian/mariadb-server-10.9.mysql-server.logrotate b/debian/mariadb-server-10.9.mysql-server.logrotate new file mode 100644 index 00000000000..11e4480c427 --- /dev/null +++ b/debian/mariadb-server-10.9.mysql-server.logrotate @@ -0,0 +1,20 @@ +# - I put everything in one block and added sharedscripts, so that mysql gets +# flush-logs'd only once. +# Else the binary logs would automatically increase by n times every day. +# - The error log is obsolete, messages go to syslog now. +/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log { + daily + rotate 7 + missingok + create 640 mysql adm + compress + sharedscripts + postrotate + test -x /usr/bin/mysqladmin || exit 0 + # check if server is running + if mysqladmin ping > /dev/null 2>&1; then + mysqladmin --defaults-file=/etc/mysql/debian.cnf --local flush-error-log \ + flush-engine-log flush-general-log flush-slow-log + fi + endscript +} diff --git a/debian/mariadb-server-10.9.mysql.default b/debian/mariadb-server-10.9.mysql.default new file mode 100644 index 00000000000..36079edecb2 --- /dev/null +++ b/debian/mariadb-server-10.9.mysql.default @@ -0,0 +1,22 @@ +# +# NOTE: This file is read only by the traditional SysV init script. +# Debian 9 and Ubuntu 17.04 onward do not normally read this file as they use +# systemd by default. +# +# For similar behavior, systemd users should override ExecStart by dropping +# files into /etc/systemd/system/mariadb.service.d/ +# +# See also: +# https://wiki.debian.org/Teams/pkg-systemd/Packaging#overriding_options_and_.2Fetc.2Fdefault_handling +# https://mariadb.com/kb/en/mariadb/systemd/ +# +# Note also that MariaDB systemd does _not_ utilize mysqld_safe. + +# The delay in seconds the init script waits for the server to be up and running after having started "mysqld_safe" to run the "/etc/mysql/debian-start" script. +# If the server is still not responding after the delay, the script won't be executed and an error will be thrown on the syslog. +# Default: 30 +#MYSQLD_STARTUP_TIMEOUT=30 + +# The email recipient(s) of the output of the check for crashed and improperly closed MyISAM and Aria tables done at each server start by the "/etc/mysql/debian-start" script. +# Default: root +#MYCHECK_RCPT="root" diff --git a/debian/mariadb-server-10.9.postinst b/debian/mariadb-server-10.9.postinst new file mode 100644 index 00000000000..13800b7bce2 --- /dev/null +++ b/debian/mariadb-server-10.9.postinst @@ -0,0 +1,273 @@ +#!/bin/bash +set -e + +. /usr/share/debconf/confmodule + +# Automatically set version to ease maintenance of this file +MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin + +# This command can be used as pipe to syslog. With "-s" it also logs to stderr. +ERR_LOGGER="logger -p daemon.err -t mariadb-server-$MAJOR_VER.postinst -i" +# Specify syslog tag name so it is clear the entry came from this postinst script. +# This will make an error in a logged command immediately apparent by aborting +# the install, rather than failing silently and leaving a broken install. +set -o pipefail + +case "$1" in + configure) + # This is needed because mysql_install_db removes the pid file in /run + # and because changed configuration options should take effect immediately. + # In case the server wasn't running at all it should be ok if the stop + # script fails. I can't tell at this point because of the cleaned /run. + set +e; invoke-rc.d mariadb stop; set -e + + # An existing /etc/init.d/mysql might be on the system if there was a + # previous MySQL or MariaDB installation, since /etc/init.d files are + # considered config files and stay around even after the package is removed. + # + # The install step of this package adds a new /etc/init.d/mariadb file. As + # we also want to ensure that there are no old (and potentially outdated) + # versions of /etc/init.d/mysql we simply replace it using a copy of the + # latest 'mariadb' file. This has also the added benefit that anything that + # invokes traditional sysv init with either 'mysql' or 'mariadb' will end up + # controlling this newly installed MariaDB, and thus we maintain better + # backwards compatibility. + # + # Note that the 'Provides' line is also updated to avoid 'insserv' exiting + # on failure (when it is run by update-rc.d) because of duplicate service + # names. + if [ -f "/etc/init.d/mysql" ] && [ -f "/etc/init.d/mariadb" ] + then + # Copy init file and rename the service name and filename on the fly + sed 's/Provides: mariadb/Provides: mysql/g' /etc/init.d/mariadb > /etc/init.d/mysql + # NOTE: Number of spaces/tabs is important here! + # Confirm if the sed worked + if ! grep --quiet "Provides: mysql" /etc/init.d/mysql + then + # If not, then delete the file to avoid failures later on + rm -f /etc/init.d/mysql + echo "Warning! Failed creating a mysql named copy of mariadb init.d file" + fi + fi + + mysql_statedir=/usr/share/mysql + mysql_datadir=/var/lib/mysql + mysql_logdir=/var/log/mysql + mysql_cfgdir=/etc/mysql + mysql_upgradedir=/var/lib/mysql-upgrade + + # If the following symlink exists, it is a preserved copy the old data dir + # created by the preinst script during a upgrade that would have otherwise + # been replaced by an empty mysql dir. This should restore it. + for dir in DATADIR LOGDIR; do + + if [ "$dir" = "DATADIR" ]; then + targetdir=$mysql_datadir + else + targetdir=$mysql_logdir + fi + + savelink="$mysql_upgradedir/$dir.link" + if [ -L "$savelink" ]; then + # If the targetdir was a symlink before we upgraded it is supposed + # to be either still be present or not existing anymore now. + if [ -L "$targetdir" ]; then + rm "$savelink" + elif [ ! -d "$targetdir" ]; then + mv "$savelink" "$targetdir" + else + # this should never even happen, but just in case... + mysql_tmp=$(mktemp -d -t mysql-symlink-restore-XXXXXX) + echo "this is very strange! see $mysql_tmp/README..." >&2 + mv "$targetdir" "$mysql_tmp" + cat << EOF > "$mysql_tmp/README" + +If you're reading this, it's most likely because you had replaced /var/lib/mysql +with a symlink, then upgraded to a new version of mysql, and then dpkg +removed your symlink (see #182747 and others). The mysql packages noticed +that this happened, and as a workaround have restored it. However, because +/var/lib/mysql seems to have been re-created in the meantime, and because +we don't want to rm -rf something we don't know as much about, we are going +to leave this unexpected directory here. If your database looks normal, +and this is not a symlink to your database, you should be able to blow +this all away. + +EOF + fi + fi + rmdir $mysql_upgradedir 2>/dev/null || true + + done + + # Upgrading from mysql.com needs might have the root user as auth_socket. + # auto.cnf is a sign of a mysql install, that doesn't exist in mariadb. + # We use lsof to protect against concurrent access by mysqld (mariadb has + # its own projection). We make sure we're not doing this on a MySQL-8.0 + # directory. + # This direct update is needed to enable an authentication mechanism to + # perform mariadb-upgrade, (MDEV-22678). To keep the impact minimal, we + # skip innodb and set key-buffer-size to 0 as it isn't reused. + if [ -f "$mysql_datadir"/auto.cnf ] && [ -f "$mysql_datadir"/mysql/user.MYD ] && + [ ! lsof -nt "$mysql_datadir"/mysql/user.MYD > /dev/null ] && [ ! -f "$mysql_datadir"/undo_001 ]; then + echo "UPDATE mysql.user SET plugin='unix_socket' WHERE plugin='auth_socket';" | + /usr/sbin/mariadbd --skip-innodb --key_buffer_size=0 --default-storage-engine=MyISAM --bootstrap 2> /dev/null + fi + + # Ensure the existence and right permissions for the database and + # log files. Use mkdir option 'Z' to create with correct SELinux context. + if [ ! -d "$mysql_statedir" ] && [ ! -L "$mysql_statedir" ]; then mkdir -Z "$mysql_statedir"; fi + if [ ! -d "$mysql_datadir" ] && [ ! -L "$mysql_datadir" ]; then mkdir -Z "$mysql_datadir" ; fi + if [ ! -d "$mysql_logdir" ] && [ ! -L "$mysql_logdir" ]; then mkdir -Z "$mysql_logdir" ; fi + # When creating an ext3 jounal on an already mounted filesystem like e.g. + # /var/lib/mysql, you get a .journal file that is not modifiable by chown. + # The mysql_statedir must not be writable by the mysql user under any + # circumstances as it contains scripts that are executed by root. + set +e + chown -R 0:0 $mysql_statedir + find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql + chown -R mysql:adm $mysql_logdir + chmod 2750 $mysql_logdir + set -e + + ## Set the correct filesystem ownership for the PAM v2 plugin + # eg. /usr/lib/x86_64-linux-gnu/mysql/plugin/auth_pam_tool_dir/ + # NOTE! This is security sensitive, don't allow for a race condition. + # + # 1. Drop privileges of directory + # -> At this point only root can see and execute auth_pam_tool + chmod 0700 /usr/lib/mysql/plugin/auth_pam_tool_dir + # + # 2. Make binary setuid + # -> At this point only root can run the setuid binary so no escalation here yet + chmod 04755 /usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool + # + # 3. Allow user 'mysql' to see and execute auth_pam_tool + # -> Now user mysql owns the directory and can see and execute the binary inside + # -> Since the binary is setuid, user mysql gets limited root powers here to + # run the PAM authetications, which need root (e.g. to validate passwords + # against /etc/shadow) + chown mysql /usr/lib/mysql/plugin/auth_pam_tool_dir + + # This is important to avoid dataloss when there is a removed + # mysql-server version from Woody lying around which used the same + # data directory and then somewhen gets purged by the admin. + db_set mariadb-server/postrm_remove_database false || true + + # Clean up old flags before setting new one + rm -f $mysql_datadir/debian-*.flag + # Flag data dir to avoid downgrades + touch "$mysql_datadir/debian-$MAJOR_VER.flag" + + # initiate databases. Output is not allowed by debconf :-( + # This will fail if we are upgrading an existing database; in this case + # mysql_upgrade, called from the /etc/init.d/mariadb start script, will + # handle things. + # Debian: beware of the bashisms... + # Debian: can safely run on upgrades with existing databases + set +e + bash /usr/bin/mysql_install_db --rpm --cross-bootstrap --user=mysql \ + --disable-log-bin --skip-test-db 2>&1 | \ + $ERR_LOGGER + set -e + + # On new installations root user can connect via unix_socket. + # But on upgrades, scripts rely on debian-sys-maint user and + # credentials in /etc/mysql/debian.cnf + # All tools use --defaults-file=/etc/mysql/debian.cnf + # And while it's not needed for new installations, we keep using + # --defaults-file option for tools (for the sake of upgrades) + # and thus need /etc/mysql/debian.cnf to exist, even if it's empty. + # In the long run the goal is to obsolete this file. + dc=$mysql_cfgdir/debian.cnf; + if [ ! -d "$mysql_cfgdir" ]; then + install -o 0 -g 0 -m 0755 -d $mysql_cfgdir + fi + if [ ! -e "$dc" ]; then + cat /dev/null > $dc + echo "# THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE." >>$dc + echo "# This file exists only for backwards compatibility for" >>$dc + echo "# tools that run '--defaults-file=/etc/mysql/debian.cnf'" >>$dc + echo "# and have root level access to the local filesystem." >>$dc + echo "# With those permissions one can run 'mariadb' directly" >>$dc + echo "# anyway thanks to unix socket authentication and hence" >>$dc + echo "# this file is useless. See package README for more info." >>$dc + echo "[client]" >>$dc + echo "host = localhost" >>$dc + echo "user = root" >>$dc + echo "[mysql_upgrade]" >>$dc + echo "host = localhost" >>$dc + echo "user = root" >>$dc + echo "# THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE." >>$dc + fi + # Keep it only root-readable, as it always was + chown 0:0 $dc + chmod 0600 $dc + + # If there is a real AppArmor profile, we reload it. + # If the default empty profile is installed, then we remove any old + # profile that may be loaded. + # This allows upgrade from old versions (that have an apparmor profile + # on by default) to work both to disable a default profile, and to keep + # any profile installed and maintained by users themselves. + profile="/etc/apparmor.d/usr.sbin.mariadbd" + if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then + if grep -q /usr/sbin/mariadbd "$profile" 2>/dev/null ; then + apparmor_parser -r "$profile" || true + else + echo "/usr/sbin/mariadbd { }" | apparmor_parser --remove 2>/dev/null || true + fi + fi + + # @TODO: Remove once buildbot.askmonty.org has been updated not to expect this file + mkdir -p /etc/systemd/system/mariadb.service.d/ + # Note that file cannot be empty, otherwise systemd version in Ubuntu Bionic + # will think the service is masked + echo "# empty placeholder" > /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf + + ;; + + abort-upgrade|abort-remove|abort-configure) + ;; + + triggered) + if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload + else + invoke-rc.d mariadb restart + fi + ;; + + *) + echo "postinst called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +db_stop # in case invoke fails + +# dh_systemd_start doesn't emit anything since we still ship /etc/init.d/mariadb. +# Thus MariaDB server is started via init.d script, which in turn redirects to +# systemctl. If we upgrade from MySQL mysql.service may be masked, which also +# means init.d script is disabled. Unmask mysql service explicitly. +# Check first that the command exists, to avoid emitting any warning messages. +if [ -x "$(command -v deb-systemd-helper)" ]; then + deb-systemd-helper unmask mysql.service > /dev/null +fi + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true + deb-systemd-invoke start mariadb.service >/dev/null || true +# Modified dh_installinit snippet to only run with sysvinit +elif [ -x "/etc/init.d/mariadb" ]; then + if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + invoke-rc.d mariadb start || exit $? + fi +fi diff --git a/debian/mariadb-server-10.9.postrm b/debian/mariadb-server-10.9.postrm new file mode 100644 index 00000000000..97789a038df --- /dev/null +++ b/debian/mariadb-server-10.9.postrm @@ -0,0 +1,99 @@ +#!/bin/bash +set -e + +. /usr/share/debconf/confmodule + +# Automatically set version to ease maintenance of this file +MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf" + +# Try to stop the server in a sane way. If it does not success let the admin +# do it himself. No database directories should be removed while the server +# is running! Another mariadbd in e.g. a different chroot is fine for us. +stop_server() { + # Return immediately if there are no mysql processes running + # as there is no point in trying to shutdown in that case. + if ! pgrep -x mariadbd > /dev/null; then return; fi + # Compatibility with versions that ran 'mysqld' + if ! pgrep -x mysqld > /dev/null; then return; fi + + set +e + invoke-rc.d mariadb stop + invoke-rc.d mysql stop # Backwards compatibility + errno=$? + set -e + + # systemctl could emit exit code 100=no init script (fresh install) + if [ "$errno" != 0 -a "$errno" != 100 ]; then + echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 + echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 + echo "Stop it yourself and try again!" 1>&2 + db_stop + exit 1 + fi +} + + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then + stop_server + sleep 2 + fi + ;; + *) + echo "postrm called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +# +# - Purge logs and data only if they are ours (#307473) +# - Remove the mysql user only after all his owned files are purged. +# - Cleanup the initscripts only if this was the last provider of them +# +if [ "$1" = "purge" ] && [ -f "/var/lib/mysql/debian-$MAJOR_VER.flag" ]; then + # we remove the mysql user only after all his owned files are purged + rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz} + rm -rf /var/log/mysql + + db_input high "mariadb-server-$MAJOR_VER/postrm_remove_databases" || true + db_go || true + db_get "mariadb-server-$MAJOR_VER/postrm_remove_databases" || true + if [ "$RET" = "true" ]; then + # never remove the debian.cnf when the databases are still existing + # else we ran into big trouble on the next install! + rm -f /etc/mysql/debian.cnf + # Remove all contents from /var/lib/mysql except if it's a + # directory with file system data. See #829491 for details and + # #608938 for potential mysql-server leftovers which erroneously + # had been renamed. + # Attempt removal only if the directory hasn't already been removed + # by dpkg to avoid failing on "No such file or directory" errors. + if [ -d /var/lib/mysql ] + then + find /var/lib/mysql -mindepth 1 \ + -not -path '*/lost+found/*' -not -name 'lost+found' \ + -not -path '*/lost@002bfound/*' -not -name 'lost@002bfound' \ + -delete + + # "|| true" still needed as rmdir still exits with non-zero if + # /var/lib/mysql is a mount point + rmdir --ignore-fail-on-non-empty /var/lib/mysql || true + fi + rm -rf /run/mysqld # this directory is created by the init script, don't leave behind + userdel mysql || true + fi + +fi + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + systemctl --system daemon-reload >/dev/null || true +fi diff --git a/debian/mariadb-server-10.9.preinst b/debian/mariadb-server-10.9.preinst new file mode 100644 index 00000000000..919031066c9 --- /dev/null +++ b/debian/mariadb-server-10.9.preinst @@ -0,0 +1,224 @@ +#!/bin/bash -e +# +# summary of how this script can be called: +# * install +# * install +# * upgrade +# * abort-upgrade +# + +. /usr/share/debconf/confmodule + +# Automatically set version to ease maintenance of this file +MAJOR_VER="${DPKG_MAINTSCRIPT_PACKAGE#mariadb-server-}" + +# Just kill the invalid insserv.conf.d directory without fallback +if [ -d "/etc/insserv.conf.d/mariadb/" ]; then + rm -rf "/etc/insserv.conf.d/mariadb/" +fi + +if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi +${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 } + +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin +mysql_datadir=/var/lib/mysql +mysql_upgradedir=/var/lib/mysql-upgrade + +# Try to stop the server in a sane way. If it does not success let the admin +# do it himself. No database directories should be removed while the server +# is running! Another mariadbd in e.g. a different chroot is fine for us. +stop_server() { + # Return immediately if there are no mysql processes running + # as there is no point in trying to shutdown in that case. + if ! pgrep -x --ns $$ mariadbd > /dev/null; then return; fi + # Compatibility with versions that ran 'mysqld' + if ! pgrep -x --ns $$ mysqld > /dev/null; then return; fi + + set +e + invoke-rc.d mariadb stop + invoke-rc.d mysql stop # Backwards compatibility + errno=$? + set -e + + # systemctl could emit exit code 100=no init script (fresh install) + if [ "$errno" != 0 -a "$errno" != 100 ]; then + echo "Attempt to stop MariaDB/MySQL server returned exitcode $errno" 1>&2 + echo "There is a MariaDB/MySQL server running, but we failed in our attempts to stop it." 1>&2 + echo "Stop it yourself and try again!" 1>&2 + db_stop + exit 1 + fi +} + +################################ main() ########################## + +this_version=$MAJOR_VER +max_upgradeable_version=5.7 + +# Check if a flag file is found that indicates a previous MariaDB or MySQL +# version was installed. If multiple flags are found, check which one was +# the biggest version number. +for flag in $mysql_datadir/debian-*.flag +do + + # The for loop leaves $flag as the query string if there are no results, + # so the check below is needed to stop further processing when there are + # no real results. + if [ "$flag" = "$mysql_datadir/debian-*.flag" ] + then + break + fi + + flag_version=$(echo "$flag" | sed 's/.*debian-\([0-9\.]\+\).flag/\1/') + + # Initialize value if empty + if [ -z "$found_version" ] + then + found_version=$flag_version + fi + + # Update value if now bigger then before + if dpkg --compare-versions "$flag_version" '>>' "$found_version" + then + found_version=$flag_version + fi + +done + + +# If an upgrade is detected, proceed with it automatically without +# requiring any user interaction. +# +# However, if the user attempts to downgrade, warn about the incompatibility. +# Downgrade is detected if the flag version is bigger than $this_version +# (e.g. 10.1 > 10.0) or the flag version is smaller than 10.0 but bigger +# than $max_upgradeable_version. +if [ ! -z "$found_version" ] +then + + # MySQL 8.0 in Ubuntu has a bug in packaging and the file is name wrongly + # 'debian-5.7.flag', so in case '5.7' was encountered an extra check needs to + # be done to see is there is a file called undo_001, which is a sign of 8.0. + if [ "$found_version" == "5.7" ] && [ -f "$mysql_datadir/undo_001" ] + then + # Seems to be a 8.0, flag has wrongly 5.7 (know bug) + found_version=8.0 + fi + + echo "$mysql_datadir: found previous version $found_version" + + if dpkg --compare-versions "$found_version" '>>' "$this_version" + then + downgrade_detected=true + fi + + if dpkg --compare-versions "$found_version" '>>' "$max_upgradeable_version" \ + && dpkg --compare-versions "$found_version" '<<' "10.0" + then + downgrade_detected=true + fi + +fi + + +# Don't abort dpkg if downgrade is detected (as was done previously). +# Instead simply move the old datadir and create a new for this_version. +if [ ! -z "$downgrade_detected" ] +then + db_input critical "mariadb-server-$MAJOR_VER/old_data_directory_saved" || true + db_go + echo "The file $mysql_datadir/debian-$found_version.flag indicates a" 1>&2 + echo "version that cannot automatically be upgraded. Therefore the" 1>&2 + echo "previous data directory will be renamed to $mysql_datadir-$found_version and" 1>&2 + echo "a new data directory will be initialized at $mysql_datadir." 1>&2 + echo "Please manually export/import your data (e.g. with mysqldump) if needed." 1>&2 + mv -f "$mysql_datadir" "$mysql_datadir-$found_version" + # Also move away the old debian.cnf file that included credentials that are + # no longer valid + mv -f /etc/mysql/debian.cnf "/etc/mysql/debian.cnf-$found_version" +fi + +# to be sure +stop_server + +# If we use NIS then errors should be tolerated. It's up to the +# user to ensure that the mysql user is correctly setup. +# Beware that there are two ypwhich one of them needs the 2>/dev/null! +if test -n "$(which ypwhich 2>/dev/null)" && ypwhich >/dev/null 2>&1; then + set +e +fi + +# +# Now we have to ensure the following state: +# /etc/passwd: mysql:x:100:101:MySQL Server:/nonexistent:/bin/false +# /etc/group: mysql:x:101: +# +# Sadly there could any state be present on the system so we have to +# modify everything carefully i.e. not doing a chown before creating +# the user etc... +# + +# creating mysql group if he isn't already there +if ! getent group mysql >/dev/null; then + # Adding system group: mysql. + addgroup --system mysql >/dev/null +fi + +# creating mysql user if he isn't already there +if ! getent passwd mysql >/dev/null; then + # Adding system user: mysql. + adduser \ + --system \ + --disabled-login \ + --ingroup mysql \ + --no-create-home \ + --home /nonexistent \ + --gecos "MySQL Server" \ + --shell /bin/false \ + mysql >/dev/null +fi + +# end of NIS tolerance zone +set -e + +# if there's a symlink, let's store where it's pointing, because otherwise +# it's going to be lost in some situations +for dir in DATADIR LOGDIR; do + checkdir=$(eval echo "$"$dir) + if [ -L "$checkdir" ]; then + # Use mkdir option 'Z' to create with correct SELinux context. + mkdir -pZ "$mysql_upgradedir" + cp -dT "$checkdir" "$mysql_upgradedir/$dir.link" + fi +done + +# creating mysql home directory +if [ ! -d $mysql_datadir ] && [ ! -L $mysql_datadir ]; then + # Use mkdir option 'Z' to create with correct SELinux context. + mkdir -Z $mysql_datadir +fi + +# checking disc space +if LC_ALL=C BLOCKSIZE= df --portability $mysql_datadir/. | tail -n 1 | awk '{ exit ($4>1000) }'; then + echo "ERROR: There's not enough space in $mysql_datadir/" 1>&2 + db_stop + exit 1 +fi + +# Since the home directory was created before putting the user into +# the mysql group and moreover we cannot guarantee that the +# permissions were correctly *before* calling this script, we fix them now. +# In case we use NIS and no mysql user is present then this script should +# better fail now than later.. +# The "set +e" is necessary as e.g. a ".journal" of a ext3 partition is +# not chgrp'able (#318435). +set +e +find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql +find $mysql_datadir -follow -not -group mysql -print0 2>/dev/null \ + | xargs -0 --no-run-if-empty chgrp mysql +set -e + + +db_stop + +#DEBHELPER# diff --git a/debian/mariadb-server-10.9.prerm b/debian/mariadb-server-10.9.prerm new file mode 100644 index 00000000000..8fd172da9d2 --- /dev/null +++ b/debian/mariadb-server-10.9.prerm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# Modified dh_systemd_start snippet that's not added automatically +if [ -d /run/systemd/system ]; then + deb-systemd-invoke stop mariadb.service >/dev/null +# Modified dh_installinit snippet to only run with sysvinit +elif [ -x "/etc/init.d/mariadb" ]; then + invoke-rc.d mariadb stop || exit $? +fi diff --git a/debian/mariadb-server-10.9.templates b/debian/mariadb-server-10.9.templates new file mode 100644 index 00000000000..28360d45326 --- /dev/null +++ b/debian/mariadb-server-10.9.templates @@ -0,0 +1,45 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: mariadb-server-10.9/old_data_directory_saved +Type: note +_Description: The old data directory will be saved at new location + A file named /var/lib/mysql/debian-*.flag exists on this system. + The number indicates a database binary format version that cannot automatically + be upgraded (or downgraded). + . + Therefore the previous data directory will be renamed to /var/lib/mysql-* and + a new data directory will be initialized at /var/lib/mysql. + . + Please manually export/import your data (e.g. with mysqldump) if needed. + +Template: mariadb-server-10.9/nis_warning +Type: note +#flag:translate!:3,5 +_Description: Important note for NIS/YP users + Using MariaDB under NIS/YP requires a mysql user account to be added on + the local system with: + . + adduser --system --group --home /var/lib/mysql mysql + . + You should also check the permissions and ownership of the + /var/lib/mysql directory: + . + /var/lib/mysql: drwxr-xr-x mysql mysql + +Template: mariadb-server-10.9/postrm_remove_databases +Type: boolean +Default: false +_Description: Remove all MariaDB databases? + The /var/lib/mysql directory which contains the MariaDB databases is about + to be removed. + . + If you're removing the MariaDB package in order to later install a more + recent version or if a different mariadb-server package is already + using it, the data should be kept. diff --git a/debian/mariadb-server-10.9.triggers b/debian/mariadb-server-10.9.triggers new file mode 100644 index 00000000000..d1f5f5e14f1 --- /dev/null +++ b/debian/mariadb-server-10.9.triggers @@ -0,0 +1,2 @@ +interest-noawait /etc/mysql +interest-noawait /etc/systemd/system/mariadb.service.d diff --git a/debian/mariadb-server-core-10.8.install b/debian/mariadb-server-core-10.8.install deleted file mode 100644 index f760f34e3f7..00000000000 --- a/debian/mariadb-server-core-10.8.install +++ /dev/null @@ -1,46 +0,0 @@ -usr/bin/innochecksum -usr/bin/mariadb-install-db -usr/bin/mariadb-upgrade -usr/bin/resolveip -usr/sbin/mariadbd -usr/share/man/man1/innochecksum.1 -usr/share/man/man1/mariadb-install-db.1 -usr/share/man/man1/mariadb-upgrade.1 -usr/share/man/man1/mysql_install_db.1 -usr/share/man/man1/mysql_upgrade.1 -usr/share/man/man1/resolveip.1 -usr/share/man/man8/mariadbd.8 -usr/share/man/man8/mysqld.8 -usr/share/mysql/charsets -usr/share/mysql/czech -usr/share/mysql/danish -usr/share/mysql/dutch -usr/share/mysql/english -usr/share/mysql/estonian -usr/share/mysql/fill_help_tables.sql -usr/share/mysql/french -usr/share/mysql/german -usr/share/mysql/greek -usr/share/mysql/hindi -usr/share/mysql/hungarian -usr/share/mysql/italian -usr/share/mysql/japanese -usr/share/mysql/korean -usr/share/mysql/maria_add_gis_sp_bootstrap.sql -usr/share/mysql/mysql_performance_tables.sql -usr/share/mysql/mysql_sys_schema.sql -usr/share/mysql/mysql_system_tables.sql -usr/share/mysql/mysql_system_tables_data.sql -usr/share/mysql/mysql_test_data_timezone.sql -usr/share/mysql/mysql_test_db.sql -usr/share/mysql/norwegian -usr/share/mysql/norwegian-ny -usr/share/mysql/polish -usr/share/mysql/portuguese -usr/share/mysql/romanian -usr/share/mysql/russian -usr/share/mysql/serbian -usr/share/mysql/slovak -usr/share/mysql/spanish -usr/share/mysql/swedish -usr/share/mysql/ukrainian diff --git a/debian/mariadb-server-core-10.8.links b/debian/mariadb-server-core-10.8.links deleted file mode 100644 index c2be98f38fb..00000000000 --- a/debian/mariadb-server-core-10.8.links +++ /dev/null @@ -1,3 +0,0 @@ -usr/bin/mariadb-install-db usr/bin/mysql_install_db -usr/bin/mariadb-upgrade usr/bin/mysql_upgrade -usr/sbin/mariadbd usr/sbin/mysqld diff --git a/debian/mariadb-server-core-10.9.install b/debian/mariadb-server-core-10.9.install new file mode 100644 index 00000000000..f760f34e3f7 --- /dev/null +++ b/debian/mariadb-server-core-10.9.install @@ -0,0 +1,46 @@ +usr/bin/innochecksum +usr/bin/mariadb-install-db +usr/bin/mariadb-upgrade +usr/bin/resolveip +usr/sbin/mariadbd +usr/share/man/man1/innochecksum.1 +usr/share/man/man1/mariadb-install-db.1 +usr/share/man/man1/mariadb-upgrade.1 +usr/share/man/man1/mysql_install_db.1 +usr/share/man/man1/mysql_upgrade.1 +usr/share/man/man1/resolveip.1 +usr/share/man/man8/mariadbd.8 +usr/share/man/man8/mysqld.8 +usr/share/mysql/charsets +usr/share/mysql/czech +usr/share/mysql/danish +usr/share/mysql/dutch +usr/share/mysql/english +usr/share/mysql/estonian +usr/share/mysql/fill_help_tables.sql +usr/share/mysql/french +usr/share/mysql/german +usr/share/mysql/greek +usr/share/mysql/hindi +usr/share/mysql/hungarian +usr/share/mysql/italian +usr/share/mysql/japanese +usr/share/mysql/korean +usr/share/mysql/maria_add_gis_sp_bootstrap.sql +usr/share/mysql/mysql_performance_tables.sql +usr/share/mysql/mysql_sys_schema.sql +usr/share/mysql/mysql_system_tables.sql +usr/share/mysql/mysql_system_tables_data.sql +usr/share/mysql/mysql_test_data_timezone.sql +usr/share/mysql/mysql_test_db.sql +usr/share/mysql/norwegian +usr/share/mysql/norwegian-ny +usr/share/mysql/polish +usr/share/mysql/portuguese +usr/share/mysql/romanian +usr/share/mysql/russian +usr/share/mysql/serbian +usr/share/mysql/slovak +usr/share/mysql/spanish +usr/share/mysql/swedish +usr/share/mysql/ukrainian diff --git a/debian/mariadb-server-core-10.9.links b/debian/mariadb-server-core-10.9.links new file mode 100644 index 00000000000..c2be98f38fb --- /dev/null +++ b/debian/mariadb-server-core-10.9.links @@ -0,0 +1,3 @@ +usr/bin/mariadb-install-db usr/bin/mysql_install_db +usr/bin/mariadb-upgrade usr/bin/mysql_upgrade +usr/sbin/mariadbd usr/sbin/mysqld diff --git a/debian/not-installed b/debian/not-installed index c7566c237d1..92b6584ee73 100644 --- a/debian/not-installed +++ b/debian/not-installed @@ -16,15 +16,15 @@ usr/lib/*/libdbbc.a # ColumnStore header file usr/lib/*/libidbboot.a # ColumnStore header file usr/lib/*/libprocessor.a # ColumnStore header file usr/lib/*/libwe_xml.a # ColumnStore header file -usr/share/doc/mariadb-server-10.8/COPYING -usr/share/doc/mariadb-server-10.8/COPYING.AGPLv3 -usr/share/doc/mariadb-server-10.8/COPYING.GPLv2 -usr/share/doc/mariadb-server-10.8/COPYING.thirdparty -usr/share/doc/mariadb-server-10.8/CREDITS -usr/share/doc/mariadb-server-10.8/EXCEPTIONS-CLIENT -usr/share/doc/mariadb-server-10.8/INSTALL-BINARY -usr/share/doc/mariadb-server-10.8/PATENTS -usr/share/doc/mariadb-server-10.8/README-wsrep +usr/share/doc/mariadb-server-10.9/COPYING +usr/share/doc/mariadb-server-10.9/COPYING.AGPLv3 +usr/share/doc/mariadb-server-10.9/COPYING.GPLv2 +usr/share/doc/mariadb-server-10.9/COPYING.thirdparty +usr/share/doc/mariadb-server-10.9/CREDITS +usr/share/doc/mariadb-server-10.9/EXCEPTIONS-CLIENT +usr/share/doc/mariadb-server-10.9/INSTALL-BINARY +usr/share/doc/mariadb-server-10.9/PATENTS +usr/share/doc/mariadb-server-10.9/README-wsrep usr/share/groonga/COPYING usr/share/groonga-normalizer-mysql/lgpl-2.0.txt usr/share/groonga-normalizer-mysql/README.md diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in index dd5f492240d..786747e1a52 100644 --- a/debian/po/POTFILES.in +++ b/debian/po/POTFILES.in @@ -1 +1 @@ -[type: gettext/rfc822deb] mariadb-server-10.8.templates +[type: gettext/rfc822deb] mariadb-server-10.9.templates diff --git a/debian/po/ar.po b/debian/po/ar.po index 0a68a467664..35747cb8476 100644 --- a/debian/po/ar.po +++ b/debian/po/ar.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: templates\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2007-05-01 13:04+0300\n" "Last-Translator: Ossama M. Khayat \n" @@ -27,13 +27,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -42,7 +42,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -50,20 +50,20 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "ملاحظة هامة لمستخدمي NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -71,7 +71,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 #, fuzzy #| msgid "" #| "You should also check the permissions and the owner of the /var/lib/mysql " @@ -83,13 +83,13 @@ msgstr "عليك أيضاً أن تقوم بالتأكد من صلاحيات م #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "إزالة جميع قواعد بيانات MariaDB؟" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -97,7 +97,7 @@ msgstr "الدليل /var/lib/mysql الذي يحتوي قواعد بيانات #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/ca.po b/debian/po/ca.po index d8fe9eeb97e..1c395060159 100644 --- a/debian/po/ca.po +++ b/debian/po/ca.po @@ -1,12 +1,12 @@ # mariadb (debconf) translation to Catalan. -# his file is distributed under the same license as the mariadb-10.8 package. +# his file is distributed under the same license as the mariadb-10.9 package. # Aleix Badia i Bosch 2004 # Innocent De Marchi 2017 # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-03-20 17:55+0100\n" "Last-Translator: Innocent De Marchi \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "El directori de dades antigues es desarà a una nova localització" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -37,7 +37,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -47,7 +47,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -56,13 +56,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Nota important pels usuaris de «NIS/YP»" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Eliminar totes les bases de dades MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/cs.po b/debian/po/cs.po index 4eefea44b5c..dbdec91e429 100644 --- a/debian/po/cs.po +++ b/debian/po/cs.po @@ -13,8 +13,8 @@ # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2020-10-18 17:13+0200\n" "Last-Translator: Miroslav Kure \n" @@ -26,13 +26,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Starý adresář s daty bude uložen na novém místě." #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -44,7 +44,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -54,7 +54,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -63,13 +63,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Důležitá poznámka pro uživatele NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -79,7 +79,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -88,13 +88,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Odstranit všechny MariaDB databáze?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -104,7 +104,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/da.po b/debian/po/da.po index c4b43d2bf38..d177af61f52 100644 --- a/debian/po/da.po +++ b/debian/po/da.po @@ -1,13 +1,13 @@ -# Danish translation mariadb-10.8. -# Copyright (C) 2014 mariadb-10.8 og nedenstående oversættere. -# This file is distributed under the same license as the mariadb-10.8 package. +# Danish translation mariadb-10.9. +# Copyright (C) 2014 mariadb-10.9 og nedenstående oversættere. +# This file is distributed under the same license as the mariadb-10.9 package. # Claus Hindsgaul , 2005, 2006, 2007. # Joe Hansen , 2014, 2016. # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-07-09 22:41+0200\n" "Last-Translator: Joe Hansen \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Den gamle datamappe vil blive gemt på en ny placering" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -37,7 +37,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -47,7 +47,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -56,13 +56,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Vigtig oplysning til NIS/YP-brugere" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Fjern alle MariaDB-databaser?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/de.po b/debian/po/de.po index 1d0f80e42e2..fd38bafd1c2 100644 --- a/debian/po/de.po +++ b/debian/po/de.po @@ -1,4 +1,4 @@ -# German translation of mariadb-10.8 10.0.13-1 +# German translation of mariadb-10.9 10.0.13-1 # Alwin Meschede , 2006, 2007. # Thomas Mueller , 2009. # Chris Leick , 2014-2016. @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: mariadb 10.0.25-1\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-05-12 22:39+0100\n" "Last-Translator: Chris Leick \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Das alte Datenverzeichnis wird an einer neuen Stelle gespeichert" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -37,7 +37,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -47,7 +47,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -56,13 +56,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Wichtige Anmerkung für NIS/YP-Benutzer!" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Alle MariaDB-Datenbanken entfernen?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/es.po b/debian/po/es.po index 367e8ee2fe0..2863c901ab0 100644 --- a/debian/po/es.po +++ b/debian/po/es.po @@ -40,7 +40,7 @@ msgid "" msgstr "" "Project-Id-Version: mysql-dfsg-5.1_5.0.24-3\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-04-30 21:26+0200\n" "Last-Translator: Javier Fernández-Sanguino \n" @@ -54,13 +54,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Se guardará el directorio antiguo de datos a la nueva ubicación" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -82,7 +82,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -91,13 +91,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Nota importante para los usuarios de NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -107,7 +107,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -117,13 +117,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "¿Desea eliminar todas las bases de datos MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -133,7 +133,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/eu.po b/debian/po/eu.po index 715cff3f39d..5f7a2ebac52 100644 --- a/debian/po/eu.po +++ b/debian/po/eu.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: eu\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2009-07-29 11:59+0200\n" "Last-Translator: Piarres Beobide \n" @@ -20,13 +20,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -35,7 +35,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -43,20 +43,20 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "NIS/YP erabiltzaileentzat ohar garrantzitsua" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -64,7 +64,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 #, fuzzy #| msgid "" #| "You should also check the permissions and the owner of the /var/lib/mysql " @@ -78,13 +78,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Ezabatu MariaDB datubase guztiak?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -93,7 +93,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/fi.po b/debian/po/fi.po index 1e10a5042c7..f6ba9fc9a80 100644 --- a/debian/po/fi.po +++ b/debian/po/fi.po @@ -1,11 +1,11 @@ -# Finnish translations for mariadb-10.8 package -# This file is distributed under the same license as the mariadb-10.8 package. +# Finnish translations for mariadb-10.9 package +# This file is distributed under the same license as the mariadb-10.9 package. # Antti Järvinen , 2017. # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-03-15 22:36+0200\n" "Last-Translator: antti.jarvinen@katiska.org\n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Vanha datahakemisto tullaan tallentamaan uuteen paikkaan" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -37,7 +37,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -47,7 +47,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -56,13 +56,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Merkittävä huomio NIS/YP -käyttäjille" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -80,13 +80,13 @@ msgstr "Tarkista myös hakemiston /var/lib/mysql omistaja ja oikeudet:" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Poistetaanko kaikki MariaDB-tietokannat?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -95,7 +95,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/fr.po b/debian/po/fr.po index bb408ebbf18..f2e6bb8e706 100644 --- a/debian/po/fr.po +++ b/debian/po/fr.po @@ -1,6 +1,6 @@ -# Translation of mariadb-10.8 debconf templates to French +# Translation of mariadb-10.9 debconf templates to French # Copyright (C) 2004-2016 Debian French l10n team -# This file is distributed under the same license as the mariadb-10.8 packages. +# This file is distributed under the same license as the mariadb-10.9 packages. # # Translators: # Christian Perrier , 2004, 2006, 2007, 2009, 2013. @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: fr\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-12-31 18:35+0100\n" "Last-Translator: Baptiste Jammet \n" @@ -23,13 +23,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "L'ancien répertoire de données sera sauvegardé à un nouvel emplacement" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -41,7 +41,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -51,7 +51,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -60,13 +60,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Note importante pour les utilisateurs NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -76,7 +76,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -86,13 +86,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Faut-il supprimer toutes les bases de données MariaDB ?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -102,7 +102,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/gl.po b/debian/po/gl.po index 267a78e3cd4..da6575806a3 100644 --- a/debian/po/gl.po +++ b/debian/po/gl.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: mysql-dfsg-5.1\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2007-04-20 09:44+0200\n" "Last-Translator: Jacobo Tarrio \n" @@ -17,13 +17,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -32,7 +32,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -40,20 +40,20 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Nota importante para os usuarios de NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -61,7 +61,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 #, fuzzy #| msgid "" #| "You should also check the permissions and the owner of the /var/lib/mysql " @@ -75,13 +75,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "¿Eliminar tódalas bases de datos de MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -91,7 +91,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/it.po b/debian/po/it.po index 10bf8a78671..7b4cab78784 100644 --- a/debian/po/it.po +++ b/debian/po/it.po @@ -1,11 +1,11 @@ -# Italian (it) translation of debconf templates for mariadb-10.8 -# This file is distributed under the same license as the mariadb-10.8 package. +# Italian (it) translation of debconf templates for mariadb-10.9 +# This file is distributed under the same license as the mariadb-10.9 package. # Luca Monducci , 2006-2017. # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8 10.0.13 Italian debconf templates\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9 10.0.13 Italian debconf templates\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-083-20 20:29+0100\n" "Last-Translator: Luca Monducci \n" @@ -17,13 +17,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "La vecchia directory data verrà salvata in una nuova posizione" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -35,7 +35,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -45,7 +45,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -54,13 +54,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Nota importante per gli utenti NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -70,7 +70,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -80,13 +80,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Eliminare tutti i database MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -96,7 +96,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/ja.po b/debian/po/ja.po index 9131a8382f5..4a3640b3d28 100644 --- a/debian/po/ja.po +++ b/debian/po/ja.po @@ -15,8 +15,8 @@ # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8 10.0.32-1\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9 10.0.32-1\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-05-01 11:27+0900\n" "Last-Translator: Takuma Yamada \n" @@ -30,13 +30,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "古いデータディレクトリは、新しい場所に保存されます" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -48,7 +48,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -58,7 +58,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -67,13 +67,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "NIS/YP ユーザへの重要な注意" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -83,7 +83,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -91,13 +91,13 @@ msgstr "/var/lib/mysql の所有者権限をチェックする必要もありま #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "すべての MariaDB データベースを削除しますか?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -107,7 +107,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/nb.po b/debian/po/nb.po index 92f0b0eb55d..f2066ca8bcd 100644 --- a/debian/po/nb.po +++ b/debian/po/nb.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: mysql_nb\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2007-02-18 12:13+0100\n" "Last-Translator: Bjørn Steensrud \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -34,7 +34,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -42,14 +42,14 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 #, fuzzy #| msgid "Important note for NIS/YP users!" msgid "Important note for NIS/YP users" @@ -57,7 +57,7 @@ msgstr "Viktig merknad for NIS/YP-brukere!" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -65,7 +65,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -73,13 +73,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -87,7 +87,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 #, fuzzy #| msgid "" #| "The script is about to remove the data directory /var/lib/mysql. If it is " diff --git a/debian/po/nl.po b/debian/po/nl.po index e1907112182..be93fe984cf 100644 --- a/debian/po/nl.po +++ b/debian/po/nl.po @@ -1,13 +1,13 @@ # Dutch mariadb-10 po-debconf translation, # Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the mariadb-10.8 package. +# This file is distributed under the same license as the mariadb-10.9 package. # Vincent Zweije , 2006. # Frans Spiesschaert , 2014, 2016, 2018. # msgid "" msgstr "" "Project-Id-Version: mariadb-10.2.7-1\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2018-03-29 21:25+0200\n" "Last-Translator: Frans Spiesschaert \n" @@ -21,13 +21,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "De oude data-map zal op een nieuwe locatie bewaard worden" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -39,7 +39,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -49,7 +49,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -58,13 +58,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Belangrijke opmerking voor gebruikers van NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -74,7 +74,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -84,13 +84,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Wilt u alle MariaDB-databases verwijderen?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -100,7 +100,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/pt.po b/debian/po/pt.po index 997dfccd617..913f0fe201c 100644 --- a/debian/po/pt.po +++ b/debian/po/pt.po @@ -6,8 +6,8 @@ # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-08-06 10:00+0100\n" "Last-Translator: Rui Branco \n" @@ -20,13 +20,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "O antigo directório de data será guardado num novo local" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -38,7 +38,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -48,7 +48,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -57,13 +57,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Nota importante para os utilizadores de NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -73,7 +73,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Remover todas as bases de dados MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po index ac94a297e2a..c57aa56f1b2 100644 --- a/debian/po/pt_BR.po +++ b/debian/po/pt_BR.po @@ -1,12 +1,12 @@ -# Debconf translations for mariadb-10.8. -# This file is distributed under the same license as the mariadb-10.8 package. +# Debconf translations for mariadb-10.9. +# This file is distributed under the same license as the mariadb-10.9 package. # André Luís Lopes, , 2005-2007. # Adriano Rafael Gomes , 2015-2016. # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-04-30 16:16-0300\n" "Last-Translator: Adriano Rafael Gomes \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "O diretório de dados antigo será salvo em novo local" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -37,7 +37,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -47,7 +47,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -56,13 +56,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Aviso importante para usuários NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -72,7 +72,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Remover todas as bases de dados do MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/ro.po b/debian/po/ro.po index b728a4e4235..44de7788278 100644 --- a/debian/po/ro.po +++ b/debian/po/ro.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: po-debconf://mysql-dfsg\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2006-12-20 21:27+0200\n" "Last-Translator: stan ioan-eugen \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -34,7 +34,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -42,14 +42,14 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 #, fuzzy #| msgid "Important note for NIS/YP users!" msgid "Important note for NIS/YP users" @@ -57,7 +57,7 @@ msgstr "Notă importantă pentru utilizatorii NIS/YP!" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -65,7 +65,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -73,13 +73,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -87,7 +87,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 #, fuzzy #| msgid "" #| "The script is about to remove the data directory /var/lib/mysql. If it is " diff --git a/debian/po/ru.po b/debian/po/ru.po index db74169593b..030ea098206 100644 --- a/debian/po/ru.po +++ b/debian/po/ru.po @@ -6,8 +6,8 @@ # Yuri Kozlov , 2009, 2014, 2016. msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8 10.0.25-1\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9 10.0.25-1\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2016-05-04 18:56+0300\n" "Last-Translator: Yuri Kozlov \n" @@ -22,13 +22,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Каталог со старыми данными будет сохранён в новом месте" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -40,7 +40,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -51,7 +51,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -60,13 +60,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Важное замечание для пользователей NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -76,7 +76,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -84,13 +84,13 @@ msgstr "Также проверьте права доступа и владел #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Удалить все базы данных MariaDB?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -99,7 +99,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/sv.po b/debian/po/sv.po index 85674730c3a..e7700d65849 100644 --- a/debian/po/sv.po +++ b/debian/po/sv.po @@ -1,13 +1,13 @@ -# Translation of mariadb-10.8 debconf template to Swedish +# Translation of mariadb-10.9 debconf template to Swedish # Copyright (C) 2017 Martin Bagge -# This file is distributed under the same license as the mariadb-10.8 package. +# This file is distributed under the same license as the mariadb-10.9 package. # # Andreas Henriksson , 2007 # Martin Bagge , 2009, 2015, 2017 msgid "" msgstr "" "Project-Id-Version: mysql-dfsg-5.1 5.0.21-3\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-03-23 09:20+0100\n" "Last-Translator: Martin Bagge / brother \n" @@ -20,13 +20,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Den gamla data-katalogen kommer att sparas till en ny plats" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -38,7 +38,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -48,7 +48,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -57,13 +57,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Viktig information för NIS/YP-användare" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -73,7 +73,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -83,13 +83,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Ta bort alla MariaDB-databaser?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -99,7 +99,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/templates.pot b/debian/po/templates.pot index 904d356ce1e..dbdb7102b3d 100644 --- a/debian/po/templates.pot +++ b/debian/po/templates.pot @@ -1,13 +1,13 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the mariadb-10.8 package. +# This file is distributed under the same license as the mariadb-10.9 package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" @@ -19,13 +19,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -34,7 +34,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -42,20 +42,20 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -63,7 +63,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -71,13 +71,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -85,7 +85,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/tr.po b/debian/po/tr.po index cacd305029e..2993fc093bc 100644 --- a/debian/po/tr.po +++ b/debian/po/tr.po @@ -5,8 +5,8 @@ # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-03-16 13:16+0300\n" "Last-Translator: Atila KOÇ \n" @@ -20,13 +20,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Eski veritabanı dizini yeni konumuna kaydedilecektir" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -38,7 +38,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -48,20 +48,20 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "Gerektiğinde verinizi elle (ör. mysqldump ile) içe/dışa aktarın." #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "NIS/YP kullanıcıları için önemli not" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -71,7 +71,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -81,13 +81,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Tüm MariaDB veritabanları kaldırılsın mı?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -96,7 +96,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/po/vi.po b/debian/po/vi.po index c1dd1c22e10..2eac9257ec9 100644 --- a/debian/po/vi.po +++ b/debian/po/vi.po @@ -1,12 +1,12 @@ -# Vietnamese translations for mariadb-10.8 package -# Bản dịch Tiếng Việt dành cho gói mariadb-10.8. -# This file is distributed under the same license as the mariadb-10.8 package. +# Vietnamese translations for mariadb-10.9 package +# Bản dịch Tiếng Việt dành cho gói mariadb-10.9. +# This file is distributed under the same license as the mariadb-10.9 package. # Trần Ngọc Quân , 2017. # msgid "" msgstr "" -"Project-Id-Version: mariadb-10.8\n" -"Report-Msgid-Bugs-To: mariadb-10.8@packages.debian.org\n" +"Project-Id-Version: mariadb-10.9\n" +"Report-Msgid-Bugs-To: mariadb-10.9@packages.debian.org\n" "POT-Creation-Date: 2019-07-23 19:16-0300\n" "PO-Revision-Date: 2017-03-18 13:32+0700\n" "Last-Translator: Trần Ngọc Quân \n" @@ -20,13 +20,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "The old data directory will be saved at new location" msgstr "Thư mục dữ liệu cũ sẽ được lưu tại vị trí mới" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "A file named /var/lib/mysql/debian-*.flag exists on this system. The number " "indicates a database binary format version that cannot automatically be " @@ -38,7 +38,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Therefore the previous data directory will be renamed to /var/lib/mysql-* " "and a new data directory will be initialized at /var/lib/mysql." @@ -48,7 +48,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:2001 +#: ../mariadb-server-10.9.templates:2001 msgid "" "Please manually export/import your data (e.g. with mysqldump) if needed." msgstr "" @@ -57,13 +57,13 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "Important note for NIS/YP users" msgstr "Chú ý quan trọng cho người dùng NIS/YP" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "Using MariaDB under NIS/YP requires a mysql user account to be added on the " "local system with:" @@ -73,7 +73,7 @@ msgstr "" #. Type: note #. Description -#: ../mariadb-server-10.8.templates:3001 +#: ../mariadb-server-10.9.templates:3001 msgid "" "You should also check the permissions and ownership of the /var/lib/mysql " "directory:" @@ -82,13 +82,13 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "Remove all MariaDB databases?" msgstr "Xóa bỏ mọi cơ sở dữ liệu MariaDB chứ?" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "The /var/lib/mysql directory which contains the MariaDB databases is about " "to be removed." @@ -98,7 +98,7 @@ msgstr "" #. Type: boolean #. Description -#: ../mariadb-server-10.8.templates:4001 +#: ../mariadb-server-10.9.templates:4001 msgid "" "If you're removing the MariaDB package in order to later install a more " "recent version or if a different mariadb-server package is already using it, " diff --git a/debian/rules b/debian/rules index 74288077075..463c5b75b12 100755 --- a/debian/rules +++ b/debian/rules @@ -134,12 +134,12 @@ override_dh_auto_install: ifneq (,$(filter linux,$(DEB_HOST_ARCH_OS))) # Copy systemd files to a location available for dh_installinit - cp $(BUILDDIR)/support-files/mariadb.service debian/mariadb-server-10.8.mariadb.service - cp $(BUILDDIR)/support-files/mariadb.socket debian/mariadb-server-10.8.mariadb.socket - cp $(BUILDDIR)/support-files/mariadb-extra.socket debian/mariadb-server-10.8.mariadb-extra.socket - cp $(BUILDDIR)/support-files/mariadb@.service debian/mariadb-server-10.8.mariadb@.service - cp $(BUILDDIR)/support-files/mariadb@.socket debian/mariadb-server-10.8.mariadb@.socket - cp $(BUILDDIR)/support-files/mariadb-extra@.socket debian/mariadb-server-10.8.mariadb-extra@.socket + cp $(BUILDDIR)/support-files/mariadb.service debian/mariadb-server-10.9.mariadb.service + cp $(BUILDDIR)/support-files/mariadb.socket debian/mariadb-server-10.9.mariadb.socket + cp $(BUILDDIR)/support-files/mariadb-extra.socket debian/mariadb-server-10.9.mariadb-extra.socket + cp $(BUILDDIR)/support-files/mariadb@.service debian/mariadb-server-10.9.mariadb@.service + cp $(BUILDDIR)/support-files/mariadb@.socket debian/mariadb-server-10.9.mariadb@.socket + cp $(BUILDDIR)/support-files/mariadb-extra@.socket debian/mariadb-server-10.9.mariadb-extra@.socket endif # Run 'make install' without output since it is uninteresting and @@ -158,7 +158,7 @@ endif # nm numeric soft is not enough, therefore extra sort in command # to satisfy Debian reproducible build requirements - nm --defined-only $(BUILDDIR)/sql/mariadbd | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server-10.8/mariadbd.sym.gz + nm --defined-only $(BUILDDIR)/sql/mariadbd | LC_ALL=C sort | gzip -n -9 > $(TMP)/usr/share/doc/mariadb-server-10.9/mariadbd.sym.gz # Rename and install AppArmor profile install -D -m 644 debian/apparmor-profile $(TMP)/etc/apparmor.d/usr.sbin.mariadbd diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml index 53b90650e8a..9680eb8a9d0 100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@ -191,7 +191,7 @@ fresh install: script: - *test-prepare-container - *test-install - - service mariadb status # There is no init.d/mysql in MariaDB 10.8 + - service mariadb status # There is no init.d/mysql in MariaDB 10.9 - *test-verify-final variables: GIT_STRATEGY: none @@ -199,7 +199,7 @@ fresh install: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb-10.8 Sid upgrade: +mariadb-10.9 Sid upgrade: stage: upgrade in Sid needs: - job: build @@ -212,7 +212,7 @@ mariadb-10.8 Sid upgrade: script: - *test-prepare-container - *test-install - - service mariadb status # There is no init.d/mysql in MariaDB 10.8 + - service mariadb status # There is no init.d/mysql in MariaDB 10.9 - *test-verify-final variables: GIT_STRATEGY: none @@ -220,7 +220,7 @@ mariadb-10.8 Sid upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb-10.5 Bullseye to mariadb-10.8 upgrade: +mariadb-10.5 Bullseye to mariadb-10.9 upgrade: stage: upgrade from Bullseye/Buster/Stretch needs: - job: build @@ -246,7 +246,7 @@ mariadb-10.5 Bullseye to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb-10.3 Buster to mariadb-10.8 upgrade: +mariadb-10.3 Buster to mariadb-10.9 upgrade: stage: upgrade from Bullseye/Buster/Stretch needs: - job: build @@ -272,7 +272,7 @@ mariadb-10.3 Buster to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb-10.1 Stretch to mariadb-10.8 upgrade: +mariadb-10.1 Stretch to mariadb-10.9 upgrade: stage: upgrade from Bullseye/Buster/Stretch needs: - job: build @@ -313,7 +313,7 @@ test basic features: script: - *test-prepare-container - *test-install - - service mariadb status # There is no init.d/mysql in MariaDB 10.8 + - service mariadb status # There is no init.d/mysql in MariaDB 10.9 - *test-verify-final - | # Print info about server @@ -526,7 +526,7 @@ mariadb-connector-c Stretch upgrade: # Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. # The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. -mysql-8.0 Sid to mariadb-10.8 upgrade: +mysql-8.0 Sid to mariadb-10.9 upgrade: stage: upgrade in Sid needs: - job: build @@ -553,7 +553,7 @@ mysql-8.0 Sid to mariadb-10.8 upgrade: # Upgrading from MySQL 8.0 with datadir in place is not possible. Users need to do a data dump. # The Debian maintainer scripts detect this situation and simply moves old datadir aside and start fresh. -mysql-8.0 Focal to mariadb-10.8 upgrade: +mysql-8.0 Focal to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build buster-backports @@ -587,7 +587,7 @@ mysql-8.0 Focal to mariadb-10.8 upgrade: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb.org-10.5 to mariadb-10.8 upgrade: +mariadb.org-10.5 to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build @@ -625,7 +625,7 @@ mariadb.org-10.5 to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb.org-10.4 to mariadb-10.8 upgrade: +mariadb.org-10.4 to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build @@ -657,7 +657,7 @@ mariadb.org-10.4 to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb.org-10.3 to mariadb-10.8 upgrade: +mariadb.org-10.3 to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build @@ -692,7 +692,7 @@ mariadb.org-10.3 to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mariadb.org-10.2 to mariadb-10.8 upgrade: +mariadb.org-10.2 to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build @@ -727,7 +727,7 @@ mariadb.org-10.2 to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -mysql.com-5.7 to mariadb-10.8 upgrade: +mysql.com-5.7 to mariadb-10.9 upgrade: stage: upgrade extras needs: - job: build buster-backports @@ -758,7 +758,7 @@ mysql.com-5.7 to mariadb-10.8 upgrade: variables: - $CI_COMMIT_TAG != null && $SALSA_CI_ENABLE_PIPELINE_ON_TAGS !~ /^(1|yes|true)$/ -percona-xtradb-5.7 to mariadb-10.8 upgrade (MDEV-22679): +percona-xtradb-5.7 to mariadb-10.9 upgrade (MDEV-22679): stage: upgrade extras needs: - job: build buster-backports diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides index be738a7d5b2..c357e14f4af 100644 --- a/debian/source/lintian-overrides +++ b/debian/source/lintian-overrides @@ -1,24 +1,24 @@ # Necessary for drop-in-place-replacement upgrades on mysql-server/-client # since package breaks/replaces these but at the same time also provides them -version-substvar-for-external-package mariadb-client-core-10.8 -> mysql-client-5.5 -version-substvar-for-external-package mariadb-server-10.8 -> mysql-server -version-substvar-for-external-package mariadb-server-10.8 -> mysql-server +version-substvar-for-external-package mariadb-client-core-10.9 -> mysql-client-5.5 +version-substvar-for-external-package mariadb-server-10.9 -> mysql-server +version-substvar-for-external-package mariadb-server-10.9 -> mysql-server version-substvar-for-external-package libmariadb-dev -> libmysqlclient-dev version-substvar-for-external-package libmariadb-dev -> libmysqld-dev -version-substvar-for-external-package mariadb-server-10.8 -> mysql-client-5.5 -version-substvar-for-external-package mariadb-server-10.8 -> mysql-client-5.6 -version-substvar-for-external-package mariadb-server-10.8 -> mysql-client-5.7 -version-substvar-for-external-package mariadb-server-10.8 -> mysql-client-8.0 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.1 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.1 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.5 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.5 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.6 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.6 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.7 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-5.7 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-8.0 -version-substvar-for-external-package mariadb-client-10.8 -> mysql-client-core-8.0 +version-substvar-for-external-package mariadb-server-10.9 -> mysql-client-5.5 +version-substvar-for-external-package mariadb-server-10.9 -> mysql-client-5.6 +version-substvar-for-external-package mariadb-server-10.9 -> mysql-client-5.7 +version-substvar-for-external-package mariadb-server-10.9 -> mysql-client-8.0 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.1 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.1 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.5 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.5 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.6 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.6 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.7 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-5.7 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-8.0 +version-substvar-for-external-package mariadb-client-10.9 -> mysql-client-core-8.0 version-substvar-for-external-package libmariadbd-dev -> libmariadbclient-dev # ColumnStore not used in Debian, safe to ignore. Reported upstream in https://jira.mariadb.org/browse/MDEV-24124 source-is-missing storage/columnstore/columnstore/utils/jemalloc/libjemalloc.so.2 diff --git a/debian/tests/control b/debian/tests/control index 2e495f90f3f..25263535188 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -3,7 +3,7 @@ Tests: smoke # for its existence (see the list in debian/control), install it if available # and check in the test if it's functional when it should be. # The plugin package also already depends on the other one. -Depends: mariadb-plugin-rocksdb | mariadb-server-10.8 +Depends: mariadb-plugin-rocksdb | mariadb-server-10.9 Restrictions: allow-stderr needs-root isolation-container Tests: upstream diff --git a/debian/tests/smoke b/debian/tests/smoke index 8897acbd015..93e4a0c7175 100644 --- a/debian/tests/smoke +++ b/debian/tests/smoke @@ -4,7 +4,7 @@ # # This test should be declared in debian/tests/control with a dependency # on the package that provides a configured MariaDB server (eg. -# mariadb-server-10.8). +# mariadb-server-10.9). # # This test should be declared in debian/tests/control with the # following restrictions: @@ -88,7 +88,7 @@ if [ "$(dpkg-architecture -qDEB_HOST_ARCH_BITS)" != 32 ] && LOG=/var/lib/mysql/#rocksdb/LOG # XXX: The server may only be started during the install of - # mariadb-server-10.8, which happens before that of the plugin. + # mariadb-server-10.9, which happens before that of the plugin. [ -e $LOG ] || mysql -e "INSTALL PLUGIN RocksDB SONAME 'ha_rocksdb';" # XXX: rocksdb_supported_compression_types variable does not report ZSTD. diff --git a/mysql-test/suite/sys_vars/r/sysvars_star.result b/mysql-test/suite/sys_vars/r/sysvars_star.result index 54af0aa3014..b8a49a089b4 100644 --- a/mysql-test/suite/sys_vars/r/sysvars_star.result +++ b/mysql-test/suite/sys_vars/r/sysvars_star.result @@ -60,7 +60,7 @@ VARIABLE_NAME PLUGIN_MATURITY SESSION_VALUE NULL GLOBAL_VALUE alpha GLOBAL_VALUE_ORIGIN CONFIG -DEFAULT_VALUE beta +DEFAULT_VALUE experimental VARIABLE_SCOPE GLOBAL VARIABLE_TYPE ENUM VARIABLE_COMMENT The lowest desirable plugin maturity. Plugins less mature than that will not be installed or loaded -- cgit v1.2.1