Bug 114040 - rpm does not install file contexts if file_contexts/file_contexts file missing.
Summary: rpm does not install file contexts if file_contexts/file_contexts file missing.
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
: 113512 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2004-01-21 19:35 UTC by Daniel Walsh
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-02-16 03:47:10 UTC

Attachments (Terms of Use)

Description Daniel Walsh 2004-01-21 19:35:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115

Description of problem:
  Current status on a
machine here running rawhide (rpm-4.3-0.7.1) is that:
- rpm -Uvh foo.rpm will try to determine file contexts from
/etc/security/selinux/src/policy/file_contexts/file_contexts if it
exists and apply them in that case.
- otherwise, rpm doesn't appear to set file contexts, even if they are
included in the header,

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

How reproducible:

Steps to Reproduce:
1.get a package including file_contexts
2.remove /etc/security/selinux/src/policy/file_contexts/file_contexts
3.rpm install

Actual Results:  Gets default contexts

Expected Results:  Gets correct context.

Additional info:

Comment 1 Jeff Johnson 2004-01-26 03:16:22 UTC
*** Bug 113512 has been marked as a duplicate of this bug. ***

Comment 2 Jeff Johnson 2004-02-16 03:47:10 UTC
FIxed in CVS, will be in rpm-4.3-0.11 when built.

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