Red Hat Bugzilla – Bug 208067
RFE: Selinux file_context.local in RHEL 4
Last modified: 2012-06-20 09:31:10 EDT
Description of problem:
In the distributed version of libselinux from the RHEL4 upd3 (libselinux-1.19.1-
it does not come included the support to personalize the File Local Context
Selinux via the files
/etc/selinux/targeted/contexts/files/file_contexts.local - evidently an
important necessity (cfr. http://danwalsh.livejournal.com/ ) for most client
that would put simply customization to selinux file_context without a policy
recompile. In fact in the changelog of the following versions, as in FC4 (
follow an extract)
* Wed Jan 12 2005 Dan Walsh <email@example.com> 1.20.1-3
- Modify matchpathcon to also process file_contexts.local if it exists
this support it has been introduced.
I would ask you to verify if and when she comes introduced such support in
Meantime i shipment you a patch and the spec for libselinux RHEL4 - the patch
has been backported from FC4. Probably it is not completly corrected but it
works - it seems.
Created attachment 137114 [details]
backport from libselinux 1.20.-3 : Modify matchpathcon to also process file_contexts.local if it exists
Your patch is broken. You should have used something like gendiff to create the
(In reply to comment #2)
> Your patch is broken. You should have used something like gendiff to create the
Sorry , bat the answer is yes. I have used gendiff for regenerating the selinux
rpm, for backporting the patch. Isn't correct ? I don't like installing nothing
without rpm, also in a test environment. Do you think it is better using diff
-Nur for proposing patch to the mantainer?
If so, i repost it soon.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.