[Bug 1078530] Re: upstart job fails to start under lxc

2013-01-29 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu Precise) Status: Fix Released => Triaged ** Changed in: qemu-kvm (Ubuntu Precise) Assignee: (unassigned) => Serge Hallyn (serge-hallyn) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kv

[Bug 1078530] Re: upstart job fails to start under lxc

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.2.0+noroms- 0ubuntu2.12.10.1 --- qemu-kvm (1.2.0+noroms-0ubuntu2.12.10.1) quantal-proposed; urgency=low [ Serge Hallyn ] * debian/qemu-kvm.postinst: use udevadm trigger to change /dev/kvm perms as recommended by Steve Langasek (LP

[Bug 1078530] Re: upstart job fails to start under lxc

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.0+noroms-0ubuntu14.6 --- qemu-kvm (1.0+noroms-0ubuntu14.6) precise-proposed; urgency=low * Fix qemu-kvm.upstart: just don't run in a container. Otherwise we'll still try to load/unload kernel modules. Also undo the || true after

[Bug 1078530] Re: upstart job fails to start under lxc

2013-01-02 Thread Serge Hallyn
Verified in precise - I installed qemu-kvm in a precise container on a precise host (which had qemu-kvm installed, so the kernel module was loaded). Package installation succeeded, as does 'sudo stop qemu-kvm; sudo start qemu-kvm' ** Tags removed: verification-needed ** Tags added: verification-d

Re: [Bug 1078530] Re: upstart job fails to start under lxc

2012-12-20 Thread Robert Collins
On Fri, Dec 21, 2012 at 9:20 AM, Serge Hallyn <1078...@bugs.launchpad.net> wrote: > @lifeless, > > the upstart job is only responsible for setting up the kvm kernel module > and related kernel settings. With my new proposed change, the upstart > job would detect it's in a container and consider it

[Bug 1078530] Re: upstart job fails to start under lxc

2012-12-20 Thread Serge Hallyn
@lifeless, the upstart job is only responsible for setting up the kvm kernel module and related kernel settings. With my new proposed change, the upstart job would detect it's in a container and consider itself done. In reality, for quantal the modprobes and rmmods were already doing '|| true'.

Re: [Bug 1078530] Re: upstart job fails to start under lxc

2012-12-20 Thread Robert Collins
Well, its hard to run the openstack test suite in a container *without* qemu-kvm, because python-libvirt depends on libvirt depends on qemu-kvm. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.

[Bug 1078530] Re: upstart job fails to start under lxc

2012-12-20 Thread Serge Hallyn
Verified in quantal, where the upstart job also does ||true when modprobe and rmmod fail. However, not running in a container at all would be safer. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launc

[Bug 1078530] Re: upstart job fails to start under lxc

2012-12-20 Thread Serge Hallyn
This bug is not fully solved by this version, because the init job still tries to load and unload kvm modules. The qemu-kvm job should detect that it is running in a container and gracefully exit. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subs

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-15 Thread Adam Conrad
Hello Robert, or anyone else affected, Accepted qemu-kvm into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/qemu-kvm/1.0+noroms- 0ubuntu14.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. Se

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-15 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu Precise) Status: Triaged => In Progress ** Changed in: qemu-kvm (Ubuntu Quantal) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://b

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-15 Thread Serge Hallyn
Regarding this being a bug in lxc as well, the failure to write under /sys is deliberately enforced by the apparmor policy. It can be worked around by using another apparmor profile (or none, as commented in the configuration file), but is not recommended - containers should not change kernel se

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-14 Thread Launchpad Bug Tracker
This bug was fixed in the package qemu-kvm - 1.2.0+noroms-0ubuntu4 --- qemu-kvm (1.2.0+noroms-0ubuntu4) raring; urgency=low [ Serge Hallyn ] * debian/qemu-kvm.postinst: use udevadm trigger to change /dev/kvm perms as recommended by Steve Langasek (LP: #1057024) * apply debia

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-14 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu) Assignee: (unassigned) => Serge Hallyn (serge-hallyn) ** Changed in: qemu-kvm (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. http

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-14 Thread Serge Hallyn
Thanks for submitting this bug. ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided => Medium ** Changed in: qemu-kvm (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. htt

[Bug 1078530] Re: upstart job fails to start under lxc

2012-11-13 Thread Robert Collins
http://paste.ubuntu.com/1356944/ has a debdiff of the (trivial) fix, adjusted to not version conflict with my nbd patch. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1078530 Title: