[uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Nelson Castillo
On 9/13/05, Blaisorblade [EMAIL PROTECTED] wrote: (cut) What should I try? Do I need a patch? mv /lib/tls /lib/tls.away, after loop-mounting the filesystem on the host , or booting with init=/bin/bash (not sure the second will work). I did some tests. I just found out that In Debian the

[uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Nelson Castillo
On 9/16/05, Nelson Castillo [EMAIL PROTECTED] wrote: On 9/13/05, Blaisorblade [EMAIL PROTECTED] wrote: sysvinit should have a way to add a variable to the environment. Can it be done in intitab? I just fixed the patch for the FAQ. It's much simpler (and correct, I hope) now. - I

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Blaisorblade
On Friday 16 September 2005 13:23, Nelson Castillo wrote: On 9/13/05, Blaisorblade [EMAIL PROTECTED] wrote: (cut) That is as maybe, but /etc/environment is the only shell-agnostic file there is, and where it can be used, it certainly serves a good purpose.

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Rob Landley
On Friday 16 September 2005 08:01, Nelson Castillo wrote: On 9/16/05, Nelson Castillo [EMAIL PROTECTED] wrote: On 9/13/05, Blaisorblade [EMAIL PROTECTED] wrote: sysvinit should have a way to add a variable to the environment. Can it be done in intitab? I just fixed the patch for the FAQ.

Re: [uml-devel] Re: [uml-user] 2.6.13 / cannot set up LDT for thread-local storage

2005-09-16 Thread Henrik Nordstrom
On Fri, 16 Sep 2005, Nelson Castillo wrote: 1) patching init/main.c to add the variable to the environment 2) using a wrapper to /sbin/init Better to just add the variable to the kernel command line.. any XX=something string on the command line is set as environment variables to init.