Bug#1057708: mariadb-plugin-provider-bzip2: It looks like mariadb-plugin-provider-bzip2 should have a strong version depencene on mariadb-server

2023-12-19 Thread Nicolai Langfeldt

Hi,

As I specified I had mariadb-server and mariadb-server-core locked with 
a package hold to avoid updating mariadb unless we mean to update it.


As part of a routine update of the machine, excluding mariadb, prior to 
a reboot, we ran dist-upgrade on it. The dist-upgrade upgraded the 
compression plugins for mariadb.  This caused mariadb to not start 
afterwards as the plugins had a version mismatch (and ABI mismatch for 
all I know).


I had to downgrade the plugins so they had matching versions with the 
mariadb server packages to get the mariadb going again.


I have no problem with the dependency itself, but it seems that the 
dependency must also require that the versions of the mariadb server 
packages and compression plugins correspond.


Regards,

  Nicolai

On 19.12.2023 06:57, Otto Kekäläinen wrote:

Hi!

Currently in 
https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/control?ref_type=heads
we have

Package: mariadb-server
Architecture: any
Suggests: mailx,
   mariadb-test,
   netcat-openbsd
Recommends: libhtml-template-perl,
 mariadb-plugin-provider-bzip2,
 mariadb-plugin-provider-lz4,
 mariadb-plugin-provider-lzma,
 mariadb-plugin-provider-lzo,
 mariadb-plugin-provider-snappy,
 pv

and

Package: mariadb-plugin-provider-bzip2
Architecture: any
Depends: mariadb-server (>= 1:10.11.1-1),
  ${misc:Depends},
  ${shlibs:Depends}


The server recommending the plugins is a result of
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/36.

The plugin 'depends' on the server has existed from the start, and
thus the title of this bug report is misleading. You probably did
indeed run into a bug, the question is just what that bug actually
was.

In your bug report, please be specific of what was the actual bug
symptoms you encountered and what triggered it. If possible, attach a
copy-paste of the command you ran and the output.

Even better if you can provide a reproducible test case that can be
run for example in a container to prove that a specific upgrade
scenario is broken.

Keep in mind that Debian is open source and we do not provide support.
In the spirit of open source you need to participate in debugging the
issues you encounter yourself and provide detailed bug reports. If you
want somebody else to do the debugging work on behalf of you, please
contract a service provider (e.g. one listed at
https://mariadb.org/about/#service-providers).

Thanks!




Bug#1057708: mariadb-plugin-provider-bzip2: It looks like mariadb-plugin-provider-bzip2 should have a strong version depencene on mariadb-server

2023-12-18 Thread Otto Kekäläinen
Hi!

Currently in 
https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/control?ref_type=heads
we have

Package: mariadb-server
Architecture: any
Suggests: mailx,
  mariadb-test,
  netcat-openbsd
Recommends: libhtml-template-perl,
mariadb-plugin-provider-bzip2,
mariadb-plugin-provider-lz4,
mariadb-plugin-provider-lzma,
mariadb-plugin-provider-lzo,
mariadb-plugin-provider-snappy,
pv

and

Package: mariadb-plugin-provider-bzip2
Architecture: any
Depends: mariadb-server (>= 1:10.11.1-1),
 ${misc:Depends},
 ${shlibs:Depends}


The server recommending the plugins is a result of
https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/36.

The plugin 'depends' on the server has existed from the start, and
thus the title of this bug report is misleading. You probably did
indeed run into a bug, the question is just what that bug actually
was.

In your bug report, please be specific of what was the actual bug
symptoms you encountered and what triggered it. If possible, attach a
copy-paste of the command you ran and the output.

Even better if you can provide a reproducible test case that can be
run for example in a container to prove that a specific upgrade
scenario is broken.

Keep in mind that Debian is open source and we do not provide support.
In the spirit of open source you need to participate in debugging the
issues you encounter yourself and provide detailed bug reports. If you
want somebody else to do the debugging work on behalf of you, please
contract a service provider (e.g. one listed at
https://mariadb.org/about/#service-providers).

Thanks!



Bug#1057708: mariadb-plugin-provider-bzip2: It looks like mariadb-plugin-provider-bzip2 should have a strong version depencene on mariadb-server

2023-12-07 Thread Nicolai Langfeldt
Package: mariadb-plugin-provider-bzip2
Version: 1:10.11.4-1~deb12u1
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * On our riggs mariadb-server and mariadb-server-core are placed on
 hold to avoid unintended updates and restarts.
   * I was preparing a particular server for production and ran
 dist-upgrade on it.  This upgraded all the
 mariadb-plugin-provider-bzip and other compression packages.
   * When mariadb restarted it did not recognize any of the plugins
 and it stopped at the config files for each one.  I had to
 comment out the plugin loading to get the mariadb up and evaluate
 the situation. This worked.
   * dpkg.log showed that the mariadb-plugin-provider packages had been
   * upgraded.
 ineffective)?
   * I removed the hold on the mariadb server packages, replaced the
 compression config files with the original ones and dist-upgraded.
 Now the database started as expected

   * My tentative conclusion is that the mariadb-plugin-provider
 compression packages have a very tight version dependency on the
 server packages and that they should only be upgraded in concert
 with the server packages, with matching versions.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-plugin-provider-bzip2 depends on:
ii  libbz2-1.0  1.0.8-5+b1
ii  mariadb-server  1:10.11.4-1~deb12u1

mariadb-plugin-provider-bzip2 recommends no packages.

mariadb-plugin-provider-bzip2 suggests no packages.

-- no debconf information