Bug 137411
Summary: | lua errors when doing "rpm -E '%__policy_tree'" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Toni Willberg <toniw> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | nobody+pnasrat |
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: | 2004-10-28 14:49:32 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: |
Description
Toni Willberg
2004-10-28 10:52:49 UTC
WORKSFORME: $ rpm -E '%__policy_tree' strict Hmmm, policy trees were rearranged after fc2 ... Do you have policy packages installed? These two in particular: $ rpm -qf /etc/selinux selinux-policy-targeted-1.17.31-1.noarch.rpm selinux-policy-strict-1.17.31-1.noarch.rpm Yah, you have installed. Are you sure you are invoking rpm-4.3.2? The error message looks like parser failures from a version of rpm that does not have embedded lua. # whereis rpm rpm: /bin/rpm /etc/rpm /usr/lib/rpm /usr/include/rpm /usr/share/man/man8/rpm.8.gz # rpm -qf /bin/rpm rpm-4.3.2-13 So, I'm using correct version of rpm binary. # rpm -qf /etc/selinux selinux-policy-targeted-1.17.30-2.11 selinux-policy-strict-1.17.30-2 Just upgraded to these from the ones stated in original bug report, same errors. # rpm -q lua lua-5.0-0.fdr.2.2 Dunno if it matters that I have lua installed or not. lua installed shouldn't matter, rpm has embedded lua in rpm libraries. Can you verify all the packages involved? rpm -V rpm selinux-policy-targeted selinux-policy-strict Also check /etc/selinux/config. Mine looks like: # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=permissive # SELINUXTYPE= can take one of these two values: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=strict Fixed by installing rpm-libs-4.3.2-13. I had librpm4.3-4.3.1-0.3_26.rhfc2.at installed for some reason, and it provided too version of the libs without lua. Perhaps dependencies of rpm-4.3.2-13 should be changed to require package rpm-libs instead of librpm-4.3.so. |