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

Bug#620608: uninitialized value in string eq at postinst:1280



Ben Hutchings hat am Tue 26. Apr, 04:47 (+0100) geschrieben:
> On Mon, 2011-04-25 at 23:35 +0200, Jörg Sommer wrote:
> > Jörg Sommer hat am Mon 25. Apr, 23:21 (+0200) geschrieben:
> > > Ben Hutchings hat am Sun 03. Apr, 03:06 (+0100) geschrieben:
> > > >     /sbin/blkid -o device | while read device; do
> > > >         echo "$device:"
> > > >         /sbin/blkid -o udev -s LABEL -s UUID -s TYPE "$device"
> > > >     done
> > > 
> > > /dev/sda1
> > > ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255
> > > ID_FS_UUID_ENC=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255
> > > ID_FS_LABEL=_grml_:0
> > > ID_FS_LABEL_ENC=\x27grml\x27:0
> > > ID_FS_TYPE=linux_raid_member
> > > /dev/sda2
> > > ID_FS_LABEL=Linux_Var
> > > ID_FS_LABEL_ENC=Linux_Var
> > > ID_FS_UUID=60342ce9-209a-4b60-97b5-7d9309751202
> > > ID_FS_UUID_ENC=60342ce9-209a-4b60-97b5-7d9309751202
> > > ID_FS_TYPE=ext4
> > 
> > That's strange. sda2 is a RAID member. I don't know why blkid thinks it's
> > a standalone filesystem.
> 
> Yes, that's weird.
> 
> But now that I look over the code again, I think the bug you found is
> not related to this information.  Does the /etc/mdadm.conf file on this
> system use a device name wildcard?

No. That's the contents:

cat /etc/mdadm/mdadm.conf 
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST jupiter

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=a59a6be1:01ac2c7a:12abc8dc:8e4c3255
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=2e95c5a4:d658a167:cf89181d:5e6e3dc4

# This file was auto-generated on Mon, 04 Jan 2010 22:46:50 +0100
# by mkconf $Id$

Schöne Grüße, Jörg.
-- 
A valid expression in Java: x = new A().new B();

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP


Reply to: