Closed miurahr closed 10 years ago
libvirt-bin: 1.2.2-0ubuntu3 qemu: 2.0.0~rc1+dfsg-0ubuntu3 kernel Linux tuna 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
audit log shows apparmor deny it.
Jun 8 09:26:13 tuna kernel: [33901.090187] type=1400 audit(1402187173.746:81): apparmor="DENIED" operation="open" profile="libvirt-7e96ebdc-d0cc-4c30-9112-64d5aa9955c0" name="/home/miurahr/.vagrant.d/boxes/trusty/0/kvm/box-disk1.img" pid=19976 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=118 ouid=118
Jun 8 09:26:13 tuna kernel: [33901.090212] type=1400 audit(1402187173.746:82): apparmor="DENIED" operation="open" profile="libvirt-7e96ebdc-d0cc-4c30-9112-64d5aa9955c0" name="/home/miurahr/.vagrant.d/boxes/trusty/0/kvm/box-disk1.img" pid=19976 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=118 ouid=118
Jun 8 09:26:13 tuna kernel: [33901.090251] type=1400 audit(1402187173.746:83): apparmor="DENIED" operation="open" profile="libvirt-7e96ebdc-d0cc-4c30-9112-64d5aa9955c0" name="/home/miurahr/.vagrant.d/boxes/trusty/0/kvm/box-disk1.img" pid=19976 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=118 ouid=118
work around https://github.com/adrahon/vagrant-kvm/#ubuntu solve problem. This may not be vagrant-kvm bug but Ubuntu/Mint bug.
change title and close.
changelog of ubuntu kernel shows revert of apparmor fix.
linux (3.13.0-21.43) trusty; urgency=low
[ John Johansen ]
* Revert "SAUCE: Add config option to disable new apparmor 3 semantics"
* Revert "SAUCE: apparmor: fix uninitialized lsm_audit membe"
* Revert "SAUCE: (no-up) apparmor: Fix tasks not subject to, reloaded
policy"
* Revert "SAUCE: apparmor: allocate path lookup buffers during init"
* Revert "SAUCE: apparmor: fix unix domain sockets to be mediated on
connection"
* Revert "SAUCE: (no-up) apparmor: Sync to apparmor 3 - alpha 4 snapshot"
* SAUCE: (no-up) apparmor: Sync to apparmor3 - alpha6 snapshot
- LP: #1298611
caused by https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1298611
This is a regression of kernel.
https://bugs.launchpad.net/linux/+bug/1327687 reported to Ubuntu BTS.
I changed title again to clarify a problem.
It works with recent update of linux-image-3.13.0-24-generic and libvirt-bin from trusty-update repository.
Before start, I have a trusty box. I've installed vagrant 1.4.3, vagrant-kvm 0.1.7. then update vagrant 1.6.1 and vagrant-kvm 0.2.0dev(master/HEAD 2014.6.8).
Working on Linux Mint 17(quina). (Ubuntu Trusty 14.04 based)