On 9/16/05, Nelson Castillo wrote: > On 9/13/05, Blaisorblade 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 tried with the patched init/main.c and: inittab: 1:2345:respawn:/usr/bin/env LD_ASSUME_KERNEL=2.4.1 /sbin/getty 38400 tty1 (w/o the LD_ASSUME_KERNEL=2.4.1 the entry in /etc/environment). And it dies just after I log in, but I don't get a panic, just another password prompt. So I guess it's bash who is not taking the environment that /sbin/init sets... And that's why things work when I set the variable in "/etc/environment" (and also send a modified environment to /sbin/init .... with LD_ASSUME_KERNEL=2.4.1. You must do both, I said that setting /etc/environment was enough in my previous email and I was quite wrong. Sorry). Regards. -- 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.