[Bug 457716] [NEW] apparmor denies save and restore

Jamie Strandboge jamie at ubuntu.com
Thu Oct 22 00:04:41 BST 2009


Public bug reported:

The following no longer work:
$ virsh save <vm name> <state file>
$ virsh restart <state file>

The following fixes the problem, at least for saving somewhere in $HOME:
  # for save and resume
  #include <abstractions/private-files-strict>
  /bin/dash rmix,
  /bin/dd rmix,
  /bin/cat rmix,
  # 'owner' makes sure we don't overwrite the user's files (ie, if the file
  # exists, it must be owned by 'root')
  owner @{HOME}/ r,
  owner @{HOME}/** rw,

ProblemType: Bug
Architecture: amd64
Date: Wed Oct 21 18:00:31 2009
DistroRelease: Ubuntu 9.10
Package: libvirt-bin 0.7.0-1ubuntu12
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: libvirt
Uname: Linux 2.6.31-14-generic x86_64

** Affects: libvirt (Ubuntu)
     Importance: High
     Assignee: Jamie Strandboge (jdstrand)
         Status: Triaged


** Tags: amd64 apport-bug

-- 
apparmor denies save and restore
https://bugs.launchpad.net/bugs/457716
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list