From 68c8d219c94a71bae6c3c3dd9e65c156fb8b3d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 7 Apr 2017 16:49:35 +0200 Subject: [PATCH] vm/qubesvm: fix daemon startup function 'command' argument is a tuple --- qubes/vm/qubesvm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index 5454133f..45818be6 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -1153,7 +1153,8 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): # some files (like clipboard) may be created as root and cause # permission problems qubes_group = grp.getgrnam('qubes') - command = ['runuser', '-u', qubes_group.gr_mem[0], '--'] + command + command = ['runuser', '-u', qubes_group.gr_mem[0], '--'] + \ + list(command) p = yield from asyncio.create_subprocess_exec(*command, **kwargs) stdout, stderr = yield from p.communicate(input=input) if p.returncode: