projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabc8d9
)
Add a TODO note to AbstractEbuildProcess._can_log() about adding support
author
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Aug 2010 13:11:22 +0000
(06:11 -0700)
committer
Zac 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
patch
|
blob
|
history
diff --git
a/pym/_emerge/AbstractEbuildProcess.py
b/pym/_emerge/AbstractEbuildProcess.py
index bbbb281368be92a8dc6adf818be46c5d0b06475b..61cd02fd8c3167546001d607fb05327c3408b1b5 100644
(file)
--- 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)