Bug 1357607
| Summary: | Update pcp-pmda-ds389log defaults to use dirsrv user instead of nobody | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Viktor Ashirov <vashirov> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED ERRATA | QA Contact: | Miloš Prchlík <mprchlik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | brolley, fche, lberk, lmiksik, mbenitez, mgoodwin, mprchlik, myllynen, nathans |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pcp-3.11.3-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:24:10 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
Viktor Ashirov
2016-07-18 15:46:06 UTC
Simple change - does this make sense to you, Marko? (does log reading require this permission now?) Thanks. (In reply to Nathan Scott from comment #2) > Simple change - does this make sense to you, Marko? (does log reading > require this permission now?) Thanks. The logs are not world-readable so either root or the log-owning user must be used here. I checked latest Fedora and it also uses dirsrv. So I think it'd be a reasonable change (if dirsrv doesn't work everywhere then it's not much different than nobody not working everywhere). Thanks. Thanks Marko, I'll get that change pushed through. pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b76275250f pcp-3.11.4-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a51156083f pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-415f0c78ed It looks like the patch was not applied to pcp-3.11.3-3.el7: [root@ibm-x3650m4-01-vm-13 pmdas]# rpm -q pcp-pmda-ds389log pcp-pmda-ds389log-3.11.3-3.el7.x86_64 [root@ibm-x3650m4-01-vm-13 pmdas]# pwd /var/lib/pcp/pmdas [root@ibm-x3650m4-01-vm-13 pmdas]# grep -r 'ds_user =' ds389log/pmdads389log.pl our $ds_user = 'nobody'; # empty - use root [root@ibm-x3650m4-01-vm-13 pmdas]# Upstream patch 1f0ee8705d108b628e59746e851f51fd1599190c says: -our $ds_user = 'nobody'; # empty - use root +our $ds_user = 'dirsrv'; # empty - use root Verified with build pcp-3.11.3-4.el7. pcp-3.11.4-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. 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/RHBA-2016-2344.html |