Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275947
Collapse All | Expand All

(-)pym/portage/__init__.py (-7 / +6 lines)
Lines 5724-5736 Link Here
5724
			(mysettings["CATEGORY"], mysettings["PF"], logid_time))
5724
			(mysettings["CATEGORY"], mysettings["PF"], logid_time))
5725
		del logid_path, logid_time
5725
		del logid_path, logid_time
5726
	else:
5726
	else:
5727
		# When sesandbox is enabled, only log if PORT_LOGDIR is explicitly
5727
		# NOTE: When sesandbox is enabled, the local SELinux security policies
5728
		# enabled since it is possible that local SELinux security policies
5728
		# may not allow output to be piped out of the sesandbox domain. The
5729
		# do not allow ouput to be piped out of the sesandbox domain.
5729
		# current policy will allow it to work when a pty is available, but
5730
		if not (mysettings.selinux_enabled() and \
5730
		# not through a normal pipe. See bug #162404.
5731
			"sesandbox" in mysettings.features):
5731
		mysettings["PORTAGE_LOG_FILE"] = os.path.join(
5732
			mysettings["PORTAGE_LOG_FILE"] = os.path.join(
5732
			mysettings["T"], "build.log")
5733
				mysettings["T"], "build.log")
5734
5733
5735
def _doebuild_exit_status_check(mydo, settings):
5734
def _doebuild_exit_status_check(mydo, settings):
5736
	"""
5735
	"""

Return to bug 275947