Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29215 - slight selinux setfiles change
Summary: slight selinux setfiles change
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-20 13:27 UTC by Chris PeBenito (RETIRED)
Modified: 2011-10-30 22:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
portage-2.0.49-r4-selinux_always_relabel.diff (portage-2.0.49-r4-selinux_always_relabel.diff,589 bytes, patch)
2003-09-20 13:28 UTC, Chris PeBenito (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris PeBenito (RETIRED) gentoo-dev 2003-09-20 13:27:58 UTC
This is a patch to slightly change the behavior of the selinux setfiles block in
ebuild.sh.  This ensures that merged files are always labeled correctly, but
doesn't modify the user's selinux policy directory.  Incorrect labeling would
cause breakage.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2003-09-20 13:28:41 UTC
Created attachment 18044 [details, diff]
portage-2.0.49-r4-selinux_always_relabel.diff
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2003-09-20 13:53:14 UTC
also, baselayout in selinux will be using ${T}/file_contexts for mknod, to create the device nodes with the correct context.  cc'ing Az.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-09-23 09:32:05 UTC
Included for -r6