<br><div class="gmail_quote">On Tue, Jan 17, 2012 at 10:35 AM, allen <span dir="ltr"><<a href="mailto:allen303allen@gmail.com">allen303allen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi all:<br>
I use lxc-0.7.4.1 on Ubuntu10.10-i686, when I use as a normal user<br>
the simplest way:<br>
<br>
-------------------------<br>
allen@allen-vm:/home$ lxc-create -n hq<br>
This command has to be run as root<br>
allen@allen-vm:/home$ sudo lxc-create -n hq<br>
'hq' created<br>
allen@allen-vm:/home$ lxc-start -n hq<br>
lxc-start: failed to clone(0x2c020000): Operation not permitted<br>
lxc-start: Operation not permitted - failed to fork into a new namespace<br>
lxc-start: failed to spawn 'hq'<br>
lxc-start: No such file or directory - failed to remove cgroup '/cgroup/hq'<br>
lxc-start: failed to destroy name<br>
-------------------------<br>
<br>
Does that mean I must user lxc as a root user? Why is this necessary?<br>
Or how can I use lxc as a non-root user?<br>
<br>
Thanks in advance.<br></blockquote><div><br></div><div>You could try libvirt too, with libvirtd.</div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br class="Apple-interchange-newline">
<br></div>-- Stephen<div><br><div><i>"Kids these days.</i></div><div><i>Whatever happened to hard work?"</i></div><div><br></div><div> -- Joel Spolsky, The perils of javaschools</div></div><div> </div></div>