Christian

I set this up back when without properly researching systemd.mount,
particularly the automatic dependencies.  I make half of the changes you
recommended (Requires=virt-guest-shutdown.target; After=virt-guest-
shutdown.target) and it made no change, the I/O errors still showed up.
I'm attaching the custom systemd services and the libvirt hook for your
information.

But, instead of following in the direction of a custom setup I will
transition this to /etc/fstab parent/child mounts (the child mount is a
.vhd file on the parent fs that will now be mounted using the loop
device instead of nbd) and a simpler libvirt hook with mount/umount
functionality.   Sorry for making this more complicated than they should
have been.

Regards

Pedro

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1924494

Title:
  Systemd shutdown order unmounts filesystem used by qemu/kvm guest
  before shutting down the guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1924494/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to