Red Hat Bugzilla – Bug 114040
rpm does not install file contexts if file_contexts/file_contexts file missing.
Last modified: 2007-11-30 17:10:35 EST
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):
Steps to Reproduce:
1.get a package including file_contexts
Actual Results: Gets default contexts
Expected Results: Gets correct context.
*** Bug 113512 has been marked as a duplicate of this bug. ***
FIxed in CVS, will be in rpm-4.3-0.11 when built.