[BusyBox] bug#1135: init.c bug merging environment
Erik Andersen
andersen at lineo.com
Tue Apr 3 18:11:20 UTC 2001
On Fri Mar 16, 2001 at 01:06:55AM +0100, Andreas Neuhaus wrote:
> Package: busybox
> Version: cvs
> Severity: normal
>
> init.c tries to merge the existing environment (usually only TERM=linux when
> booting a plain kernel) with the new settings (HOME,PATH,SHELL,USER). in
> case you use linuxrc, there are already other environment settings added
> (like PATH) which init.c isn't aware of. this results in a duplicate entry
> for PATH in my case.
>
> here's a patch for init.c that merges the two enviroments correctly. this
> will create the child environment and only add settings that init don't
> sets itself.
I applied this fix a while back, but forgot to close this bug.
Closing it now. Thanks,
-Erik
--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list