Red Hat Bugzilla – Bug 1231987
pcs ought to require psmisc package (hidden dependency for killall execution)
Last modified: 2015-11-19 04:37:32 EST
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")
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
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