rpm Percona-Server-shared-51 does not contain symlinks to so libs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Won't Fix
|
Medium
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
package Percona-
contains only so libraries and symlinks are created in post scripts
-rwxr-xr-x 1 root root 1499400 Dec 19 06:53 /usr/lib64/
-rwxr-xr-x 1 root root 1509288 Dec 19 06:53 /usr/lib64/
-rwxr-xr-x 1 root root 1586048 Dec 19 06:53 /usr/lib64/
-rwxr-xr-x 1 root root 1595784 Dec 19 06:53 /usr/lib64/
this causes one problem when other package (previously existing Percona-
in yum transactions, at first new packages are installed, then removed, so symlinks owned only by removed packages cause removing required symlinks by binaries
this has easy hot-fix - running ldconfig manualy after package upgrade (remove/install in single yum transaction)
behind the scene:
this was observerd after actual percona yum/package changes and running:
echo -e "remove Percona-
we are using the compat packages to have ready to use all the compat percona libraries (so not using original mysql-libs centos/el6 package)
Changed in percona-server: | |
assignee: | nobody → Muhammad Irfan (muhammad-irfan) |
after some additional comparison of original mysql-libs package i see, that shared- compat- 5.5.29- rel30.0. 451.rhel6. x86_64. rpm" which does not run ldconfig in post and postun.
even the original packages do not contain all the symlinks. it is not required because every package containing libraries must run ldconfig in post and postun rpm script (as noted in fedora packaging i use as a reference for packaging). so the problematic package is the "now deprecated Server-
mysql-libs- 5.1.73- 3.el6_5. x86_64: mysql/libmysqlc lient.so. 16 -> libmysqlclient. so.16.0. 0 mysql/libmysqlc lient.so. 16.0.0 mysql/libmysqlc lient_r. so.16 -> libmysqlclient_ r.so.16. 0.0 mysql/libmysqlc lient_r. so.16.0. 0
drwxr-xr-x 2 root root 0 Feb 12 20:42 /usr/lib64/mysql
lrwxrwxrwx 1 root root 24 Feb 12 20:42 /usr/lib64/
-rwxr-xr-x 1 root root 1584680 Feb 12 20:42 /usr/lib64/
lrwxrwxrwx 1 root root 26 Feb 12 20:42 /usr/lib64/
-rwxr-xr-x 1 root root 1595240 Feb 12 20:42 /usr/lib64/