Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.2-2
Description
== Motivation ==
Merge downstream .deb-packaging into upstream MariaDB to unify, streamline and ease future release packaging. This will also fix some packaging errors in current MariaDB.org deb-packages.
== Patch description ==
List of notable changes:
- Completely new Debian packaging standard (3.0 quilt) including rules file, patch conventions and .files -> .install file listing conventions
- The will no longer be a debian/dist subfolder and the packaging of Debian an Ubuntu will be unified (= Debian will ship with AppArmor files included)
- Support for Debian releases before Wheezy (7) and Ubuntu releases before Precise (12.04) will be dropped
The upstream MariaDB contents of debian/* will not be fully identical to the downstream Debian/Ubuntu one.
List of intended differences between Debian master and MariaDB master regarding debian/ contents:
- control file: maintainer, uploaders, VCS and browser links
- omitted packages (not allowed in Debian): libmariadbclient18, libmysqlclient18, libmariadbclient-dev, mysql-common
- omitted plugins (problematic in Debian): Handler socket, TokuDB, Mroonga, Cassandra
- keep autobake.sh in mariadb.org repo
To close this bug please:
1) Merge selected parts of debian/* from https://anonscm.debian.org/gitweb/?p=pkg-mysql/mariadb-10.0.git to https://github.com/MariaDB/server via pull requests arriving from branch ok-debpkg at https://github.com/ottok/mariadb
2) Backport form MariaDB development head to 10.1, 10.0 and maybe even 5.5 commits that fix individual issues.
== Quality assurance ==
The new debian/* contents represents the state of the art of Debian packaging. The mariadb-5.5 and mariadb-10.0 has passed all Debian quality assurance and landed in the official Debian repositories. More details at https://wiki.debian.org/Teams/MySQL/MariaDB
These same packages have also gone downstream to Ubuntu, has passed Ubuntu QA and are included since the Ubuntu 14.04 release.
Buildbot test for ok-debpkg branch: https://buildbot.askmonty.org/buildbot/grid?branch=ok-debpkg&category=main
== Roll-out planning ==
This merge should be safe to release with 10.1. All new installs and upgrades using the MariaDB.org repo or mixing it with official Debian or Ubuntu repository contents is expected to work.
Below are the different scenarios how releasing the new packging at MariaDB.org will affect current installs/upgrades:
A) If users currently have a MariaDB.org repo enabled, those packages will have a + in their version number. Debian package manager will always consider e.g. 10.1.6+maria as more recent than 10.1.6 from the native repositories. Therefore people having MariaDB.org repositories will always get primarly the packages from MariaDB.org repositories. It is very unlikely that a Debian repository would ever have a more recent release than in MariaDB.org (e.g. 10.1.7 would override 10.1.6+maria, but that is not likely to take place as MariaDB.org always releases first).
B) The new packaging is designed and tested that it allows seamless upgrades from old deb packaging generation to new generation. Whether the new packaging is from MariaDB.org or distro repositories does not matter.
C) Backwards works only partially, but is a rare case (e.g. current Ubuntu users trying to upgrade from new style debs 10.0 to MariaDB.org repo old style debs 10.0 will see issues, e.g. MDEV-5977). As soon as this merge is done and MariaDB.org publishes packages using the new packaging this corner case is fixed.
D) If users remove the MariaDB.org from their install, they will automatically have their 10.1.6+maria updated to Debian/Ubuntu native 5.5.39 once it is released in Debian.
E) Like previously, upgrading from MySQL 5.5 to MariaDB 5.5 works seamlessly and backwards also. Updating from MariaDB 5.5 to 10.0 works seamlessly but backwards will have issues (downgrade flag, InnoDB log size mismatch etc) the package manager will not solve automatically. If users dump and import data manually, and in between completely purge and install the packages, then users can always migrate to whatever version.
Attachments
Issue Links
- blocks
-
MDEV-3809 Change Debian packaging to use CPack instead of bakery
- Stalled
-
MDEV-4537 innotop tracker
- Closed
-
MDEV-5484 Include new debian/copyright file in upstream sources
- Open
-
MDEV-5725 libmysqld* is not packaged in debs
- Closed
-
MDEV-5977 MariaDB 10.0 is not installable on Trusty when "trusty-updates universe" is in sources.list
- Closed
-
MDEV-6135 Extra shared libs (dialog.so and mysql_clear_password.so) should be in same directory as libmysqlclient.so
- Closed
-
MDEV-6326 Upgrade from Ubuntu's MariaDB 5.5.37 to MariaDB's 5.5.38 does not work
- Closed
-
MDEV-6342 build failure on ubuntu
- Closed
-
MDEV-6542 debian binary server packages depend on client library
- Closed
-
MDEV-6550 Missing dependency on Debian 7 (Wheezy) installation package
- Closed
-
MDEV-7664 Multi-Arch support for Debian packages
- Closed
-
MDEV-8375 Debian: Passwordless mysqld root login via socket auth bugfixing
- Closed
-
MDEV-8459 Debian: add support to virtual-mysql-server-core virtual package
- Closed
-
MDEV-8462 Unable to upgrade to latest version
- Closed
-
MDEV-8497 Buildbot upgrade tests fail on Vivid, Sid
- Closed
-
MDEV-8509 make it possible to change MYSQLD_STARTUP_TIMEOUT on Debian systems
- Closed
-
MDEV-8667 Upgrade from 10.0 to 10.1 on Vivid does not work with normal source list
- Closed
- includes
-
MDEV-5252 Deb installation issues due to version mismatch between mariadb and ubuntu/debian repositories
- Closed
-
MDEV-5295 deb upgrade 5.5 to 10.0 does not work
- Closed
-
MDEV-5957 mysqld_safe errors are lost when executed from the init script and additional arguments are not passed in case of a "restart" on Debian
- Closed
-
MDEV-6342 build failure on ubuntu
- Closed
-
MDEV-19933 Server loses a part of configuration and some plugins are not activated due to pre-installed mysql-common
- Closed
- is blocked by
-
CONC-456 Implement INSTALL_PLUGINDIR build flag that only applies to MariaDB Connector C / MariaDB client
- Closed
-
MDEV-6135 Extra shared libs (dialog.so and mysql_clear_password.so) should be in same directory as libmysqlclient.so
- Closed
-
MDEV-7664 Multi-Arch support for Debian packages
- Closed
-
MDEV-14918 Potential issue: sst_dump may already exist in Debian at installation time
- Closed
-
MDEV-17367 mysql_install_db requires my_print_defaults, but my_print_defaults is in mariadb-server-10.1
- Closed
-
MDEV-18768 Automate upgrades from MySQL 5.7 with auth_socket to MariaDB with our unix_socket
- Closed
-
MDEV-21732 libmariadb3 symbols changed in stable release (10.3), breaks ABI compatiblity
- Closed
- relates to
-
MDEV-14900 Upstream 10.4 debian patches
- Closed
-
MDEV-16318 mysqld_safe: use sh not bash
- Closed
-
MDEV-9122 Please consider tcp wrappers support in all MariaDB packages/distros
- Closed
- links to