Bug 1378742

Summary: create manpage for pcsd
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Jelinek <tojeline>
Component: pcsAssignee: Ondrej Mular <omular>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.3CC: cfeist, cluster-maint, idevat, mlisik, omular, rsteiger, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.9.157-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 18:22:57 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:
Attachments:
Description Flags
proposed fix none

Description Tomas Jelinek 2016-09-23 08:46:09 UTC
We need to have a description of environment variables (/etc/sysconfig/pcsd and others like http_proxy) and config files (/var/lib/pcsd/*) recognized and used by pcsd. This should preferably go to its own manpage not to complicate the pcs manpage which is already huge.

Comment 1 Tomas Jelinek 2016-10-26 13:15:51 UTC
From duplicate bz1318656:

Radek Steiger 2016-03-17 09:06:57 EDT

PCS daemon supports reading several various environmental variables that are usually set via initscript or systemd through /etc/sysconfig/pcsd, but are not documented anywhere at this point.

So far we expose following ones in /etc/sysconfig/pcsd and should mention them in man pages:

PCSD_DEBUG
RACK_ENV
DISABLE_GUI

Ideally, we should provide a general description of the supported ENV variables without being tied to /etc/sysconfig, because a user might want to set these in other ways (and also other distributions might use different approach than what we do in RHEL).

We might consider other ENV variables that pcsd already understands, but most of them are for internal use only.

Comment 2 Tomas Jelinek 2016-10-26 13:16:10 UTC
*** Bug 1318656 has been marked as a duplicate of this bug. ***

Comment 5 Tomas Jelinek 2017-02-23 11:43:24 UTC
Created attachment 1256880 [details]
proposed fix

Comment 6 Ivan Devat 2017-04-10 15:50:48 UTC
After Fix:

[vm-rhel72-1 ~] $ rpm -q pcs
pcs-0.9.157-1.el7.x86_64

[vm-rhel72-1 ~] $ man pcsd
[vm-rhel72-1 ~] $ echo $?
0

Comment 9 errata-xmlrpc 2017-08-01 18:22:57 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://access.redhat.com/errata/RHBA-2017:1958