Bug 739866
Summary: | checkpolicy cannot parse /selinux/policy on ppc64 and s390x | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Karel Srot <ksrot> |
Component: | kernel | Assignee: | Paul Moore <pmoore> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | CC: | ccui, dwalsh, eparis, lilu, liwan, mmalik, pgraner, sdsmall |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel-2.6.32-471.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-14 05:07:53 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: | |||
Bug Depends On: | |||
Bug Blocks: | 767187 |
Description
Karel Srot
2011-09-20 09:17:26 UTC
reassigning to kernel. I'll have to take a closer look at the bitmap writeback code. Is pagesize != 4096 on these platforms? (I didn't think it mattered, but it's the only thing I can think of that would be different with the platform and possibly wrong with the code) s390x says 65536 B, ppc64 4096 B. If you copy the file first, does that make any difference? cp /selinux/policy mypolicy checkpolicy -Mdb mypolicy That would exercise the read()-based interface rather than the mmap()-based one. Could also be an endianness issue. Policy should be in little endian format and converted when read/written. Maybe something didn't get converted when writing it out in the kernel. Also somewhat complicated by the fact that the kernel ebitmap is no longer identical to the userspace one and has to be converted. (In reply to comment #3) > If you copy the file first, does that make any difference? > cp /selinux/policy mypolicy > checkpolicy -Mdb mypolicy no difference Since RHEL 6.3 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Patch(es) available on kernel-2.6.32-471.el6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-1392.html |