[Linux-HA] ldirectord on CentOS 5
Masashi Yamaguchi
yamagu.m at gmail.com
Thu Oct 28 21:09:04 MDT 2010
> ERROR with rpm_check_debug vs depsolve:
> heartbeat-ldirectord conflicts with ldirectord-1.0.3-2.6.el5.x86_64
> Complete!
> (1, [u'Please report this error in
> https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise
> %20Linux%205&component=yum'])
I think "ldirectord" rpm package's spec for RedHat/CentOS is inconsistent.
$ rpm -qp --provides ldirectord-1.0.3-2.el5.x86_64.rpm
config(ldirectord) =3D 1.0.3-2.el5
heartbeat-ldirectord
ldirectord =3D 1.0.3-2.el5
$ rpm -qp --conflicts ldirectord-1.0.3-2.el5.x86_64.rpm
heartbeat-ldirectord
$
"ldirectord" package PROVIDES "heartbeat-ldirectord" and
CONFLICTS with "heartbeat-ldirectord".
"ldirectord" package' spec has self-conflict.
This is a patch for the problem.
--- resource-agents.spec
+++ resource-agents.spec
@@ -71,7 +71,6 @@
Requires: %{SSLeay} perl-libwww-perl ipvsadm
Provides: heartbeat-ldirectord
Obsoletes: heartbeat-ldirectord
-Conflicts: heartbeat-ldirectord
Requires: perl-MailTools
%if 0%{?suse_version}
Requires: logrotate
I installed the modified ldirectord package successfully.
On Fri, Oct 29, 2010 at 4:41 AM, Greg Woods <woods at ucar.edu> wrote:
> I currently have an old heartbeat v1 cluster that I am moving to a newer
> Pacemaker/heartbeat v3 cluster. That is, I am moving the functionality
> of the old cluster to the new one so that the old one can be phased out.
> The new cluster is running all the latest stuff from the clusterlabs
> repo under CentOS 5.5
>
> One thing the old one does is run Linux Virtual Server and ipvsadm to
> farm out incoming SMTP connections to multiple mail processing nodes
> (virus scanning, spamassassin scanning, alias lookup, etc.). I would
> like to have the new cluster do this.
>
> >From what I have read, it appears that the "right" way to do this is to
> install ldirectord and set up an ldirectord resource in Pacemaker. The
> problem is that I can't get ldirectord to install. There is an
> ldirectord package in the clusterlabs repo, and a heartbeat-ldirectord
> package in the CentOS-extras repo, and they conflict. Neither one is
> installed now but I still get this error when I try to install
> ldirectord:
>
> ERROR with rpm_check_debug vs depsolve:
> heartbeat-ldirectord conflicts with ldirectord-1.0.3-2.6.el5.x86_64
> Complete!
> (1, [u'Please report this error in
> https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise
> %20Linux%205&component=yum'])
>
> The same thing happens if I disable the extras repo, and even if I do
> "yum clean all" first. If instead I try to install heartbeat-ldirectord
> and disable the clusterlabs repo (which might result in a package that
> doesn't work right in any event), I get a different error:
>
> Transaction Check Error:
> file /usr/lib/ocf/resource.d/heartbeat/ldirectord from install of
> heartbeat-ldirectord-2.1.3-3.el5.centos.x86_64 conflicts with file from
> package resource-agents-1.0.3-2.6.el5.x86_64
>
>
> Is going to the source the only way to get ldirectord to install on this
> system, or has someone else seen this before and know of a workaround?
>
> Thanks,
> --Greg
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list