[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.] ** Changed in: libvirt (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
** No longer affects: apparmor (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
Sorry this has been dormant for way too long, but I can still not reproduce as Serge couldn't back then. To properly reflect that I'm setting incomplete for now. You could try to check what /usr/lib/libvirt/virt-aa-helper does with your XML. Maybe it fails to process it or generates content in your case that libvirt won't accept? ** Changed in: libvirt (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: libvirt (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apparmor (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
> show something different than the original path? No, only path that represent current image location (inside btrfs snapshot). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
Thanks, nothing looks out of the ordinary there. Just to make sure, does realpath /mnt/storage/data/images/owncloud.qcow2 show something different than the original path? (I.e. could a path element there be a symlink into one of the restricted paths?) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
This particular VM is removed now (guest moved to nspawn container) but I find xml in host btrfs snapshots. ** Attachment added: "owncloud.xml" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1531703/+attachment/4595747/+files/owncloud.xml ** Changed in: libvirt (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531703] Re: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error
Thanks for reporting this bug. I can't reproduce it here: 0 ✓ serge@sl ~ $ virsh start docker Domain docker started 0 ✓ serge@sl ~ $ virsh save docker /mnt/docker.dmp Domain docker saved to /mnt/docker.dmp Same happened on a 15.10 host. Can you append your full xml? Normally the apparmor profile messages happen when there is a pathname which confuses virt-aa-helper or libvirt. ** Changed in: libvirt (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531703 Title: virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1531703/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs