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

Stéphane Graber stgraber at ubuntu.com
Thu Jan 26 15:22:04 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 01/26/2012 10:08 AM, Serge Hallyn wrote:
> Quoting christian mueller (christian.mueller7 at 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-----




More information about the lxc-users mailing list