[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-18 Thread Jamie Strandboge
Based on Thomas' assessment, should the title of this bug be adjusted and the apparmor tag removed? -- 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/632696 Title: libvirt won't start

Re: [Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-18 Thread Serge Hallyn
Quoting Jamie Strandboge (ja...@ubuntu.com): Based on Thomas' assessment, should the title of this bug be adjusted and the apparmor tag removed? Since disabling apparmor works around the problem, I don't think so. I'm going to have to install a maverick partition on a physical laptop to test

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-18 Thread Jamie Strandboge
Serge, but comment #25 by Thomas said he is having the problem even with AppArmor disabled... -- 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/632696 Title: libvirt won't start a VM

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-18 Thread Serge Hallyn
Jamie, sorry, I thought his latest comment mentioned that as a working workaround, but I must have seen it in the description. So yes, removing the tag seems good. ** Description changed: I get the error: Error starting domain: internal error Process exited while reading console log

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-17 Thread Thomas Schweikle
The only real fix is not to use lxc/kvm on one hardware in parallel. As long as you use *only* kvm/lxc you'll not see this error any more. This is because most lxc-tools do not use libvirtd for operations. At least with version 0.8.8-1ubuntu6.5 (available from the mainline repositories) some

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-16 Thread Serge Hallyn
@Thomas, could you tell us which testing ppa version of kvm fixes it? Do you knwo which upstream commit fixes it? We should be able to push this fix back into maverick. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-08-15 Thread Launchpad Bug Tracker
** Changed in: libvirt (Ubuntu Maverick) Status: New = Confirmed -- 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/632696 Title: libvirt won't start a VM with serial or console

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-04-28 Thread Thomas Schweikle
Looks like it is fixed with libvirt 0.8.8. Unfortunately this package is only available from a testing ppa -- 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/632696 Title: libvirt

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-01-28 Thread Thomas Schweikle
I see this error since today. Even stopping apparmor, then tearing down all profiles, trying to start a kvm host gives: root@vh01:~# service apparmor stop * Clearing AppArmor profiles cache [ OK ] All

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2011-01-14 Thread Cody A.W. Somerville
I've ran into this issue twice now today. I can be creating VMs just fine and then go to create another one and it fails with this error. Rebooting fixed the issue the first time and I was able to create VMs again like normal but then for seemingly no reason I started getting the error again. --

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-16 Thread Serge Hallyn
I've not been able to reproduce this since the ninth, so I'd like to mark it invalid. Jamie, is that ok with you? -- libvirt won't start a VM with serial or console when apparmor is enabled https://bugs.launchpad.net/bugs/632696 You received this bug notification because you are a member of

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-16 Thread Jamie Strandboge
I have never been able to reproduce. I've certainly known libvirt to right itself after a full reboot, so maybe something weird was going on. Feel free to re-open if you can reproduce. ** Changed in: libvirt (Ubuntu Maverick) Status: New = Invalid ** Changed in: libvirt (Ubuntu Maverick)

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-10 Thread Thierry Carrez
** Tags added: server-mrs -- libvirt won't start a VM with serial or console when apparmor is enabled https://bugs.launchpad.net/bugs/632696 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. -- Ubuntu-server-bugs

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-10 Thread Serge Hallyn
Fascinating, today the problem is back. -- libvirt won't start a VM with serial or console when apparmor is enabled https://bugs.launchpad.net/bugs/632696 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. --

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-10 Thread Serge Hallyn
I chowned and chmoded /srv/libvirt-storage-pool-1 to be se...@sergelap:~/ $ ls -ld /srv/libvirt-storage-pool-1/ drwxr-x--- 2 root kvm 4096 2010-09-03 09:45 /srv/libvirt-storage-pool-1/ and made sure to be in the kvm group, but this still did not suffice. The errors in the log are as usual: [

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-10 Thread Jamie Strandboge
We can create a child profile for pt_chown so only it would get cap_fowner. Can you try the following in /etc/apparmor.d/abstractions /libvirt-qemu: owner @{PROC}/[0-9]*/fd/ r, owner @{PROC}/[0-9]*/fd/3 r, /usr/lib/pt_chown cix - libvirt_pt_chown, profile libvirt_pt_chown {

Re: [Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-10 Thread Serge Hallyn
Quoting Jamie Strandboge (ja...@ubuntu.com): We can create a child profile for pt_chown so only it would get cap_fowner. Can you try the following in /etc/apparmor.d/abstractions /libvirt-qemu: owner @{PROC}/[0-9]*/fd/ r, owner @{PROC}/[0-9]*/fd/3 r, /usr/lib/pt_chown cix -

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-08 Thread Jamie Strandboge
I cannot reproduce with the m2.xml file using qemu:///system on the local machine. I used virt-manager to create the /srv/libvirt-storage- pool-1/maverick2.img image (but I had to 'chmod 750 /srv/libvirt- storage-pool-1 ; chgrp kvm /srv/libvirt-storage-pool-1' to make this work). Can you provide

Re: [Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-08 Thread Serge Hallyn
Quoting Jamie Strandboge (ja...@ubuntu.com): I cannot reproduce with the m2.xml file using qemu:///system on the local machine. I used virt-manager to create the /srv/libvirt-storage- pool-1/maverick2.img image (but I had to 'chmod 750 /srv/libvirt- storage-pool-1 ; chgrp kvm

Re: [Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-08 Thread Serge Hallyn
Quoting Jamie Strandboge (ja...@ubuntu.com): Serge, do you still have the following in your /etc/apparmor.d/abstractions/libvirt-qemu: /usr/lib/pt_chown ix, owner @{PROC}/[0-9]*/fd/ r, owner @{PROC}/[0-9]*/fd/3 r, Right, I pulled those out since they weren't working anyway. I didn't

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-07 Thread Jamie Strandboge
Can you attach your /etc/apparmor.d/abstractions/libvirt-qemu file? ** Summary changed: - libvirt won't start a VM when apparmor is enabled + libvirt won't start a VM with serial or console when apparmor is enabled -- libvirt won't start a VM with serial or console when apparmor is enabled

[Bug 632696] Re: libvirt won't start a VM with serial or console when apparmor is enabled

2010-09-07 Thread Serge Hallyn
** Attachment added: libvirt-qemu https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/632696/+attachment/1555814/+files/libvirt-qemu -- libvirt won't start a VM with serial or console when apparmor is enabled https://bugs.launchpad.net/bugs/632696 You received this bug notification