Re: [Lxc-users] Can not write log, openpty() failed

2012-01-26 Thread christian mueller
Hi Serge,

 For now, I recommend you do it the old fashioned way:  either symlink or
 bind mount /home/chm/lxc to /var/lib/lxc:
 
   rm -rf /var/lib/lxc
   mkdir -p /home/chm/lxc
   ln -s /home/chm/lxc /var/lib/lxc
 
 Now just do
 
   lxc-create -f lxc.conf -n p1 -t ubuntu
 
 and the container will sit in your homedir.
 

this works - thank you.

Question: How long does it usually take until you get your prompt after 
executing lxc-create? Here is takes several minutes - fells like it takes 
longer than booting on physical hardware.

cheers

christian  

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

--
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] Can not write log, openpty() failed

2012-01-26 Thread Serge Hallyn
Quoting christian mueller (christian.muell...@gmx.de):
 Hi Serge,
 
  For now, I recommend you do it the old fashioned way:  either symlink or
  bind mount /home/chm/lxc to /var/lib/lxc:
  
  rm -rf /var/lib/lxc
  mkdir -p /home/chm/lxc
  ln -s /home/chm/lxc /var/lib/lxc
  
  Now just do
  
  lxc-create -f lxc.conf -n p1 -t ubuntu
  
  and the container will sit in your homedir.
  
 
 this works - thank you.
 
 Question: How long does it usually take until you get your prompt after 
 executing lxc-create? Here is takes several minutes - fells like it takes 
 longer than booting on physical hardware.

It should be fast - a few seconds.  If it takes longer, please file a
bug with 'ubuntu-bug lxc'.  Stephane suggested that when he has seen
slow boots it's been due to dhcp, in particular (one time) due to
virbr0 having stp on.

We'll likely have to either find the problem in your network setup,
or else switching to static network setup should work around it regardless.

-serge

--
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] Can not write log, openpty() failed

2012-01-26 Thread Stéphane Graber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 01/26/2012 10:08 AM, Serge Hallyn wrote:
 Quoting christian mueller (christian.muell...@gmx.de):
 Hi Serge,
 
 For now, I recommend you do it the old fashioned way:  either
 symlink or bind mount /home/chm/lxc to /var/lib/lxc:
 
 rm -rf /var/lib/lxc mkdir -p /home/chm/lxc ln -s /home/chm/lxc
 /var/lib/lxc
 
 Now just do
 
 lxc-create -f lxc.conf -n p1 -t ubuntu
 
 and the container will sit in your homedir.
 
 
 this works - thank you.
 
 Question: How long does it usually take until you get your prompt
 after executing lxc-create? Here is takes several minutes - fells
 like it takes longer than booting on physical hardware.
 
 It should be fast - a few seconds.  If it takes longer, please file
 a bug with 'ubuntu-bug lxc'.  Stephane suggested that when he has
 seen slow boots it's been due to dhcp, in particular (one time) due
 to virbr0 having stp on.
 
 We'll likely have to either find the problem in your network
 setup, or else switching to static network setup should work around
 it regardless.
 
 -serge

Right,

Can you post the result of brctl show?

- -- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJPIW+XAAoJEMY4l01keS1nVn8P/1U21/g/ZuTGhb35f2Tuc9Ze
CP4roTZcZn+aOZ+3BGiw6p5QYXthJYIi8FllHOwtjjMdG5XwHb+CO3GOGJ3udVXr
cT025oH2gQnyl1suL77NSfYUMUcsI8iPv1x71Sge12/VCorIsB639D3B3NOljh0J
ksT1VecbVKVq6nv6krYqut+PtMbeI21HVvAig/JuS5UmAWpVMd3WzavvAkeimOIk
Ft8Ij454JK3hyn+rWMmrweycsRYMG/Dc0D3KTbo/PCUunWApGe4JsxDoO0t1TtJY
bgUxFCgeSlWLau4DmjOMNPoE9GnfUt4zix7xUIdlCZhGZ4xQpy5jSwxzAohJW1gi
Dy9Q7JhbgMzYaM+1hzr5Xd24Zq7skKLg75w6Lms+edim1YbDuzIYPgt+1jK9+sMK
Uo3NLk4vPd/2Dr5mDjFlYRgu46xaT0vjkOPqGddmIyn3lMYPQQEF3ktWFLKRwM/X
quisVM6Uwcy0qpX497rhH83xId6u6WR1sYJEMR9Ig7Nz0vGfzu9TKYppYIVqpJB8
hO/diVcjhKrX3m71fyDVhFiEw9AaaN7NW4nyInKqgOiQ1rBvWiJD2Q5M4lpic8zA
UKZ/yn+Mp4eKJl9wBi8dEX5+N3gI7kM6TZQW7Iv2UrXoFyiO/HcNUs2m2kyFl6iG
AyDrMj4n1TlnYP/zrSw4
=5O87
-END PGP SIGNATURE-

--
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