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

Bug#614898: initramfs-tools: different punctuation in uuids in /etc/mdadm/mdadm.conf causes spurious error messages



Package: initramfs-tools
Version: 0.98.8
Severity: normal

When running update-initramfs, spurious error messages are generated when RAID volume UUIDs listed in /etc/mdadm/mdadm.conf
are not punctuated in a certain way, i.e., with colons after every 32 bits. Punctuation in a UUID is supposed to be a don't care,
and there are at least several different conventions, so it's easy to trigger a spurious error message.

All UUIDs should be converted to a canonical form before being compared.

-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 9.9M Feb 17 00:22 /boot/initrd.img-2.6.32-5-amd64
-rw-r--r-- 1 root root 5.8M Feb 17 00:35 /boot/initrd.img-2.6.37-flanders64
-rw-r--r-- 1 root root 5.9M Feb 23 19:19 /boot/initrd.img-2.6.37.1-flanders64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.37-flanders64 root=UUID=6113c8f4-4c87-41ca-aa9e-ace8c47c882d ro quiet

-- resume
RESUME=/dev/sda3
-- /proc/filesystems
	btrfs
	xfs
	fuseblk

-- lsmod
Module                  Size  Used by
acpi_cpufreq            5761  0 
mperf                   1147  1 acpi_cpufreq
cpufreq_userspace       2048  0 
cpufreq_stats           3841  0 
cpufreq_powersave        990  0 
cpufreq_ondemand        8739  2 
freq_table              2387  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative     8708  0 
nfsd                  290969  11 
lockd                  65551  1 nfsd
nfs_acl                 2359  1 nfsd
auth_rpcgss            40078  1 nfsd
sunrpc                192451  12 nfsd,lockd,nfs_acl,auth_rpcgss
binfmt_misc             6966  1 
uinput                  8081  1 
fuse                   63598  1 
ipv6                  288647  46 
i2c_dev                 6429  0 
i2c_core               19596  1 i2c_dev
smsc47b397              3623  0 
loop                   16782  0 
snd_hda_intel          21146  2 
snd_hda_codec          60785  1 snd_hda_intel
snd_pcm_oss            39075  0 
snd_mixer_oss          17355  2 snd_pcm_oss
snd_pcm                71507  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           1367  0 
8250_pnp                4620  0 
snd_seq_oss            27964  0 
snd_seq_midi            5136  0 
snd_rawmidi            18804  1 snd_seq_midi
snd_seq_midi_event      5436  2 snd_seq_oss,snd_seq_midi
snd_seq                48637  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
processor              24577  3 acpi_cpufreq
thermal_sys            13798  1 processor
snd_timer              19077  2 snd_pcm,snd_seq
snd_seq_device          5173  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
psmouse                37614  0 
evdev                   9150  5 
8250                   31013  1 8250_pnp
serial_core            18443  1 8250
pcspkr                  1819  0 
rtc_cmos                9054  0 
serio_raw               4432  0 
rtc_core               13285  1 rtc_cmos
tpm_tis                 7861  0 
rtc_lib                 1873  1 rtc_core
tpm                    11005  1 tpm_tis
tpm_bios                5473  1 tpm
hwmon                   1577  2 smsc47b397,thermal_sys
snd                    55698  12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               5999  2 snd
snd_page_alloc          7057  2 snd_hda_intel,snd_pcm
button                  4834  0 
xfs                   711505  2 
exportfs                3530  2 nfsd,xfs
raid1                  21115  1 
md_mod                 92893  2 raid1
usbhid                 35639  0 
hid                    78232  1 usbhid
dm_mirror              13034  0 
dm_region_hash          7296  1 dm_mirror
dm_log                  8904  2 dm_mirror,dm_region_hash
dm_mod                 65076  2 dm_mirror,dm_log
btrfs                 526234  0 
zlib_deflate           20050  1 btrfs
crc32c                  2728  1 
libcrc32c                970  1 btrfs
sg                     28414  0 
sd_mod                 34013  7 
sr_mod                 14339  0 
cdrom                  35284  1 sr_mod
crc_t10dif              1332  1 sd_mod
uhci_hcd               21548  0 
ahci                   20257  5 
libahci                18181  1 ahci
libata                168269  2 ahci,libahci
scsi_mod              168417  4 sg,sd_mod,sr_mod,libata
tg3                   125086  0 
floppy                 55850  0 
ehci_hcd               36885  0 
usbcore               132075  4 usbhid,uhci_hcd,ehci_hcd
nls_base                6769  1 usbcore
unix                   25283  917 

-- /etc/initramfs-tools/modules

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = 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 : [raid1] 
md0 : active raid1 sda4[0] sdb4[1]
      468854655 blocks super 1.2 [2/2] [UU]
      bitmap: 3/4 pages [12KB], 65536KB chunk

unused devices: <none>

-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:

/usr/share/initramfs-tools/hooks:
btrfs
busybox
dmraid
dmsetup
keymap
klibc
mdadm
thermal
udev


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-flanders64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                          2.11-7     GNU cpio -- a program to manage ar
ii  findutils                     4.4.2-1+b1 utilities for finding files--find,
ii  klibc-utils                   1.5.21-1   small utilities built with klibc f
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo
ii  udev                          166-1      /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.17.1-8 Tiny utilities for small and embed

Versions of packages initramfs-tools suggests:
pn  bash-completion               <none>     (no description available)

-- no debconf information



Reply to: