Project

General

Profile

Bug #420

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

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

Status:
not-a-bug
Priority:
bug
Category:
-
Assignee:
% Done:

0%


Description

This is because of a bug in systemd-nspawn.

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

In the latest version (20131007), it prints a warning if stdin is not a TTY, but allows you to continue.

This cannot be easily worked around. It might be possible using a new C program, I know of nothing that will handle PTYs correctly; socat won't do it unless it has an option I'm skipping over in the man page.

Unless/until the systemd bug is fixed, it might be best to fail immediately if stdin isn't a TTY.

History

#2

Updated by lukeshu over 10 years ago

As of librechroot 20131027, it no longer allows stdin to be redirected.

#3

Updated by lukeshu about 8 years ago

Note that this bug has been "replaced" by https://labs.parabola.nu/issues/431

Also available in: Atom PDF