Percona Server with XtraDB

my_print_defaults Packed on client RPM instead of Server

Reported by Jervin R on 2012-12-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Undecided
Unassigned
5.5
Medium
Unassigned
5.6
Low
Unassigned

Bug Description

On 5.5.19, my_print_defaults was shipped with server RPM:

[revin@forge Downloads]$ rpm -qlp Percona-Server-server-55-5.5.19-rel24.0.204.rhel6.x86_64.rpm|grep my_print_defaults
warning: Percona-Server-server-55-5.5.19-rel24.0.204.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
/usr/bin/my_print_defaults
/usr/share/man/man1/my_print_defaults.1.gz

[revin@forge Downloads]$ rpm -qlp Percona-Server-client-55-5.5.19-rel24.0.204.rhel6.x86_64.rpm|grep my_print_defaults
warning: Percona-Server-client-55-5.5.19-rel24.0.204.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY

On 5.5.28 it shipped with client RPM:

[revin@forge Downloads]$ rpm -qlp Percona-Server-client-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm|grep my_print_defaults
warning: Percona-Server-client-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
/usr/bin/my_print_defaults
/usr/share/man/man1/my_print_defaults.1.gz

[revin@forge Downloads]$ rpm -qlp Percona-Server-server-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm|grep my_print_defaults
warning: Percona-Server-server-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY

On Oracle MySQL, this is on the server package:

[revin@forge Downloads]$ rpm -qlp MySQL-server-5.5.28-1.el6.x86_64.rpm|grep my_print_defaults
/usr/bin/my_print_defaults
/usr/share/man/man1/my_print_defaults.1.gz

Wherever it should be, it should be consistent - I think more appropriate to be on server since the init scripts depends on it.

Tags: pkg Edit Tag help
Jervin R (revin) on 2012-12-12
tags: added: build

Indeed:

[openxs@chief ~]$ rpm -qlp Percona-Server-client-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm | grep print_defaults
warning: Percona-Server-client-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
/usr/bin/my_print_defaults
/usr/share/man/man1/my_print_defaults.1.gz
[openxs@chief ~]$ rpm -qlp Percona-Server-server-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm | grep print_defaults
warning: Percona-Server-server-55-5.5.28-rel29.2.360.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY

Changed in percona-server:
status: New → Confirmed

Is this relevant for 5.1?

It is fine on 5.1

rpm -qf =my_print_defaults
Percona-Server-server-51-5.1.66-rel14.1.496.rhel6.x86_64

tags: added: pkg
removed: build

PS 5.6.10 is NOT affected:

[openxs@chief tmp]$ rpm -qlp Percona-Server-server-56-5.6.10-alpha60.2.324.rhel6.x86_64.rpm | grep print_defaults
warning: Percona-Server-server-56-5.6.10-alpha60.2.324.rhel6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
/usr/bin/my_print_defaults
/usr/share/man/man1/my_print_defaults.1.gz

Ignacio Nin (ignacio-nin) wrote :

my_print_default was moved to the client package for compatibility with the distro (CentOS, etc) packages, for which it's also in the client packages.

As correctly said, some server scripts depend on it, so the client package was added to the dependencies of the server, making it work correctly.

If any, for consistency the same change should be applied to 5.6, moving my_print_defaults to the client package.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers