From 04c221e924e3fd3b0fbc6214efa58b20e07869a4 Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Tue, 13 Jan 2015 17:55:13 +0100 Subject: [PATCH] qubes/vm/qubesvm: fix env manipulation on qrexec-daemon start --- qubes/vm/qubesvm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index f28e9a95..a4122b3d 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -914,7 +914,7 @@ class QubesVM(qubes.vm.BaseVM): qrexec_args = [str(self.xid), self.name, self.default_user] if not self.debug: qrexec_args.insert(0, "-q") - qrexec_env = os.environ + qrexec_env = os.environ.copy() qrexec_env['QREXEC_STARTUP_TIMEOUT'] = str(self.qrexec_timeout) retcode = subprocess.call([system_path["qrexec_daemon_path"]] + qrexec_args, env=qrexec_env)