1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00
systemd/src
Lennart Poettering 9c857b9d16 nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1
Previously we always invoked the container PID 1 on /dev/console of the
container. With this change we do so only if nspawn was invoked
interactively (i.e. its stdin/stdout was connected to a TTY). In all other
cases we directly pass through the fds unmodified.

This has the benefit that nspawn can be added into shell pipelines.

https://bugs.freedesktop.org/show_bug.cgi?id=87732
2015-02-18 23:36:20 +01:00
..
ac-power
activate
analyze Transpose args in strv_fnmatch() to be more oo 2015-02-16 14:04:36 -05:00
ask-password include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
backlight backlight: let udev properties override clamping 2015-02-02 17:18:40 +01:00
binfmt
boot systemd-boot: fix alignment of version in table 2015-02-18 22:19:17 +01:00
bootchart bootchart: display each CPU utilization/wait 2015-02-14 10:25:03 -05:00
bus-proxyd bus-proxy: be more verbose if messages cannot be forwarded 2015-02-14 19:01:21 +01:00
cgls util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
cgroups-agent
cgtop
compat-libs #pragma once here and there 2015-01-23 09:30:44 -05:00
console Move DEFINE_TRIVIAL_CLEANUP_FUNC to macro.h 2015-01-18 19:06:48 -05:00
core everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
cryptsetup util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
dbus1-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
debug-generator
delta
detect-virt
efi-boot-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
escape
firstboot util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
fsck Connect to plymouth and support cancellation of in progress fsck 2015-02-18 16:33:46 +01:00
fsckd Translate fsckd messages for plymouth 2015-02-18 16:33:46 +01:00
fstab-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
getty-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
gpt-auto-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
gudev
hibernate-resume
hostname logind: open up most bus calls for unpriviliged processes, using PolicyKit 2015-02-18 12:55:25 +01:00
hwdb hwdb: adjust --help text to be more like other --help texts 2015-02-12 13:17:08 +01:00
import shared: introduce cmsg_close_all() call 2015-02-18 19:42:24 +01:00
initctl everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
journal include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
journal-remote journal-remote: fix client_cert memory leak 2015-02-17 10:36:57 +01:00
kernel-install
libsystemd logind: open up most bus calls for unpriviliged processes, using PolicyKit 2015-02-18 12:55:25 +01:00
libsystemd-network Transpose args in strv_fnmatch() to be more oo 2015-02-16 14:04:36 -05:00
libsystemd-terminal util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
libudev Revert "build-sys: re-add old symbols for abi compat" 2015-02-16 21:22:00 +01:00
locale logind: open up most bus calls for unpriviliged processes, using PolicyKit 2015-02-18 12:55:25 +01:00
login logind: open up most bus calls for unpriviliged processes, using PolicyKit 2015-02-18 12:55:25 +01:00
machine nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1 2015-02-18 23:36:20 +01:00
machine-id-commit machine-id-commit: Introduce machine-id-commit binary 2014-12-03 03:41:19 +01:00
machine-id-setup
modules-load
network networkd: network - rename ipv6token parser 2015-02-14 00:32:56 +01:00
notify notify,firstboot,analyze,run: trim --help output to 80 lines 2015-01-27 21:48:12 -05:00
nspawn nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1 2015-02-18 23:36:20 +01:00
nss-myhostname
nss-mymachines
nss-resolve
path
python-systemd
quotacheck
random-seed random-seed: avoid errors when we cannot write random-seed file 2015-01-17 11:55:14 +01:00
rc-local-generator
remount-fs
reply-password include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
resolve include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
resolve-host sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
rfkill
run nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1 2015-02-18 23:36:20 +01:00
shared nspawn: when connected to pipes for stdin/stdout, pass them as-is to PID 1 2015-02-18 23:36:20 +01:00
shutdownd shared: introduce cmsg_close_all() call 2015-02-18 19:42:24 +01:00
sleep
socket-proxy
sysctl sysctl: consider --prefix while parsing the files 2015-02-07 12:19:37 -05:00
system-update-generator util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
systemctl everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
systemd sd-bus: allow setting a per-connection default value for the "allow-interactive-authentication" message flag 2015-02-18 11:43:18 +01:00
sysusers util: rework strappenda(), and rename it strjoina() 2015-02-03 02:05:59 +01:00
sysv-generator everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
test test: utf8 - fix utf16 tests on BE machines 2015-02-18 15:23:23 +01:00
timedate logind: open up most bus calls for unpriviliged processes, using PolicyKit 2015-02-18 12:55:25 +01:00
timesync timesync: Use UINT64_C for OFFSET_1900_1970 2015-02-16 18:43:47 +01:00
tmpfiles tmpfiles: Fix parse_acl error message 2015-02-17 12:47:51 +01:00
tty-ask-password-agent include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
udev shared: introduce cmsg_close_all() call 2015-02-18 19:42:24 +01:00
update-done
update-utmp everywhere: remove configurability of sysv runlevel to target mapping 2015-02-18 20:20:14 +01:00
vconsole
.gitignore
Makefile