[MDEV-4199] Installing postfix on CentOS 5.9 requires MariaDB-server Created: 2013-02-23 Updated: 2013-05-13 Resolved: 2013-05-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.29 |
| Fix Version/s: | 5.5.31 |
| Type: | Bug | Priority: | Major |
| Reporter: | Tom Parrott | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | packaging | ||
| Environment: |
CentOS 5.9 x86_64 |
||
| Description |
|
Since CentOS 5.9 the postfix package requires the package "mysql". With the vanilla CentOS mysql packages the "mysql" package is the client. This means that you only need to install the mysql client to use postfix. However when using MariaDB or Oracle RPMs the MariaDB-server package provides "mysql". This means that one must install MariaDB-server to install postfix, whereas not all servers need MariaDB-server, some just need MariaDB-client. |
| Comments |
| Comment by Tom Parrott [ 2013-02-23 ] |
|
Here is the output from: yum provides mysql [root@tp ~]# yum provides mysql mysql-5.0.95-3.el5.i386 : MySQL client programs and shared libraries mysql-5.0.95-3.el5.x86_64 : MySQL client programs and shared libraries mysql-5.0.95-5.el5_9.i386 : MySQL client programs and shared libraries mysql-5.0.95-5.el5_9.x86_64 : MySQL client programs and shared libraries MariaDB-Galera-server-5.5.28a-1.x86_64 : MariaDB: a very fast and robust SQL database server MariaDB-server-5.5.29-1.x86_64 : MariaDB: a very fast and robust SQL database server MariaDB-server-5.5.29-1.x86_64 : MariaDB: a very fast and robust SQL database server |
| Comment by Tom Parrott [ 2013-02-23 ] |
|
Here is the output from rpm -qi --requires postfix: [root@tp ~]# rpm -qi --requires postfix |
| Comment by Elena Stepanova [ 2013-02-26 ] |
|
>> However when using MariaDB or Oracle RPMs the MariaDB-server package provides "mysql". If Oracle server RPM indeed provides "mysql", I suppose there isn't much we can do: if Oracle's server package provides mysql, so should MariaDB's, otherwise it won't be a proper replacement. However, as I can see, Oracle's RPM provides "MySQL", not "mysql", and the package names are case-sensitive, right? |
| Comment by Tom Parrott [ 2013-02-26 ] |
|
Hi Elena, You are correct, infact Oracle's MySQL-server used to provide "mysql" until very recently, I think it changed either in 5.5.29 or 5.5.30, and now they only provide "MySQL" in the server package. Oracles approach has actually caused more problems in CentOS 5.9, as the package (for example) postfix that requires "mysql", will not pull in MySQL-client or MySQL-server, and instead installs the vanilla CentOS 5.9 mysql client package. This is fine until one tries to install the Oracle MySQL-client package on the same server and then you get conflicts because the packages share many of the same files. /usr/bin/mysql for example. Interestingly in CentOS 6 the postfix package only requires "mysql-libs" rather than "mysql", which means it can pull in MySQL-shared-compat or MariaDB-compat and avoid the whole server/client issue. I don't know why CentOS/Redhat decided to require "mysql" for postfix in 5.9 but it is causing a lot of problems when trying to using Oracle/MariaDB |
| Comment by Sergei Golubchik [ 2013-05-13 ] |
|
pushed in 5.5 |