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
Touch seeded packages, which is subscribed to apparmor in 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

Status in apparmor package in Ubuntu:
  New
Status in libvirt package in Ubuntu:
  Incomplete

Bug description:
  virsh save does work for vm located in /var/lib/libvirt/images, but doesn't 
work for vm located for example in /mnt/storage/data/limages
  Error message:
  ~$ LANG=C virsh save owncloud /mnt/storage/data/images/owncloud.dump
  error: Failed to save domain owncloud to 
/mnt/storage/data/images/owncloud.dump
  error: внутренняя ошибка: не удалось обновить профиль AppArmor 
«libvirt-b9f02241-f8a7-4c11-86de-5eccbdff6511»

  Translation:
  error: internal error: unable to update AppArmor profile  
«libvirt-b9f02241-f8a7-4c11-86de-5eccbdff6511»

  I tried to dumpxml and then define it again from xml, but that doesn't help.
  Ubuntu Server 15.10.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to