Bug #419
[librechroot] Doesn't handle stdout being redirected correctly.
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
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! :(
Updated by lukeshu over 10 years ago
I've fixed this in git. I'm leaving it open until I publish the next release.