Project

General

Profile

Bug #419

[librechroot] Doesn't handle stdout being redirected correctly.

lukeshu - over 10 years ago - . Updated over 10 years ago.

Status:
fixed
Priority:
bug
Category:
-
Assignee:
-
% Done:

100%


Description

This is due to a bug in systemd-nspawn.

The systemd bug is at: https://bugs.freedesktop.org/show_bug.cgi?id=70290

This has been mostly mitigated in the last release, but it is not fixed. Now that I've slept on it, it can be totally worked around using socat.

History

#2

Updated by lukeshu over 10 years ago

Unless I am mis-remembering what I thought, the socat work-around won't work. stdin MUST be connected to the TTY, which, as long as the systemd bug's sub-bugs 1 and 2 aren't fixed, means that stdout redirection can't be totally worked around.

However, I have realized that I can fix the output of libremakepkg by adding a bunch of extra carriage returns to the output. Yay for gross hacks! :(

#3

Updated by lukeshu over 10 years ago

I've fixed this in git. I'm leaving it open until I publish the next release.

#4

Updated by lukeshu over 10 years ago

Version 20131027 includes the carriage-return hack.

Also available in: Atom PDF