Bug 143224 - rpm emits file_context errors with latest selinux-policy-targeted
Summary: rpm emits file_context errors with latest selinux-policy-targeted
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-17 16:24 UTC by Joe Orton
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 23:28:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2004-12-17 16:24:38 UTC
An updated FC3 system, selinux-policy-targeted-1.17.30-2.51, any rpm
-V command gives errors:

# rpm -V mod_ssl
/etc/selinux/targeted/contexts/files/file_contexts:  invalid context
system_u:object_r:xconsole_device_t on line number 141
/etc/selinux/targeted/contexts/files/file_contexts:  invalid context
system_u:object_r:power_device_t on line number 223
/etc/selinux/targeted/contexts/files/file_contexts:  invalid context
system_u:object_r:squirrelmail_spool_t on line number 554
/etc/selinux/targeted/contexts/files/file_contexts:  invalid context
system_u:object_r:winbind_exec_t on line number 781
...

Comment 1 Daniel Walsh 2004-12-17 17:00:27 UTC
You need to reload policy.

make -C  /etc/selinux/targeted/src/policy reload


Comment 2 Joe Orton 2005-01-05 12:11:49 UTC
I shouldn't need to, I hadn't *changed* the policy.  I guess this was
an artefact of the -sources package reloading the policy when it
shouldn't - I removed -sources and renamed policy.18.rpmnew over
policy.18 and it's OK now.


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