Re: [Lxc-users] Use lxc as root or not?

2012-01-18 Thread Stephen Eilert
On Tue, Jan 17, 2012 at 10:35 AM, allen allen303al...@gmail.com wrote:

 hi all:
I use lxc-0.7.4.1 on Ubuntu10.10-i686, when I use as a normal user
 the simplest way:

 -
 allen@allen-vm:/home$ lxc-create -n hq
 This command has to be run as root
 allen@allen-vm:/home$ sudo lxc-create -n hq
 'hq' created
 allen@allen-vm:/home$ lxc-start -n hq
 lxc-start: failed to clone(0x2c02): Operation not permitted
 lxc-start: Operation not permitted - failed to fork into a new namespace
 lxc-start: failed to spawn 'hq'
 lxc-start: No such file or directory - failed to remove cgroup '/cgroup/hq'
 lxc-start: failed to destroy name
 -

 Does that mean I must user lxc as a root user? Why is this necessary?
 Or how can I use lxc as a non-root user?

 Thanks in advance.


You could try libvirt too, with libvirtd.



-- Stephen

*Kids these days.*
*Whatever happened to hard work?*

   -- Joel Spolsky, The perils of javaschools
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] LXC and IPv6 Launch day (June 6th, 2012.)

2012-01-18 Thread Michael H. Warfield
On Wed, 2012-01-18 at 12:36 -0800, István Király - LaKing wrote:
 I know this is not the developer list, but I would like to know if we
 will reach a stabile LXC 1.0 by June 6th, when IPv6 should launch.

I don't understand the relationship (other than the numbers).  IPv6
works great for me with LXC (bridged adapters).  Couldn't get macvlan to
work but macvlan was borked along several vectors last time I tried it.
Something you're having problems with?

 And I really would like to get lxc working on fedora ... by then,
 maybe on F17?

Huh?  Working fine for me on F13, F14, and F15 (F15 and systemd are a
PITA but that's more the fact that systemd is a PITA).  Haven't tried
F16 yet.  F15 host works for me but F15 guest was a pain.  Suppose to be
working now but I've been too lazy to retest.  :-P

Can you be more specific about what you are looking for and what your
criterion is for working?

 Greetings from Hungary

Cool...  Was there in Budapest (mostly on Buda side of the river) years
ago.  Lovely, lovely.  Didn't get out in the countryside nearly as much
as I would have liked.  Cheers from the States!

 lak...@d250.hu
 D250 Laboratories
 www.D250.hu

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users