Bug 1349465
Summary: | [bash-completion] put it under $(pkg-config --variable=completionsdir bash-completion) to allow for dynamic loading | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Pokorný [poki] <jpokorny> | ||||||
Component: | pcs | Assignee: | Ivan Devat <idevat> | ||||||
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 7.1 | CC: | cfeist, cluster-maint, idevat, omular, rsteiger, tojeline | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pcs-0.9.152-5.el7 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-03 20:59:09 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
Jan Pokorný [poki]
2016-06-23 13:49:33 UTC
Created attachment 1174875 [details]
proposed fix
Before fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.151-1.el7.x86_64 [vm-rhel72-1 ~] $ rpm -ql pcs | grep bash /etc/bash_completion.d/pcs After fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-3.el7.x86_64 [vm-rhel72-1 ~] $ rpm -ql pcs | grep bash /usr/share/bash-completion/completions/pcs Created attachment 1184680 [details]
proposed fix
Test:
[vm-rhel72-1 ~pcs] $ make install BASH_COMPLETION_DIR=/usr/share/bash-completion
...
install -D -m644 pcs/bash_completion.sh /usr/share/bash-completion/pcs
...
[vm-rhel72-1 ~pcs] $ ls -l /usr/share/bash-completion |grep pcs
-rw-r--r--. 1 root root 1029 27. čec 16.40 pcs
Before Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-4.el7.x86_64 [vm-rhel72-1 ~] $ ll /usr/share/bash-completion/completions/ |grep pcs -rwxr-xr-x. 1 root root 1029 15. čec 15.22 pcs After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.152-5.el7.x86_64 [vm-rhel72-1 ~] $ ll /usr/share/bash-completion/completions/ |grep pcs -rw-r--r--. 1 root root 1029 28. čec 2016 pcs 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-2016-2596.html |