diff --git a/vm-systemd/bind-dirs.sh b/vm-systemd/bind-dirs.sh index 6647334..b91b566 100755 --- a/vm-systemd/bind-dirs.sh +++ b/vm-systemd/bind-dirs.sh @@ -31,6 +31,13 @@ prerequisite() { true "No TemplateBasedVM detected. Exiting." exit 0 fi + if [ -f "/var/run/qubes-service/qubes-dvm" ]; then + # https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029 + # Do none of the following in a DispVM. + # During DispVM savefile generation, 'qubesdb-read /qubes-vm-persistence' + # outputs 'rw'. + exit 0 + fi } init() {