On 28/07/17 08:31, Nikolaos Milas wrote:
> Yep, I know; As I've mentioned, I prefer to build against ltb openldap,
> which has proved to be well-updated and trustworthy.

Ok, I prefer to stick to stock CentOS packages where I can and do so as
a policy to avoid too many 3rd-party deps.

> [I must pay my respect to GhettoForge who are providing reliable updated
> packages for numerous software projects.]

Thank you.

> Interestingly, I've also noticed that postfix binaries are built against
> original mysql, although CentOS 7 now uses mariadb as standard.

They're built against whatever is provided by mysql-devel, in CentOS 6
that's mysql, in CentOS 7 that's MariaDB:

1:mariadb-devel-5.5.52-1.el7.x86_64 : Files for development of
MariaDB/MySQL applications
Repo        : base
Matched from:
Provides    : mysql-devel = 1:5.5.52-1.el7

> I've tried switching the dependency to mariadb instead, and building
> using mariadb works fine as well.

Yes, because you're actually building against MariaDB eitehr way and the
exact same packages.

> Is there a particular reason why mysql is used in the spec file rather
> than mariadb (both in the GhettoForge and in the Oostergo versions)?

Two reasons:  I use the same spec to build for CentOS 6 and CentOS 7,
since mysql-devel pulls in mariadb-devel in CentOS 7 anyways, there is
no reason to special-case it in the spec.

The second reason is that the spec file is historic, in that it was
originally from older Fedora, and then CentOS versions and continually
updated to keep up with what's new.  There is no real reason to change
the requirement at this stage since it works just fine the way it is.
That said, I might change it in 2020 once CentOS 6 goes EOL.

> I am still wondering about the possible cause of the startup problem I
> faced.

I can't say for sure, but it looks to be permissions-related to me.  It
might have to do with the way you built and subsequently installed
postfix, or it might be an selinux issue that simply isn't present in
the GhettoForge packages (assuming you haven't disabled selinux).


Peter

Reply via email to