Bug 1247818

Summary: pcs depends on initscripts
Product: Red Hat Enterprise Linux 7 Reporter: Lars Kellogg-Stedman <lars>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.1CC: cluster-maint, rsteiger, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.9.143-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 09:38:21 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 Lars Kellogg-Stedman 2015-07-29 01:33:57 UTC
Description of problem:

The "pcsd.service" systemd unit files calls "/usr/lib/pcsd/pcsd start", which attempts to source /etc/rc.d/init.d/functions.  This file is provided by the "initscripts" package, which may not be installed on a minimal system.

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

pcs-0.9.137-13.el7_1.3.x86_64

Potential fixes:

- Add an explicit dependency on the "initscripts" package.

- Instead of calling the "pcsd" shell script, which does nothing but start a ruby scripts, just start that ruby script directly from the systemd unit.

Comment 3 Tomas Jelinek 2015-08-10 13:22:06 UTC
Before Fix:
[root@rh71-node1 ~]# rpm -q pcs
pcs-0.9.142-2.el7.x86_64
[root@rh71-node1:~]# rpm -qR pcs | grep initscripts
[root@rh71-node1:~]# echo $?
1

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

Comment 7 errata-xmlrpc 2015-11-19 09:38:21 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