summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/AbstractEbuildProcess.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-30 06:11:22 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-30 06:11:22 -0700
commite9c6c8752f9fddd4def7538a93b51770a297ed0a (patch)
treea68a9b8e966bad16c502888d8740b6e400024728 /pym/_emerge/AbstractEbuildProcess.py
parentdabc8d96bfe1cf25b29ad82f9b9dda47e29187e2 (diff)
downloadportage-e9c6c8752f9fddd4def7538a93b51770a297ed0a.tar.gz
portage-e9c6c8752f9fddd4def7538a93b51770a297ed0a.tar.bz2
portage-e9c6c8752f9fddd4def7538a93b51770a297ed0a.zip
Add a TODO note to AbstractEbuildProcess._can_log() about adding support
for logging via named pipe (fifo) for sesandbox.
Diffstat (limited to 'pym/_emerge/AbstractEbuildProcess.py')
-rw-r--r--pym/_emerge/AbstractEbuildProcess.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py
index bbbb28136..61cd02fd8 100644
--- a/pym/_emerge/AbstractEbuildProcess.py
+++ b/pym/_emerge/AbstractEbuildProcess.py
@@ -152,6 +152,9 @@ class AbstractEbuildProcess(SpawnProcess):
# With sesandbox, logging works through a pty but not through a
# normal pipe. So, disable logging if ptys are broken.
# See Bug #162404.
+ # TODO: Add support for logging via named pipe (fifo) with
+ # sesandbox, since EbuildIpcDaemon uses a fifo and it's known
+ # to be compatible with sesandbox.
return not ('sesandbox' in self.settings.features \
and self.settings.selinux_enabled()) or os.isatty(slave_fd)