Bug 436717
Summary: | Rebuild of coreutils fails with "FAIL: chcon.log" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> | ||||
Component: | coreutils | Assignee: | Ondrej Vasik <ovasik> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | twaugh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-26 14:56:09 UTC | Type: | --- | ||||
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
Robert Scheck
2008-03-09 21:43:18 UTC
Created attachment 297381 [details]
tests/misc/chcon.log
Thanks for report, will try to find suitable solution for unactive selinux translation... but I don't know about which patch you are talking about. Chcon implementation was in selinux patch in coreutils-6.9, coreutils-6.10 are using upstream implementation of chcon (which is very similar to implementation in coreutils-selinux.patch ). Sorry, I didn't have an exact look to it, I thought that SELinux would come from that patch. The fix is IMHO just to allow both: With and without translation. But I don't know how the check is performed, maybe just an regexp? In coreutils-6.9 all selinux things were from that selinux patch - coreutils-6.10 included selinux things by default - but unfortunately in some cases unlike with Red Hat patch. Therefore upstream solution is based on Red Hat patch, but sometimes not the same. Chcon check is following: perform some commands and compare results with expected results. So maybe the easiest way would be to skip the test when translation is not active - as is already done for the case of some only "non-root" tests executed by root. Anyway - chcon is root only test, so it will be skipped when rebuild with non-root user. So that's an easy workaround for the issue. Same problem with not running mcstrans(d) was with cp-a-selinux test. While fixing that issue I found that the chcon test fails in selinux enforcing mode as well... Both issues fixed and built as coreutils-6.10-15.fc9, closing RAWHIDE. Thanks for the report and investigation. I've fixed this upstream: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13098 |