diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-06-15 09:11:32 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-06-16 09:30:18 -0400 |
commit | d2ad7e1ba5c9e68367e0eedbbfdadfc3adf94af2 (patch) | |
tree | 0322d4366f4a92cc2b9ccd5bb0436be2972428fa /src/core/load-fragment.c | |
parent | 33d52725f5e90f278fec675a8c34e3accaa6ad97 (diff) |
systemctl: delay pager/polkit agent opening as much as possible
In https://github.com/systemd/systemd/issues/3543, we would open the pager
before starting ssh, and the pipe fd was "leaked" into the ssh child as the
stderr fd. Previous commit fixes bus-socket to nullify stderr before launching
the child, but it seems reasonable to also delay starting the pager.
If we are going to croak when trying to open the transport, it seems better
to do this before starting the pager.
This commit would also fix #3543 on its own.
Diffstat (limited to 'src/core/load-fragment.c')
0 files changed, 0 insertions, 0 deletions