my_print_defaults Packed on client RPM instead of Server

Bug #1089203 reported by Jervin R
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Triaged
Low
Unassigned
5.1
Invalid
Undecided
Unassigned
5.5
Won't Fix
Medium
Unassigned
5.6
Triaged
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
Jervin R (revin)
tags: added: build
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

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
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Is this relevant for 5.1?

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

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

Revision history for this message
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.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1958

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.