From: Zac Medico Date: Mon, 30 Aug 2010 13:11:22 +0000 (-0700) Subject: Add a TODO note to AbstractEbuildProcess._can_log() about adding support X-Git-Tag: v2.2_rc73~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9c6c8752f9fddd4def7538a93b51770a297ed0a;p=portage.git Add a TODO note to AbstractEbuildProcess._can_log() about adding support for logging via named pipe (fifo) for sesandbox. --- 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)