Systemd/src/timedate
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 login: move seat udev rules to login subdir 2012-01-22 18:32:13 +01:00
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
org.freedesktop.timedate1.conf relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
org.freedesktop.timedate1.policy.in polkit: add "imply" rules to a number of polkit actions 2012-12-31 21:24:26 +01:00
org.freedesktop.timedate1.service relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
timedatectl.c systemctl: make sure we terminate the bus connection first, and then close the pager (#3550) 2016-06-16 09:29:16 -04:00
timedated.c selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00