Skip to content

CLOS-4377: drop legacy MariaDB key block from mariadb-Server-GPG-KEY#25

Open
prilr wants to merge 1 commit into
cloudlinux:cloudlinuxfrom
prilr:CLOS-4377-leapp-data-cloudlinux-mariadb-server-gpg
Open

CLOS-4377: drop legacy MariaDB key block from mariadb-Server-GPG-KEY#25
prilr wants to merge 1 commit into
cloudlinux:cloudlinuxfrom
prilr:CLOS-4377-leapp-data-cloudlinux-mariadb-server-gpg

Conversation

@prilr
Copy link
Copy Markdown
Collaborator

@prilr prilr commented May 12, 2026

vendors.d/rpm-gpg/mariadb-Server-GPG-KEY shipped two PGP public-key blocks: an old GnuPG-1.4.14-era key (MariaDB Package Signing Key, fingerprint 199369E5 404BD5FC 7D2FE43B CBCB082A 1BB943DB, short ID 4ACC7220) and the modern MariaDB Signing Key F1656F24C74CD1D8.

RPM 4.11.3 on CL7 cannot parse the old block: rpm --import exits 1 with "key 1 import failed" and bails before processing the second block. During leapp preupgrade, the target_userspace_creator actor imports every key under vendors.d/rpm-gpg/ into the el8 systemd-nspawn overlay; the mariadb key failure halts the whole workflow under the FailPhase policy, so Plesk's cloudlinux7to8 wrapper aborts with LeappPreupgradeRisksPreventedException and no formal inhibitor.

Keep only the modern block. The package-signing key in the old block is unrelated to mariadb.sigs (which only lists ce1a3dd5e3c94f49 and f1656f24c74cd1d8), so dropping it has no impact on Leapp's signature matching. Customers running MariaDB already have the legacy key in their rpmdb from prior installs; new installations sign with the modern key.

vendors.d/rpm-gpg/mariadb-Server-GPG-KEY shipped two PGP public-key
blocks: an old GnuPG-1.4.14-era key (MariaDB Package Signing Key,
fingerprint 199369E5 404BD5FC 7D2FE43B CBCB082A 1BB943DB, short ID
4ACC7220) and the modern MariaDB Signing Key F1656F24C74CD1D8.

RPM 4.11.3 on CL7 cannot parse the old block: `rpm --import` exits 1
with "key 1 import failed" and bails before processing the second
block. During leapp preupgrade, the target_userspace_creator actor
imports every key under vendors.d/rpm-gpg/ into the el8 systemd-nspawn
overlay; the mariadb key failure halts the whole workflow under the
FailPhase policy, so Plesk's cloudlinux7to8 wrapper aborts with
LeappPreupgradeRisksPreventedException and no formal inhibitor.

Keep only the modern block. The package-signing key in the old block
is unrelated to mariadb.sigs (which only lists ce1a3dd5e3c94f49 and
f1656f24c74cd1d8), so dropping it has no impact on Leapp's signature
matching. Customers running MariaDB already have the legacy key in
their rpmdb from prior installs; new installations sign with the
modern key.

Bump leapp-data release to 0.3-9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant