dom0: start guid only when shm.id present

Eg. not during firstboot
This commit is contained in:
Marek Marczykowski 2011-12-11 14:09:46 +01:00
parent a3f2496a27
commit d84d64716b

View File

@ -1145,7 +1145,7 @@ class QubesVm(object):
self.force_shutdown()
raise OSError ("ERROR: Cannot execute qrexec_daemon!")
if subprocess.call('xprop -root >/dev/null 2>&1', shell=True) == 0:
if os.path.exists('/var/run/shm.id'):
self.start_guid(verbose=verbose)
if preparing_dvm: