Bug 1220778

Summary: [RFC] should pcs escape double-quotes to prevent clashes/irregularity with string-denoting ones in parameter printouts?
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pokorný [poki] <jpokorny>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED WONTFIX QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: low    
Version: 7.2CC: cfeist, cluster-maint, tojeline
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:34:23 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-05-12 12:26:32 UTC
Sample case:

# pcs resource create mysql-test ocf:heartbeat:mysql \
  'config="/mnt/foo/mysql/config final.cnf"'
# pcs resource show mysql-test | head -n2
 Resource: mysql-test (class=ocf provider=heartbeat type=mysql)
  Attributes: config=""/mnt/foo/mysql/config final.cnf"" 
                     ^^                               ^^

Comment 1 Jan Pokorný [poki] 2015-05-12 12:29:32 UTC
... this is what CIB contains in such a case:

<nvpair id="mysql-testC-instance_attributes-config" name="config"
        value="&quot;/mnt/foo/mysql/config final.cnf&quot;"/>

Comment 2 Jan Pokorný [poki] 2015-05-15 20:42:46 UTC
Cf. http://clusterlabs.org/pipermail/users/2015-May/000403.html

Comment 6 RHEL Program Management 2020-12-15 07:34:23 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.