qubes-rpc: log service stderr to syslog instead of sending to dom0 (#842)
This commit is contained in:
parent
969122cf4f
commit
acb74e89e2
@ -1,4 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
mkfifo /tmp/qrexec-rpc-stderr.$$
|
||||||
|
logger -t "$1-$2" -f /tmp/qrexec-rpc-stderr.$$ &
|
||||||
|
exec 2>/tmp/qrexec-rpc-stderr.$$
|
||||||
|
rm -f /tmp/qrexec-rpc-stderr.$$
|
||||||
|
|
||||||
QUBES_RPC=/etc/qubes-rpc
|
QUBES_RPC=/etc/qubes-rpc
|
||||||
# XXX: Backward compatibility
|
# XXX: Backward compatibility
|
||||||
DEPRECATED_QUBES_RPC=/etc/qubes_rpc
|
DEPRECATED_QUBES_RPC=/etc/qubes_rpc
|
||||||
|
Loading…
Reference in New Issue
Block a user