Bug 1285281 - CTDB: yum update fails on RHEL6 for ctdb package with dependency on procps-ng and systemd-units
Summary: CTDB: yum update fails on RHEL6 for ctdb package with dependency on procps-ng...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: RHGS 3.1.2
Assignee: Jose A. Rivera
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1260783 1285306
TreeView+ depends on / blocked
 
Reported: 2015-11-25 10:57 UTC by surabhi
Modified: 2016-03-01 05:57 UTC (History)
6 users (show)

Fixed In Version: samba-4.2.4-8.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-01 05:57:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description surabhi 2015-11-25 10:57:09 UTC
Description of problem:

--> Finished Dependency Resolution
Error: Package: ctdb-4.2.4-7.el6rhs.x86_64 (External-RH-Gluster-3-Server-Repository-3)
           Requires: procps-ng
Error: Package: ctdb-4.2.4-7.el6rhs.x86_64 (External-RH-Gluster-3-Server-Repository-3)
           Requires: systemd-units
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

On RHEL-6 :
yum list procps*
Loaded plugins: aliases, changelog, product-id, security, subscription-manager,
              : tmprepo, verify, versionlock
Installed Packages
procps.x86_64          3.2.8-34.el6_7     @rhel-6-server-rpms      

but ctdb needs procps-ng so it fails to update.

Version-Release number of selected component (if applicable):
ctdb-4.2.4-6

How reproducible:
Always

Steps to Reproduce:
1.Yum update from 3.1.1 to 3.1.2 on RHEL6
2.
3.

Actual results:
Yum update fails with dependency errors for CTDB.

Expected results:
Yum update should succeed.

Additional info:

Comment 2 Michael Adam 2015-11-25 13:59:43 UTC
These are the the requirements for ctdb from the spec:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Requires: coreutils
Requires: fileutils
# for ps and killall
Requires: psmisc
Requires: sed
Requires: tdb-tools
Requires: gawk
# for pkill and pidof:
Requires: procps-ng
# for netstat:
Requires: net-tools
Requires: ethtool
# for ip:
Requires: iproute
Requires: iptables
# for flock, getopt, kill:
Requires: util-linux

Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Changes for rhel6:

1) systemd-units not available on RHEL6
   --> need s/th else?

2) in RHEL6:
   - pkill in procps
   - pidof in sysvinit-tools
   - flock, getopt and kill: in util-linux-ng

Comment 3 Jose A. Rivera 2015-11-27 13:39:57 UTC
New build is up with the appropriate changes:

https://brewweb.devel.redhat.com/buildinfo?buildID=468103

Comment 4 surabhi 2015-11-30 12:12:31 UTC
The update of ctdb packages is successfull with the new build.
verified with the following steps.

Yum update from 3.1.1 to latest puddle for RHEL6.

The ctdb update happens successfully without any dependency issues.

Build info:
samba-4.2.4-8.el6rhs.x86_64
ctdb-4.2.4-8.el6rhs.x86_64

Comment 6 errata-xmlrpc 2016-03-01 05:57:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html


Note You need to log in before you can comment on or make changes to this bug.