[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
This bug was fixed in the package qemu - 2.0.0+dfsg-2ubuntu1.8 --- qemu (2.0.0+dfsg-2ubuntu1.8) trusty-proposed; urgency=medium * debian/qemu-system-x86.qemu-kvm.upstart: create /dev/kvm in a container. (LP: #1370199) * Cherrypick upstream patch to fix intermittent qemu-img corruption (LP: #1368815) - 501-block-raw-posix-fix-disk-corruption-in-try-fiemap - (note - 502-block-raw-posic-use-seek-hole-ahead-of-fiemap (which was also needed in utopic) appears to be unneeded here as the code being changed has not yet been switched to using try_fiemap) -- Serge HallynThu, 20 Nov 2014 11:24:51 -0600 ** Changed in: qemu (Ubuntu Trusty) Status: Fix Committed => Fix Released -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
I don't think the fix is adequate since it requires an extra manual step, rather, I think the packaging should (if possible) trigger the upstart job to stop and then start again... Otherwise, anyone upgrading this (or installing it on top of a system with qemu-kvm already installed in a container) won't actually see /dev/kvm created in the container. -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
** Tags removed: verification-needed ** Tags added: verification-done -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
With the updated 2.0.0+dfsg-2ubuntu1.8 package in trusty/proposed, the test-case still fails as written. After upgrading qemu-kvm, qemu-system-common qemu-system-x86 from trusty/proposed, no /dev/kvm exists even though /etc/init/qemu-kvm.conf includes the updated script to write it out. This is because the qemu- kvm upstart job is running. To get the updated conf to run, one must also run: sudo stop qemu-kvm; sudo start qemu-kvm After running the above command with the new package, the contain does have a /dev/kvm entry. -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
Hello Ryan, or anyone else affected, Accepted qemu into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/qemu/2.0.0+dfsg- 2ubuntu1.8 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: qemu (Ubuntu Trusty) Status: New => Fix Committed ** Tags added: verification-needed -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
there is nothing left to sponsor, unsubscribing ubuntu-sponsors -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
** Description changed: I have a host with kvm loaded and after creating a container and installing the qemu package, /dev/kvm doesn't exist. If I create it manually qemu runs fine. The upstart job should detect that it's in a container and create /dev/kvm for use. + + + Impact: /dev/kvm does not exist in containers after installing qemu-kvm + Test case: + sudo lxc-create -t download -n t1 -- -d ubuntu -r trusty -a amd64 + sudo lxc-start -n t1 -d + sudo lxc-attach -n t1 -- apt-get update + sudo lxc-attach -n t1 -- apt-get -y install qemu-kvm + sudo lxc-attach -n t1 -- ls -l /dev/kvm + Regression potential: This can only be fixed for privileged containers on the real host, where root in the container can in fact create /dev/kvm. In that case there should be no regresison as we simply create the needed device. In the other case, package install should not fail since we do '|| true' to ignore failure. + -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
** Also affects: qemu (Ubuntu Trusty) Importance: Undecided Status: New -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
This bug was fixed in the package qemu - 2.1+dfsg-4ubuntu4 --- qemu (2.1+dfsg-4ubuntu4) utopic; urgency=medium * debian/qemu-system-x86.qemu-kvm.upstart: create /dev/kvm in a container. (LP: #1370199) * load kvm module on ppc64le at boot (LP: #1369785) - debian/rules: install qemu-kvm on ppc64el - add debian/qemu-system-ppc.qemu-kvm.{upstart,default} to autoload the kvm-hv module if available * qemu-system-x86.maintscript: remove accidentally installed /etc/init.d/qemu-system-x86 (from 2.0.0+dfsg-6ubuntu1 and a few earlier) * rename qemu-system-x86 init script to qemu-kvm so it gets installed in ubuntu. -- Serge HallynWed, 17 Sep 2014 14:20:12 -0500 ** Changed in: qemu (Ubuntu) Status: In Progress => Fix Released -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
** Changed in: qemu (Ubuntu) Importance: Undecided => High ** Changed in: qemu (Ubuntu) Status: New => In Progress ** Changed in: qemu (Ubuntu) Assignee: (unassigned) => Ryan Harper (raharper) -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1370199] Re: qemu upstart job should create /dev/kvm in a container
The attachment "proposed patch from Serge" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- 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/1370199 Title: qemu upstart job should create /dev/kvm in a container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1370199/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs