Thanks Christian for your detailed responses. After reading through
those links I do agree that it makes the most sense to only autostart
once as it is designed. I do think though that a failed autostart
attempt shouldn't be considered an autostart and create the file but as
you mentioned I don't think that's something Ubuntu needs to address and
I can open a bug report with the libvirt team directly to get their
thoughts. For now, there are some easy enough ways to get around this
that I'll post here in case anyone else runs into this problem.

 Since netplan does not support all the options that I need to bring up
a VF and set the needed options I have to do it instead in
/etc/rc.local. Using this same file I added the following at the end to
resolve the issue:

rm -f /run/libvirt/network/autostarted
service libvirtd restart

You could also just use a "virsh net-start ####" here if needed.

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

Title:
  The file in /run/libvirt/network/autostarted isn't removed if
  autostart fails.

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to