Creating a new VM in virt-manager fails because of apparmor permissions
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| libvirt (Ubuntu) |
High
|
Unassigned | |||
Bug Description
When creating a new VM, it fails because of insufficient permissions. Adding permissions for /dev/shm/
[ +0,208881] audit: type=1400 audit(142702884
[ +0,000045] audit: type=1400 audit(142702884
I know literally nothing about apparmor, but I hope someone who does can look into this and fix it properly before release of 15.04. Please contact me if any more information is needed, I will be happy to help as much as I can.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: virt-manager 1:1.0.1-4ubuntu3
ProcVersionSign
Uname: Linux 3.19.0-9-generic x86_64
ApportVersion: 2.16.2-0ubuntu4
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Mar 22 14:00:40 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-03-08 (13 days ago)
InstallationMedia: Xubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitec
SourcePackage: virt-manager
UpgradeStatus: Upgraded to vivid on 2015-03-21 (0 days ago)
| Petter Adsen (ducasse) wrote : | #1 |
| affects: | virt-manager (Ubuntu) → libvirt (Ubuntu) |
| Harald Hetzner (haraldhetzner) wrote : | #3 |
It seems as if /etc/apparmor.
$ virsh -c lxc:/// start test
fails, resulting in the following dmesg:
[ 2207.856469] audit: type=1400 audit(142738280
[ 2207.856521] audit: type=1400 audit(142738280
[ 2208.101311] audit: type=1400 audit(142738280
[ 2208.123112] device vnet2 entered promiscuous mode
[ 2208.490910] virbr0: port 2(vnet2) entered disabled state
[ 2208.492774] device vnet2 left promiscuous mode
[ 2208.492789] virbr0: port 2(vnet2) entered disabled state
[ 2208.648131] audit: type=1400 audit(142738280
[ 2208.648223] audit: type=1400 audit(142738280
[ 2209.018989] audit: type=1400 audit(142738280
| Changed in libvirt (Ubuntu): | |
| importance: | Undecided → High |


Status changed to 'Confirmed' because the bug affects multiple users.