Bug 723911 - some .pp files cannot be loaded because interfaces contain errors
Summary: some .pp files cannot be loaded because interfaces contain errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-21 14:27 UTC by Milos Malik
Modified: 2011-12-06 10:09 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.7.19-107.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 10:09:36 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1511 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2011-12-06 00:39:17 UTC

Description Milos Malik 2011-07-21 14:27:19 UTC
Description of problem:


Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.7.19-103.el6.noarch
selinux-policy-mls-3.7.19-103.el6.noarch
selinux-policy-minimum-3.7.19-103.el6.noarch
selinux-policy-doc-3.7.19-103.el6.noarch
selinux-policy-3.7.19-103.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create a .te file which contains following lines:
policy_module(pokus,1.0)
type test_domain_t;
type test_domain2_t;
type test_initrc_exec_t;
type test_fs_t;
type test_entrypoint_t;
domain_type(test_domain_t)
domain_type(test_domain2_t)
files_type(test_initrc_exec_t)
fs_type(test_fs_t)
corecmd_bin_entry_type(test_entrypoint_t)
type test_private_t;
role test_r;
clamav_append_log( test_domain_t )

2. run following command in the same directory:
make -f /usr/share/selinux/devel/Makefile

3. run following command in the same directory:
semodule -i *.pp

  
Actual results
========
libsepol.print_missing_requirements: pokus's global requirements were not met: type/attribute clamav_var_log_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
semodule:  Failed!

Expected results
==========
* no error message
* semodule loads the module successfully

Comment 1 Miroslav Grepl 2011-08-10 16:23:37 UTC
Fixed in selinux-policy-3.7.19-107.el6

Comment 4 errata-xmlrpc 2011-12-06 10:09:36 UTC
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/RHBA-2011-1511.html


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