Bug 196018

Summary: restorecon errors on install
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: selinux-policy-mlsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bugproxy, dwalsh, hongjiu.lu, wwoods
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: 2006-08-17 22:09:14 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: 195762    

Description Joe Orton 2006-06-20 12:35:55 UTC
Raw Hide install is showing this error in the install.log:

Installing selinux-policy-mls - 2.2.47-1.noarch
restorecon:  error while labeling files under /etc/selinux/mls
/usr/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
libsemanage.semanage_install_active: Could not copy
/etc/selinux/mls/modules/active/policy.kern to /etc/selinux/mls/policy/policy.20.
semodule:  Failed!

and similarly for selinux-policy-strict.

Comment 1 Will Woods 2006-07-10 21:59:38 UTC
Still happening during FC6-Test2 trials:

Error(s) installing: selinux-policy-mls 2.3.2 1 noarch
/usr/sbin/load_policy:  Can't load policy:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
libsemanage.semanage_install_active: Could not copy
/etc/selinux/mls/modules/active/policy.kern to /etc/selinux/mls/policy/policy.20.
semodule:  Failed!

Comment 2 Daniel Walsh 2006-07-11 14:12:35 UTC
*** Bug 192258 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2006-07-11 14:26:17 UTC
*** Bug 194018 has been marked as a duplicate of this bug. ***

Comment 4 Jesse Keating 2006-07-20 21:58:06 UTC
Will, did this come up again in the latest tree from the 19th of July?

Comment 5 Jesse Keating 2006-08-17 21:07:58 UTC
Will, are you still seeing this in rawhide?

Comment 6 Will Woods 2006-08-17 21:45:37 UTC
No, this appears to be OK in rawhide:

Installing selinux-policy-targeted - 2.3.7-1.noarch
Installing selinux-policy-mls - 2.3.7-1.noarch

Notice: no errors. Yay!

Comment 7 IBM Bug Proxy 2007-02-19 17:21:23 UTC
changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|FIXEDAWAITINGTEST           |ACCEPTED




------- Additional Comments From ed_pollard.com (prefers email at edpollar.com)  2007-02-19 12:19 EDT -------
This has fixed by redhat for several months and hasn't tested by us. I am going
to close it internally, if we need to re-open please provide reproduction steps
and results.