Bug 169856 - selinux can't open default policy when no sources are installed
Summary: selinux can't open default policy when no sources are installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: setools
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On: 169853
Blocks: 176344 185483 198694 234547
TreeView+ depends on / blocked
 
Reported: 2005-10-04 14:18 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0192
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-01 23:28:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0192 0 normal SHIPPED_LIVE setools bug fix update 2007-05-01 22:03:27 UTC

Description Bastien Nocera 2005-10-04 14:18:33 UTC
After having created /etc/selinux/strict/policy (see bug #169853), launching
seinfo will fail to open the default policy:
# seinfo
Could not open policy /etc/selinux/targeted/policy/policy/policy.19!
Attempting to search for another valid policy file...
Default policy search failed: Could not locate a default source policy or binary
file.

The path should obviously be /etc/selinux/targeted/policy/policy.19, not
/etc/selinux/targeted/policy/policy/policy.19.

The problem is with either libselinux' selinux_binary_policy_path(), or with the
usage of that function in seinfo.

Comment 1 Daniel Walsh 2005-10-04 20:53:40 UTC
Fixed in the upstream version, but am not sure we will put them in U3.

Comment 9 David Lawrence 2006-04-25 18:00:47 UTC
Adding to blocker bug 185483 and adding to IBM group per request of John Jarvis.

Comment 12 David Lawrence 2006-04-27 17:21:52 UTC
Mistakenly added to IBM group, removed.

Comment 13 RHEL Program Management 2006-08-18 17:17:00 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 18 Red Hat Bugzilla 2007-05-01 23:28:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0192.html



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