/usr/bin/checkpolicy ?
I downloaded selinux-2.4.18-2002031409.src.rpm and tried to rebuild it (on a uptodate RH 7.2 machine)
rpm --rebuild selinux-2.4.18-2002031409.src.rpm
and got
....
m4 -Imacros -s /var/tmp/selinux-2.4.18-root/usr/lib/selinux/security_classes /var/tmp/selinux-2.4.18-root/usr/lib/selinux/initial_sids /var/tmp/selinux-2.4.18-root/usr/lib/selinux/access_vectors all.te rbac users constraints initial_sid_contexts fs_contexts devfs_contexts net_contexts > policy.conf/usr/bin/checkpolicy -o policy policy.conf
make: /usr/bin/checkpolicy: Command not found
make: *** [policy] Error 127
error: Bad exit status from /var/tmp/rpm-tmp.62266 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.62266 (%build)
Shouldn't there be a BuildRequires: rule for checkpolicy ? And it so, it would need to be in a separate (tools ?) package.
richard.
Signature · 10 lines
----------------------------------------------------------------------- Richard Offer Technical Lead, Trust Technology, SGI "Specialization is for insects" _______________________________________________________________________ -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.