* [gentoo-commits] portage r13756 - main/trunk/pym/portage
@ 2009-07-01 20:48 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-07-01 20:48 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-07-01 20:47:58 +0000 (Wed, 01 Jul 2009)
New Revision: 13756
Modified:
main/trunk/pym/portage/__init__.py
Log:
Bug #275947 - Enable build.log when FEATURES=sesandbox is enabled, since
it works when a pty is available (but not through a normal pipe, due to
bug #162404).
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2009-07-01 19:09:15 UTC (rev 13755)
+++ main/trunk/pym/portage/__init__.py 2009-07-01 20:47:58 UTC (rev 13756)
@@ -5724,13 +5724,12 @@
(mysettings["CATEGORY"], mysettings["PF"], logid_time))
del logid_path, logid_time
else:
- # When sesandbox is enabled, only log if PORT_LOGDIR is explicitly
- # enabled since it is possible that local SELinux security policies
- # do not allow ouput to be piped out of the sesandbox domain.
- if not (mysettings.selinux_enabled() and \
- "sesandbox" in mysettings.features):
- mysettings["PORTAGE_LOG_FILE"] = os.path.join(
- mysettings["T"], "build.log")
+ # NOTE: When sesandbox is enabled, the local SELinux security policies
+ # may not allow output to be piped out of the sesandbox domain. The
+ # current policy will allow it to work when a pty is available, but
+ # not through a normal pipe. See bug #162404.
+ mysettings["PORTAGE_LOG_FILE"] = os.path.join(
+ mysettings["T"], "build.log")
def _doebuild_exit_status_check(mydo, settings):
"""
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-01 20:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 20:48 [gentoo-commits] portage r13756 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox