[Bug 1554031] Re: error: internal error: unable to execute QEMU command ‘block-commit’: Could not reopen file: Permission denied

Jignasha jignasha.vithalani at triliodata.com
Tue Mar 8 07:24:44 UTC 2016


PFB outputs

$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

$ ls -l /etc/apt/sources.list.d
total 4
-rw-r--r-- 1 root root 78 Feb 23 05:51 cloudarchive-kilo.list

$ cat /etc/apt/sources.list.d/*
deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/kilo main

$ dpkg -l | egrep -e '(libvirt|qemu)'
ii  ipxe-qemu                           1.0.0+git-20131111.c3d1e78-2ubuntu1.1 all          PXE boot firmware - ROM images for qemu
ii  libvirt-bin                         1.2.12-0ubuntu14.2~cloud0             amd64        programs for the libvirt library
ii  libvirt0                            1.2.12-0ubuntu14.2~cloud0             amd64        library for interfacing with different virtualization systems
ii  nova-compute-libvirt                1:2015.1.2-0ubuntu2~cloud0            all          OpenStack Compute - compute node libvirt support
ii  python-libvirt                      1.2.2-0ubuntu2                        amd64        libvirt Python bindings
ii  qemu                                1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        fast processor emulator
ii  qemu-slof                           20140630+dfsg-1ubuntu1~14.04          all          Slimline Open Firmware -- QEMU PowerPC version
ii  qemu-system                         1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries
ii  qemu-system-arm                     1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (arm)
ii  qemu-system-common                  1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-mips                    1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (mips)
ii  qemu-system-misc                    1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (miscelaneous)
ii  qemu-system-ppc                     1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (ppc)
ii  qemu-system-sparc                   1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (sparc)
ii  qemu-system-x86                     1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU full system emulation binaries (x86)
ii  qemu-user                           1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU user mode emulation binaries
ii  qemu-user-binfmt                    1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU user mode binfmt registration for qemu-user
ii  qemu-utils                          1:2.2+dfsg-5expubuntu9.6~cloud0       amd64        QEMU utilities


Getting below DENIED stat in syslog

Mar  7 07:41:19 ubuntu-kilo kernel: [604860.586630] audit: type=1400 audit(1457354479.040:171): apparmor="DENIED" operation="open" profile="libvirt-4aba5887-882f-494f-ae4b-26e2bdc8a25a" name="/sys/devices/system/node/" pid=22024 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0
Mar  7 07:41:19 ubuntu-kilo kernel: [604860.586652] audit: type=1400 audit(1457354479.040:172): apparmor="DENIED" operation="open" profile="libvirt-4aba5887-882f-494f-ae4b-26e2bdc8a25a" name="/sys/devices/system/cpu/" pid=22024 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=106 ouid=0

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1554031

Title:
  error: internal error: unable to execute QEMU command ‘block-commit’:
  Could not reopen file: Permission denied

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



More information about the Ubuntu-server-bugs mailing list