[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-17 Thread KarlGoetz
*** This bug is a duplicate of bug 1845506 *** https://bugs.launchpad.net/bugs/1845506 Completely understood, thanks for spelling it out so clearly. Knowing that option is closed to us we can weight the relative merits of a full upgrade vs using the cloud archive to get a stack which supports

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-17 Thread Christian Ehrhardt 
*** This bug is a duplicate of bug 1845506 *** https://bugs.launchpad.net/bugs/1845506 Hi Karl, glad I could help with that. The change is part of a bigger series that needs to drop a apparmor reload, change the way AppArmorSetSecurityImageLabel is called and only then finally can use the

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-16 Thread KarlGoetz
Good news - my snapshot works. virsh snapshot-create-as server-name --name "Auto snapshot $(date --rfc-3339=seconds)" --atomic --disk-only Domain snapshot Auto snapshot 2020-09-17 10:17:49+10:00 created $ lsb_release -r Release:18.04 $ apt policy qemu-system-x86 qemu-system-x86:

Re: [Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-15 Thread Christian Ehrhardt 
> (also great work on tracking it down!). I had an unfair advantage of implementing it in the first place :-) > We're on Ubuntu 18.04, not sure if we'll be moving to 20.04 in the near > term or not (it depends on Other Things). > > Not sure about your final request (sorry) - are you asking me to

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-14 Thread KarlGoetz
Hi paelzer, https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1845506 seems a very good description of my problem, wonder why I missed it (also great work on tracking it down!). We're on Ubuntu 18.04, not sure if we'll be moving to 20.04 in the near term or not (it depends on Other Things).

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-14 Thread Christian Ehrhardt 
This seemed too familiar, two bugs that are even closer but fixed are: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1681839 https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1845506 This was mostly around multi-invocations of the same. This explains why I remembered something, I

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-14 Thread Christian Ehrhardt 
Hi, bug 1320221 is about virt-aa-helper being denied which is different. A dup of 1417288 it might be, but that is so old that I'd not want to wake it up :-) > "It appears to me that whatever generates the .files listing should consider > derived names ..." Yeah for some scenarios that is

[Bug 1892306] Re: virsh snapshot-create-as fails when --disk-only is specified

2020-09-13 Thread KarlGoetz
After running the script at the bottom snapshots work using the incantation below. virsh snapshot-create-as server-name --name "postscript" --atomic --disk-only Domain snapshot postscript created #!/bin/bash # Script to broaden the permissions libvirts apparmor-helper script gives to