[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604638: initramfs-tools: still leaks environment



On Tue, Nov 23, 2010 at 11:07:10AM +0100, Rudy Gevaert wrote:
> 
> This is a similar problem that was reported in #505440.
> 
> The DEVICE variable is leaked into the environment.  The mdadm mkconf script uses DEVICE when it is installing its config file.
> 
> In my case DEVICE is set by initramfs-tools to eth0.
> 
> For now a patch(*) was written for mdadm, but it could be that other scripts use DEVICE.
> 
> * http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commitdiff;h=5c25378545bce50908de54946753b3fd63524724

can you please post a proove of that leak?
somewhere in the boot process:
 env >"$(mktemp -t foobar.env.XXXXXXXX)"

we don't export DEVICE variable anywhere, so I don't see how that leak
could be growing?

thank you

-- 
maks



Reply to: