New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a DispVM when the TemplateVM is running forces savefile regeneration #754

Closed
marmarek opened this Issue Mar 8, 2015 · 8 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 16 Nov 2013 12:48 UTC
... which later requites Qubes restart to get rid of, as e.g. qvm-* tools work no longer, waiting on the lock.

To reproduce:

  1. Open TemplateVM
  2. Open DispVM, if it works, then try again a few times.

Migrated-From: https://wiki.qubes-os.org/ticket/754

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 26 Nov 2013 13:32 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 26 Nov 2013 13:32 UTC

@marmarek marmarek added this to the Release 2 Beta 3 milestone Mar 8, 2015

@marmarek marmarek removed this from the Release 2 Beta 3 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 26 Nov 2013 17:47 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 26 Nov 2013 17:47 UTC

@marmarek marmarek added this to the Release 2 Beta 3 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 8 Dec 2013 16:34 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 8 Dec 2013 16:34 UTC

@marmarek marmarek removed this from the Release 2 Beta 3 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 11 Mar 2014 13:18 UTC
Does it still happen?

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 11 Mar 2014 13:18 UTC
Does it still happen?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 24 Mar 2014 11:34 UTC
Ok, I cannot really reproduce the deadlock, however I have the following observation (tested on all the latest packets from current-testing):

When I keep the template running (on which my dispvm is based), then each time I start a dispvm it gets its savefile regenerated. I think this is not correct -- it should get its savefile regenerated only after the template is shutdown.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 24 Mar 2014 11:34 UTC
Ok, I cannot really reproduce the deadlock, however I have the following observation (tested on all the latest packets from current-testing):

When I keep the template running (on which my dispvm is based), then each time I start a dispvm it gets its savefile regenerated. I think this is not correct -- it should get its savefile regenerated only after the template is shutdown.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by joanna on 24 Mar 2014 11:49 UTC

Member

marmarek commented Mar 8, 2015

Modified by joanna on 24 Mar 2014 11:49 UTC

@marmarek marmarek added P: minor and removed P: major labels Mar 8, 2015

@marmarek marmarek changed the title from Opening a DispVM when the TemplateVM is running causes a deadlock to Opening a DispVM when the TemplateVM is running forces savefile regeneration Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 24 Mar 2014 12:00 UTC
Checking timestamp of actual root image (provided as device-mapper snapshot) while the template is running isn't straightforward... but surely doable.
Anyway template isn't running for the most of the time.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 24 Mar 2014 12:00 UTC
Checking timestamp of actual root image (provided as device-mapper snapshot) while the template is running isn't straightforward... but surely doable.
Anyway template isn't running for the most of the time.

@marmarek

This comment has been minimized.

Show comment
Hide comment
Member

marmarek commented Mar 8, 2015

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment