Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196290 Details for
Bug 275947
sys-apps/portage-2.1.6.13 FEATURES=sesandbox disables build.log
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
enable build.log when FEATURES=sesandbox is enabled
sesandbox_logging.patch (text/plain), 1.07 KB, created by
Zac Medico
on 2009-07-01 20:49:50 UTC
(
hide
)
Description:
enable build.log when FEATURES=sesandbox is enabled
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2009-07-01 20:49:50 UTC
Size:
1.07 KB
patch
obsolete
>Index: pym/portage/__init__.py >=================================================================== >--- pym/portage/__init__.py (revision 13755) >+++ pym/portage/__init__.py (revision 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): > """
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275947
: 196290