On 9/13/05, Blaisorblade 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 best solution is to run: # echo "LD_ASSUME_KERNEL=2.4.1" >> etc/environment in the chroot. (See http://people.redhat.com/drepper/assumekernel.html) I found something in this thread: http://lists.debian.org/debian-user/2005/01/msg04226.html --------------------------------------- --- "Todd A. Jacobs" wrote: > On Fri, Jan 28, 2005 at 10:43:44PM -0500, kynn@panix.com wrote: > > Is the file /etc/environment _documented_ *anywhere*??? > > It's a highly non-standard, non-portable file that is source by PAM (and > possibly other applications) on a Debian system. 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. --------------------------------------- I did 2 equivalent tests 1) patching init/main.c to add the variable to the environment 2) using a wrapper to /sbin/init but it seems the environment is just discarded before running what is in inittab (I'm not sure, I should read the sources later). sysvinit should have a way to add a variable to the environment. Can it be done in intitab? With : cd /etc && grep "/etc/environment" * -RH 2>/dev/null Among others, I found pam.d/login # This module parses /etc/environment (the standard for setting # environ vars) and also allows you to use an extended config - Do they mean standard in Debian? BTW, - when is NPTL (not) supported in UML? I'm sending for your consideration a small patch for the FAQ (that may need some update. I'll do it as I learn more about this issue). Thanks, Nelson.- -- Homepage : http://geocities.com/arhuaco The first principle is that you must not fool yourself and you are the easiest person to fool. -- Richard Feynman.