<div dir="ltr"><div><div>Hi everyone,<br><br></div>I followed the instructions here to create ubuntu lxc containers. <br><br><a href="https://help.ubuntu.com/12.04/serverguide/lxc.html#lxc-admin">https://help.ubuntu.com/12.04/serverguide/lxc.html#lxc-admin</a><br>

<br></div>I then copied the rootfs to /var/lib/libvirt/images/precise and booted it as an "operating system container" through virt-manager. Here are the incidents.<br><ul><li>It immediately showed on console "init: unable to create /dev/kmsg" but after a while it booted.</li>

<li>I had modified the image to allow static password for user ubuntu and I logged in. But to my surprise I wasn't able to use sudo. The error was "sudo: setuid is not set"</li></ul><p>I've tried this image on lxc and it works like a charm. But there seems to be some issue with libvirt. Some help would be greatly appreciated.<br clear="all">

</p><div><div><div><div>--<br>Shashank Sahni<br></div>
</div></div></div></div>