Bug 110857 - SELinux updates
Bug#: 110857 Product:  Portage Development Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: dev-portage@gentoo.org Reported By: pebenito@gentoo.org
Component: Core
URL: 
Summary: SELinux updates
Keywords:  InSVN
Status Whiteboard: 
Opened: 2005-10-29 19:18 0000
Description:   Opened: 2005-10-29 19:18 0000
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 From Chris PeBenito 2005-10-29 19:19:21 0000 -------
Created an attachment (id=71704) [details]
ebuild.sh-selinux.diff

------- Comment #2 From Chris PeBenito 2005-10-29 19:34:18 0000 -------
Created an attachment (id=71705) [details]
ebuild.sh-selinux.diff

die correctly

------- Comment #3 From Brian Harring 2006-01-06 10:07:35 0000 -------
assuming no complaints about a feature enabling a use flag, +1 on this.
Others?

------- Comment #4 From Chris PeBenito 2006-01-06 10:23:04 0000 -------
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 From Brian Harring 2006-01-06 10:32:00 0000 -------
ahh, convert strictly over to checking features, k.

------- Comment #6 From Chris PeBenito 2006-01-29 09:01:13 0000 -------
*nudge* we're really going to be needing this update in the next month+, can it
be merged?

------- Comment #7 From SpanKY 2006-01-29 20:19:08 0000 -------
added to svn trunk

------- Comment #8 From Zac Medico 2006-02-23 08:55:30 0000 -------
This is in r2606 for release in 2.1_pre5.

------- Comment #9 From Zac Medico 2006-02-26 14:32:14 0000 -------
Released in 2.1_pre5.