← Back to team overview

touch-packages team mailing list archive

[Bug 1531703] [NEW] virsh save doesn't work for vm with hdd image in non-default location, AppArmor-related error

 

Public bug reported:

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.

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: apparmor
   Importance: Undecided
       Status: New

** Project changed: apparmor => apparmor (Ubuntu)

-- 
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:
  New

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


Follow ups