Systemd/src
Lennart Poettering cf647b69ba systemctl: make sure we terminate the bus connection first, and then close the pager (#3550)
If "systemctl -H" is used, let's make sure we first terminate the bus
connection, and only then close the pager. If done in this order ssh will get
an EOF on stdin (as we speak D-Bus through ssh's stdin/stdout), and then
terminate. This makes sure the standard error we were invoked on is released by
ssh, and only that makes sure we don't deadlock on the pager which waits for
all clients closing its input pipe.

(Similar fixes for the various other xyzctl tools that support both pagers and
-H)

Fixes: #3543
2016-06-16 09:29:16 -04:00
..
ac-power tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
activate activate: improve SIGCHLD handler 2016-04-05 14:34:04 +00:00
analyze tree-wide: use ansi_highlight() instead of ANSI_HIGHLIGHT where appropriate 2016-05-30 18:22:16 +02:00
ask-password ask-password: add option --no-output to not print password to stdout 2016-03-01 19:02:11 +01:00
backlight tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
basic Merge pull request #3511 from andir/networkd-vrf 2016-06-16 09:15:45 -04:00
binfmt tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
boot tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
cgls shared: drop kernel_thread bool from cgroups show code 2016-04-22 16:06:20 +02:00
cgroups-agent tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
cgtop cgtop: minimize aux variable scope 2016-06-06 22:04:33 +02:00
core Merge pull request #3481 from poettering/relative-memcg 2016-06-16 13:56:23 +02:00
coredump coredump: use next_datagram_size_fd instead of ioctl(FIONREAD) (#3237) 2016-05-11 14:29:24 +02:00
cryptsetup cryptsetup: do not 'fail' if trying to detach a nonexistent device 2016-04-01 20:51:20 +02:00
dbus1-generator tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
debug-generator tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
delta tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
detect-virt tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
escape tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
firstboot tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
fsck tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
fstab-generator fstab-generator: don't process root= if it happens to be "gpt-auto" (#3452) 2016-06-07 10:23:20 +02:00
getty-generator tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
gpt-auto-generator Create initrd-root-device.target synchronization point (#3239) 2016-05-12 18:42:39 +02:00
hibernate-resume tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
hostname util-lib: make localed's nonempty() generic, rename it to empty_to_null() and make use of it everywhere 2016-05-30 17:59:43 +02:00
hwdb hwdb: selinuxify a bit (#3460) 2016-06-07 19:47:41 +02:00
import tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
initctl tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
journal tree-wide: check colors_enabled() before outputting ANSI color strings 2016-05-30 18:23:08 +02:00
journal-remote journal-remote : Ensure reallocation of source->buf does not result in source->size < source->filled (#3086) 2016-04-22 14:04:17 -04:00
kernel-install
libsystemd systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
libsystemd-network Merge pull request #3481 from poettering/relative-memcg 2016-06-16 13:56:23 +02:00
libudev tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
locale systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
login systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
machine systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
machine-id-setup tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
modules-load tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
network networkd: vrf: add support for enslaving devices to VRFs 2016-06-16 00:25:06 +02:00
notify tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
nspawn nspawn: lock down system call filter a bit 2016-06-13 16:25:54 +02:00
nss-myhostname tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
nss-mymachines tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
nss-resolve Move nss typedefs into nss-util.h 2016-04-02 20:11:41 -04:00
path tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
quotacheck tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
random-seed tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
rc-local-generator tree-wide: make more global variables static 2016-02-13 12:28:28 +01:00
remount-fs tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
reply-password tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
resolve resolved: in the ResolveHostname() bus call, accept IP addresses with scope 2016-06-14 23:37:16 +02:00
rfkill tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
run run: do not try to use reply after freeing it (#3318) 2016-05-21 18:30:33 -04:00
shared Merge pull request #3481 from poettering/relative-memcg 2016-06-16 13:56:23 +02:00
sleep tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
socket-proxy tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
stdio-bridge stdio-bridge: Correctly propagate error 2016-02-29 10:45:34 +01:00
sysctl tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
system-update-generator tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
systemctl systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
systemd Merge pull request #3431 from poettering/network-fixes 2016-06-08 23:10:16 +02:00
sysusers selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
sysv-generator sysv-generator: remove more dead code (#3462) 2016-06-08 10:18:56 +02:00
test Merge pull request #3481 from poettering/relative-memcg 2016-06-16 13:56:23 +02:00
timedate systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
timesync clock-util: make clock_is_localtime() testable and add initial tests 2016-02-26 11:28:49 +01:00
tmpfiles Fix FS_EXTENT_FL description (#3381) 2016-05-29 11:31:14 -04:00
tty-ask-password-agent ask-password: ask for passphrases not only on the first console of /dev/console 2016-05-24 11:57:27 +02:00
udev udevadm: trivial simplification 2016-06-14 17:12:23 -04:00
update-done selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
update-utmp tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
user-sessions selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
vconsole vconsole: add log_oom() where appropriate 2016-05-17 10:29:28 +02:00
.gitignore
Makefile