Your message dated Wed, 17 May 2023 19:52:28 -0700
with message-id 
<CAOU6tAC-UghvT=r8hdp3f1zdu7-udtj2ptve_iiwucr7l7z...@mail.gmail.com>
and subject line Re: Bug#1035944: mariadb: upgrade issue: mariadb-server-10.5 
fails to restart after upgrading mariadb-common
has caused the Debian Bug report #1035944,
regarding mariadb-plugin-gssapi-server: crash on partial
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1035944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035944
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mariadb
Version: 1:10.11.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + mariadb-plugin-gssapi-server

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'bullseye'.
It installed fine in 'bullseye', then the upgrade to 'bookworm' fails.

This test was planned to do a 2-stage upgrade:
  apt-get upgrade && apt-get distupgrade
(the first part does not install any new packages, that will happen in
the second part) but the first part already failed.

I try to summarize what seems to happen:

* In a bullseye chroot (which alles starting services) install
  mariadb-plugin-gssapi-server
* switch sources.list to bookworm, run 'apt-get update'
* run 'apt-get upgrade'
  - this only upgrades mysql-common and mariadb-common
  - this triggers a mariadb-server-10.5 restart which fails

>From the attached log (scroll to the bottom...):

...
  Preparing to unpack .../24-mysql-common_5.8+1.1.0_all.deb ...
  Unpacking mysql-common (5.8+1.1.0) over (5.8+1.0.7) ...
  Preparing to unpack .../25-mariadb-common_1%3a10.11.2-1_all.deb ...
  Unpacking mariadb-common (1:10.11.2-1) over (1:10.5.19-0+deb11u2) ...
...
  Setting up mysql-common (5.8+1.1.0) ...
...
  Setting up mariadb-common (1:10.11.2-1) ...
...
  Processing triggers for mariadb-server-10.5 (1:10.5.19-0+deb11u2) ...
  invoke-rc.d: could not determine current runlevel
  Stopping MariaDB database server: mariadbd.
  Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . [ESC][31mfailed![ESC][0m
  invoke-rc.d: initscript mariadb, action "restart" failed.
  dpkg: error processing package mariadb-server-10.5 (--configure):
   installed mariadb-server-10.5 package post-installation script subprocess 
returned error exit status 1
  Processing triggers for debianutils (5.7-0.4) ...
  Processing triggers for libc-bin (2.36-9) ...
  Errors were encountered while processing:
   mariadb-server-10.5


This might indicate that mariadb-common needs a Breaks: mariadb-server-10.5

I cannot reproduce this by testing default-mariadb-server in
the same way, so mariadb-plugin-gssapi-server seems to be needed to
trigger that bug.


cheers,

Andreas

Attachment: mariadb-plugin-gssapi-server_1:10.11.2-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
>On Sun, 14 May 2023 at 12:14, Otto Kekäläinen <o...@debian.org> wrote:
>
> Control: retitle -1 mariadb-plugin-gssapi-server: crash on partial
> upgrade of libk5crypto3
>
> Filed now https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036055
> for krb5 maintainers to advise on.

I confirm this works now in Debian Sid with updated libk5crypto3, and
MariaDB restarts nicely without issues:

# apt install libk5crypto3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libgssapi-krb5-2 libkrb5-3 libkrb5support0 libssl3
Suggested packages:
  krb5-doc krb5-user
Recommended packages:
  krb5-locales
The following NEW packages will be installed:
  libssl3
The following packages will be upgraded:
  libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
4 upgraded, 1 newly installed, 0 to remove and 138 not upgraded.
Need to get 2589 kB of archives.
After this operation, 6029 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian sid/main amd64 libssl3 amd64
3.0.8-1 [2013 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 libkrb5support0
amd64 1.20.1-2 [32.3 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libkrb5-3 amd64
1.20.1-2 [331 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libgssapi-krb5-2
amd64 1.20.1-2 [134 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libk5crypto3 amd64
1.20.1-2 [79.0 kB]
Fetched 2589 kB in 0s (8702 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl3:amd64.
(Reading database ... 10402 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.8-1_amd64.deb ...
Unpacking libssl3:amd64 (3.0.8-1) ...
Setting up libssl3:amd64 (3.0.8-1) ...
(Reading database ... 10414 files and directories currently installed.)
Preparing to unpack .../libgssapi-krb5-2_1.20.1-2_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.20.1-2) over (1.18.3-6+deb11u3) ...
Preparing to unpack .../libkrb5support0_1.20.1-2_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.20.1-2) over (1.18.3-6+deb11u3) ...
Setting up libkrb5support0:amd64 (1.20.1-2) ...
(Reading database ... 10414 files and directories currently installed.)
Preparing to unpack .../libkrb5-3_1.20.1-2_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.20.1-2) over (1.18.3-6+deb11u3) ...
Setting up libkrb5-3:amd64 (1.20.1-2) ...
(Reading database ... 10414 files and directories currently installed.)
Preparing to unpack .../libk5crypto3_1.20.1-2_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.20.1-2) over (1.20.1-1+b1) ...
Setting up libk5crypto3:amd64 (1.20.1-2) ...
Setting up libgssapi-krb5-2:amd64 (1.20.1-2) ...
Processing triggers for libc-bin (2.36-9) ...
root@920989b79865:/build# /etc/init.d/mariadb restart
Stopping MariaDB database server: mariadbd.
Starting MariaDB database server: mariadbd.

--- End Message ---

Reply via email to