Bug 873000
| Summary: | selinux-policy-devel should require checkpolicy | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jakub Hrozek <jhrozek> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | abokovoy, dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-20 15:30:05 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: | |||
Fixed in selinux-policy-3.11.1-50.fc18.noarch selinux-policy-3.11.1-50.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-50.fc18 Package selinux-policy-3.11.1-50.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-50.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-17705/selinux-policy-3.11.1-50.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-50.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: One of the Makefiles in selinux-policy-devel uses checkmodule, but the package doesn't require it. Version-Release number of selected component (if applicable): selinux-policy-devel-3.11.1-46.fc18.noarch How reproducible: build freeipa in mock, fails Steps to Reproduce: 1. grep checkmodule /usr/share/selinux/devel/include/Makefile CHECKMODULE := $(BINDIR)/checkmodule 2. rpm -q --requires selinux-policy-devel | grep check Actual results: no requires Expected results: Requires: checkpolicy Additional info: The tail of the freeipa build log looks like this: + cd selinux + make all if [ ! -e /usr/share/selinux/devel/Makefile ]; then echo "You need to install the SELinux development tools (selinux-policy-devel)" && exit 1; fi make[1]: Entering directory `/builddir/build/BUILD/freeipa-2.99.0/selinux/ipa_httpd' Compiling targeted ipa_httpd module make[1]: /usr/bin/checkmodule: Command not found make[1]: Leaving directory `/builddir/build/BUILD/freeipa-2.99.0/selinux/ipa_httpd' RPM build errors: make[1]: *** [tmp/ipa_httpd.mod] Error 127 make: *** [all] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.XQd2WB (%build) Bad exit status from /var/tmp/rpm-tmp.XQd2WB (%build) Child return code was: 1