Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1085389
Summary: | internal test suite fails when rebuilding the source RPM | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Milos Malik <mmalik> | ||||
Component: | acl | Assignee: | Kamil Dudka <kdudka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | emrakova, kdudka | ||||
Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | acl-2.2.51-14.el7 | Doc Type: | No Doc Update | ||||
Doc Text: |
undefined
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-04-10 13:13:40 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
Milos Malik
2014-04-08 13:37:45 UTC
Created attachment 884085 [details]
complete output of rpmbuild --rebuild acl-...
# gpasswd -a daemon bin Adding user daemon to group bin # Now the internal test suite passes. Thanks for the analysis and sorry for the late reply on this, I was on vacation last week. The bug only happens if rpmbuild is run by the root user. mock runs it under a non-privileged user, so the bug does not affect production builds. (In reply to Milos Malik from comment #2) > # gpasswd -a daemon bin > Adding user daemon to group bin > # > > Now the internal test suite passes. I am afraid that above is the actual fix. It cannot be done from the acl package because the %check section of acl.spec is not supposed to alter the system out of the build root. You simply need to run the command yourself. The upstream test (test/root/permissions.test) is clearly documented to have such a requirement: This script tests if file permissions are properly checked with and without ACLs. The script must be run as root to allow switching users. The following users are required. They must be a member in the groups listed in parentheses. bin (bin) daemon (bin, daemon) The only fix I can implement would be to skip the test in case the requirement is not met (which is not on default RHEL-7). acl-2.2.52-13.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c71743bffc acl-2.2.52-15.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2028746562 acl-2.2.52-13.fc25 has been pushed to the Fedora 25 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-2017-c71743bffc acl-2.2.52-15.fc26 has been pushed to the Fedora 26 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-2017-2028746562 acl-2.2.52-15.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. acl-2.2.52-13.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. Not yet fixed in RHEL-7. 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-2018:0772 |