Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110857 - SELinux updates
Summary: SELinux updates
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-10-29 19:18 UTC by Chris PeBenito (RETIRED)
Modified: 2006-02-26 14:32 UTC (History)
0 users

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


Attachments
ebuild.sh-selinux.diff (ebuild.sh-selinux.diff,1.28 KB, patch)
2005-10-29 19:19 UTC, Chris PeBenito (RETIRED)
Details | Diff
ebuild.sh-selinux.diff (ebuild.sh-selinux.diff,1.27 KB, patch)
2005-10-29 19:34 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 2005-10-29 19:18:48 UTC
1) change ebuild.sh code to use selinux configuration to determine where the
file contexts are, rather than a setting in make.conf.

2) change portage support to a FEATURE rather than USE.  This enables the user
to disable the portage support if their setup is broken, while still enabling
selinux support in any packages they might merge.  I was going to submit a patch
for portage.py, but the place it needs to be changed (line 7234 in rev
1.524.2.76/2.0.53_rc6), features (the variable) isn't filled yet, so I was
unsure of the proper fix.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2005-10-29 19:19:21 UTC
Created attachment 71704 [details, diff]
ebuild.sh-selinux.diff
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2005-10-29 19:34:18 UTC
Created attachment 71705 [details, diff]
ebuild.sh-selinux.diff

die correctly
Comment 3 Brian Harring (RETIRED) gentoo-dev 2006-01-06 10:07:35 UTC
assuming no complaints about a feature enabling a use flag, +1 on this.
Others?
Comment 4 Chris PeBenito (RETIRED) gentoo-dev 2006-01-06 10:23:04 UTC
no, no, no, I don't want the feature enabling a use flag, I just want the code in portage to be controlled by the feature instead of the use flag.  Both the use flag and the feature are turned on by default in the SELinux profiles.
Comment 5 Brian Harring (RETIRED) gentoo-dev 2006-01-06 10:32:00 UTC
ahh, convert strictly over to checking features, k.
Comment 6 Chris PeBenito (RETIRED) gentoo-dev 2006-01-29 09:01:13 UTC
*nudge* we're really going to be needing this update in the next month+, can it be merged?
Comment 7 SpanKY gentoo-dev 2006-01-29 20:19:08 UTC
added to svn trunk
Comment 8 Zac Medico gentoo-dev 2006-02-23 08:55:30 UTC
This is in r2606 for release in 2.1_pre5.
Comment 9 Zac Medico gentoo-dev 2006-02-26 14:32:14 UTC
Released in 2.1_pre5.