diff --git a/dom0/init.d/qubes_setupdvm b/dom0/init.d/qubes_setupdvm index 5ff768f2..26390536 100755 --- a/dom0/init.d/qubes_setupdvm +++ b/dom0/init.d/qubes_setupdvm @@ -30,7 +30,7 @@ start() else mkdir -m 770 /dev/shm/qubes chown root.qubes /dev/shm/qubes - cp $DEFAULT /dev/shm/qubes/current_savefile + cp -a $(readlink $DEFAULT) /dev/shm/qubes/current_savefile chown root.qubes /dev/shm/qubes/current_savefile chmod 660 /dev/shm/qubes/current_savefile ln -s /dev/shm/qubes/current_savefile /var/run/qubes/current_savefile diff --git a/dom0/restore/qfile-daemon-dvm b/dom0/restore/qfile-daemon-dvm index 9cfa629e..6a41db24 100755 --- a/dom0/restore/qfile-daemon-dvm +++ b/dom0/restore/qfile-daemon-dvm @@ -102,7 +102,7 @@ class QfileDaemonDvm: def get_dvm(self): if not self.dvm_setup_ok(): - self.tray_notify("Updating DisposableVM savefile, please wait") + self.tray_notify("Updating DisposableVM savefile, please wait", 120000) if os.system("qvm-create-default-dvm --default-template --default-script >/var/run/qubes/qvm-create-default-dvm.stdout