Bug 173488 - selinux errors (invalid file contexts) during yum updates
Summary: selinux errors (invalid file contexts) during yum updates
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-17 15:55 UTC by Orion Poplawski
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version: 1.27.1-2.17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-16 00:00:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2005-11-17 15:55:22 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Orion Poplawski 2005-11-17 15:57:00 UTC
Sorry.  With selinux-policy-targeted-1.27.1-2.14 I get the following error
during yum updates:


/etc/cron.daily/yum.cron:

/etc/selinux/targeted/contexts/files/file_contexts:  line 825 has invalid
context system_u:object_r:lvm_exec_t
/etc/selinux/targeted/contexts/files/file_contexts:  line 1572 has invalid
context system_u:object_r:slapd_lock_t
/etc/selinux/targeted/contexts/files/file_contexts:  line 1579 has invalid
context system_u:object_r:slapd_cert_t
/etc/selinux/targeted/contexts/files/file_contexts:  line 825 has invalid
context system_u:object_r:lvm_exec_t
/etc/selinux/targeted/contexts/files/file_contexts:  line 1572 has invalid
context system_u:object_r:slapd_lock_t
/etc/selinux/targeted/contexts/files/file_contexts:  line 1579 has invalid
context system_u:object_r:slapd_cert_t



Comment 2 Ville Skyttä 2005-11-29 08:25:15 UTC
I get this too on every rpm transaction.

Comment 3 Charles R. Anderson 2005-11-29 19:11:43 UTC
Apparently, installing selinux-policy-targeted-sources, then removing it,
"fixes" this issue.


Comment 4 Ville Skyttä 2005-11-29 19:29:47 UTC
Seems so indeed.

Comment 5 Peter Gordon 2005-11-30 02:35:14 UTC
Charles' recommendation of install selinux-policy-targeted-sources also fixes
this for me.

Comment 6 Peter Gordon 2005-11-30 02:36:51 UTC
That should be "installing," sorry. 

Comment 7 Daniel Walsh 2006-01-02 17:44:11 UTC
Fixed in selinux-policy-targeted-1.27.1-2.17


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