[Bug 1342083] [NEW] "Failed to create chardev" due to apparmor DENIED execute of "/usr/lib/pt_chown"
TJ
ubuntu at iam.tj
Tue Jul 15 12:08:34 UTC 2014
Public bug reported:
On 14.04 x86_64 a default QEMU VM fails to start (even before the
install from ISO image stage) with:
2014-07-15 12:02:56.278+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm-spice -name Test -S -machine pc-i440fx-trusty,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 7c06d584-db97-454c-c19d-a759f92b9572 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Test.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-reboot -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/Test.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=2 -drive file=/home/all/VirtualMachines/iso/ubuntu-14.04-server-amd64.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=26 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:ca:81,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
qemu-system-x86_64: -chardev pty,id=charserial0: Failed to create chardev
2014-07-15 12:02:56.494+0000: shutting down
With the kernel log showing:
Jul 15 13:02:56 hephaestion kernel: [48357.666272] audit: type=1400 audit(1405425776.174:72): apparmor="STATUS" operation="profile_load" name="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" pid=22796 comm="apparmor_parser"
Jul 15 13:02:56 hephaestion kernel: [48357.744454] device vnet0 entered promiscuous mode
Jul 15 13:02:56 hephaestion kernel: [48357.752492] virbr0: port 1(vnet0) entered listening state
Jul 15 13:02:56 hephaestion kernel: [48357.752517] virbr0: port 1(vnet0) entered listening state
Jul 15 13:02:56 hephaestion kernel: [48357.811719] audit: type=1400 audit(1405425776.318:73): apparmor="DENIED" operation="open" profile="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" name="/proc/22815/fd/" pid=22815 comm="qemu-system-x86" requested_mask="r" denied_mask="r" fsuid=121 ouid=121
Jul 15 13:02:56 hephaestion kernel: [48357.811758] audit: type=1400 audit(1405425776.318:74): apparmor="DENIED" operation="exec" profile="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" name="/usr/lib/pt_chown" pid=22815 comm="qemu-system-x86" requested_mask="x" denied_mask="x" fsuid=121 ouid=0
Jul 15 13:02:56 hephaestion kernel: [48357.815363] virbr0: port 1(vnet0) entered disabled state
Jul 15 13:02:56 hephaestion kernel: [48357.816733] device vnet0 left promiscuous mode
Jul 15 13:02:56 hephaestion kernel: [48357.816754] virbr0: port 1(vnet0) entered disabled state
Jul 15 13:02:56 hephaestion kernel: [48358.195004] audit: type=1400 audit(1405425776.702:75): apparmor="STATUS" operation="profile_remove" name="libvirt-7c06d584-db97-454c-c19d-a759f92b9572" pid=22824 comm="apparmor_parser"
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1342083
Title:
"Failed to create chardev" due to apparmor DENIED execute of
"/usr/lib/pt_chown"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1342083/+subscriptions
More information about the Ubuntu-server-bugs
mailing list