Your message dated Wed, 23 Feb 2011 15:27:40 +0100
with message-id <20110223142739.ga11...@stro.at>
and subject line Re: Bug#604638: initramfs-tools: still leaks environment
has caused the Debian Bug report #604638,
regarding initramfs-tools: still leaks environment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
604638: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604638
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.98.4
Severity: normal
Hi,
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
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 9.5M Oct 20 15:16 /boot/initrd.img-2.6.32-5-amd64
-- /proc/cmdline
root=/dev/xvda1 ro
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
dm_mirror 21120 0
dm_log 14212 1 dm_mirror
dm_snapshot 19400 0
dm_mod 59248 3 dm_mirror,dm_log,dm_snapshot
raid10 24192 0
raid456 127520 0
async_xor 8448 1 raid456
async_memcpy 6912 1 raid456
async_tx 11764 3 raid456,async_xor,async_memcpy
xor 10384 2 raid456,async_xor
raid1 24832 0
raid0 10624 0
multipath 11392 0
linear 8960 0
md_mod 81700 6 raid10,raid456,raid1,raid0,multipath,linear
thermal_sys 17728 0
nfs 257712 0
lockd 69200 1 nfs
nfs_acl 7552 1 nfs
sunrpc 200424 5 nfs,lockd,nfs_acl
ext3 125456 1
jbd 54696 1 ext3
mbcache 13188 1 ext3
-- /etc/initramfs-tools/modules
scsi_dh_rdac
-- /etc/kernel-img.conf
do_symlinks = Yes
do_initrd = Yes
silent_modules=yes
clobber_modules=yes
do_boot_enable=no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4]
[raid10]
unused devices: <none>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
keymap
klibc
lvm2
mdadm
thermal
udev
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=locale: Cannot set
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.20-1 small utilities built with klibc f
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 160-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
pn busybox | busybox-initramfs <none> (no description available)
Versions of packages initramfs-tools suggests:
pn bash-completion <none> (no description available)
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
--- End Message ---
--- Begin Message ---
On Tue, 23 Nov 2010, maximilian attems wrote:
> 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?
closing as no follow-up nor second reporter since initial report.
if you can still reproduce shout and show how so that it can be
worked on.
thank your for the feedback.
sunny greetings.
--
maks
--- End Message ---