Add a TODO note to AbstractEbuildProcess._can_log() about adding support
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Aug 2010 13:11:22 +0000 (06:11 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Aug 2010 13:11:22 +0000 (06:11 -0700)
for logging via named pipe (fifo) for sesandbox.

pym/_emerge/AbstractEbuildProcess.py

index bbbb281368be92a8dc6adf818be46c5d0b06475b..61cd02fd8c3167546001d607fb05327c3408b1b5 100644 (file)
@@ -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)