Bug 873000 - selinux-policy-devel should require checkpolicy
Summary: selinux-policy-devel should require checkpolicy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-04 19:51 UTC by Jakub Hrozek
Modified: 2012-12-20 15:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 15:30:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jakub Hrozek 2012-11-04 19:51:51 UTC
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

Comment 1 Miroslav Grepl 2012-11-05 11:11:17 UTC
Fixed in selinux-policy-3.11.1-50.fc18.noarch

Comment 2 Fedora Update System 2012-11-05 21:07:55 UTC
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

Comment 3 Fedora Update System 2012-11-06 18:56:29 UTC
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).

Comment 4 Fedora Update System 2012-12-20 15:30:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.