Systemd/src/libsystemd
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
..
sd-bus systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
sd-daemon tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
sd-device Udevadm trivial cleanups (#3331) 2016-05-24 12:07:42 +02:00
sd-event sd-event: port over to new triple timestamp logic 2016-06-06 19:59:07 +02:00
sd-hwdb tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
sd-id128 tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-login tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
sd-netlink networkd: added support for vrf interfaces (#3316) 2016-06-16 00:25:06 +02:00
sd-network tree-wide: remove unused variables 2016-02-23 20:40:51 +01:00
sd-path sd-path: use XDG_CONFIG_HOME instead of hardcoding ~/.config for user-dirs 2016-03-15 04:09:44 +00:00
sd-resolve tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
sd-utf8 tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
.gitignore libsystemd: remove list of symbols to export only in the future 2015-06-17 16:21:13 +02:00
libsystemd.pc.in build-sys: update .pc.in files 2014-01-25 18:55:58 -05:00
libsystemd.sym sd-journal: add API for opening journal files or directories by fd 2016-04-25 15:24:46 +02:00
Makefile libsystemd-bus: rename to libsystemd 2014-01-13 18:54:19 +01:00