Pass domain name to qrexec daemon

This commit is contained in:
Marek Marczykowski 2013-05-04 04:46:56 +02:00 committed by Marek Marczykowski-Górecki
parent b2a0b69742
commit 5e0d8c1155

View File

@ -1400,7 +1400,7 @@ class QubesVm(object):
xid = self.get_xid()
qrexec_env = os.environ
qrexec_env['QREXEC_STARTUP_TIMEOUT'] = str(self.qrexec_timeout)
retcode = subprocess.call ([system_path["qrexec_daemon_path"], str(xid), self.default_user], env=qrexec_env)
retcode = subprocess.call ([system_path["qrexec_daemon_path"], str(xid), self.name, self.default_user], env=qrexec_env)
if (retcode != 0) :
self.force_shutdown(xid=xid)
raise OSError ("ERROR: Cannot execute qrexec-daemon!")