qubes-rpc: log service stderr to syslog instead of sending to dom0 (#842)

This commit is contained in:
Marek Marczykowski-Górecki 2014-05-05 05:20:26 +02:00
parent 969122cf4f
commit acb74e89e2

View File

@ -1,4 +1,10 @@
#!/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
# XXX: Backward compatibility
DEPRECATED_QUBES_RPC=/etc/qubes_rpc