Skip to content

Commit 046d8f3

Browse files
committed
Use 'qrexec-client-vm --use-stdin-socket' to properly handle EOF
When qrexec-client-vm is called from a systemd unit connected to a socket, it the same socket on both stdin and stdout. Tell qrexec-client-vm about it, so it can use shutdown() instead of close() to properly deliver EOF. It will also make the qrexec-client-vm to use just stdin FD. QubesOS/qubes-issues#9169
1 parent 068492a commit 046d8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm-systemd/[email protected]

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
Description=Forward connection to updates proxy over Qubes RPC
33

44
[Service]
5-
ExecStart=/usr/bin/qrexec-client-vm '' qubes.UpdatesProxy
5+
ExecStart=/usr/bin/qrexec-client-vm --use-stdin-socket '' qubes.UpdatesProxy
66
StandardInput=socket
77
StandardOutput=inherit

0 commit comments

Comments
 (0)