Systemd/src/machine
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
..
.gitignore machined: introduce polkit for OpenLogin() call 2014-12-23 21:28:48 +01:00
image-dbus.c machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
image-dbus.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
machine-dbus.c 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
machine-dbus.h machined: add new OpenRootDirectory() call to Machine objects 2016-04-25 15:24:46 +02:00
machine.c machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
machine.h machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
machinectl.c systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
machined-dbus.c machined: add new OpenRootDirectory() call to Machine objects 2016-04-25 15:24:46 +02:00
machined.c machined: run clone operation asynchronously in the background 2016-05-02 11:15:30 +02:00
machined.h machined: run clone operation asynchronously in the background 2016-05-02 11:15:30 +02:00
Makefile machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
operation.c machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
operation.h machined: rework copy-from/copy-to operation to use generic Operation object 2016-05-02 11:17:06 +02:00
org.freedesktop.machine1.conf machined: add new OpenShell() bus call 2015-08-24 22:46:45 +02:00
org.freedesktop.machine1.policy.in machine: policykit string fixes 2015-08-25 18:37:16 +02:00
org.freedesktop.machine1.service machined: split out machine registration stuff from logind 2013-07-02 03:47:23 +02:00
test-machine-tables.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00