Bug 1231987

Summary: pcs ought to require psmisc package (hidden dependency for killall execution)
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pokorný [poki] <jpokorny>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.2CC: cluster-maint, rsteiger, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.9.141-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 09:37:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pokorný [poki] 2015-06-15 18:33:48 UTC
See https://github.com/ClusterLabs/pacemaker/commit/6811ddafd371c8f5af9f7230394fb6bfb0e6f9e0

# PKG=psmisc
# grep --exclude "*.js" --exclude "*.md" -EIn \
  "$(rpm -ql ${PKG} \
     | { grep -Ee "$(rpm -E '%{_bindir}')" -e /bin; echo SENTINEL; } \
     | xargs -I{} basename {} \
     | sed 's|\(.\+\)|\[\"\\047\]\1\\W|')" \
  $(rpm -ql pcs) 2>/dev/null | fmt -w 72 | sed '/^[^/]/s|\(.*\)|\t\1|'
> /usr/lib/python2.7/site-packages/pcs/cluster.py:760:
> 	output, retval = utils.run(["killall", "-9"] + daemons)
> /usr/lib/python2.7/site-packages/pcs/cluster.py:1157:
> 	os.system("killall -q -9 corosync aisexec heartbeat pacemakerd ccm
> 	stonithd ha_logd lrmd crmd pengine attrd pingd mgmtd cib fenced
> 	dlm_controld gfs_controld")

Comment 3 Tomas Jelinek 2015-06-23 12:49:26 UTC
Before Fix:
[root@rh71-node1 ~]# rpm -q pcs
pcs-0.9.140-1.el7.x86_64
[root@rh71-node1:~]# rpm -qR pcs | grep psmisc
[root@rh71-node1:~]# echo $?
1



After Fix:
[root@rh71-node1:~]# rpm -q pcs
pcs-0.9.141-1.el7.x86_64
[root@rh71-node1:~]# rpm -qR pcs | grep psmisc
psmisc

Comment 7 errata-xmlrpc 2015-11-19 09:37:32 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/RHSA-2015-2290.html