Bug#620608: uninitialized value in string eq at postinst:1280
Ben Hutchings hat am Mon 06. Jun, 09:45 (+0100) geschrieben: On Mon, 2011-06-06 at 01:48 +0200, Jörg Sommer wrote: Ben Hutchings hat am Sun 05. Jun, 20:37 (+0100) geschrieben: On Sat, 2011-05-28 at 17:23 +0200, Jörg Sommer wrote: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? I seem to have deleted it, but try this one: http://people.debian.org/~benh/packages/linux-base_3.3~test1_all.deb I'm attaching the changes so they're recorded on this bug and I won't lose them again. I've tried this package, but it didn't output anything special. I've tried the old package, too, but had no luck in reproducing the message. Because nobody else reported the same error, I think you should ignore it. Except you have an idea how to find the reason of this error. Well I can see a bug, I'm just not sure whether it's exactly the same as the bug you encountered. If I can assist you anyhow, tell me. Bye, Jörg. -- The future is here. It's just not widely distributed yet. (William Gibson) signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
On Fri, 2011-06-10 at 15:28 +0200, Jörg Sommer wrote: Ben Hutchings hat am Mon 06. Jun, 09:45 (+0100) geschrieben: On Mon, 2011-06-06 at 01:48 +0200, Jörg Sommer wrote: Ben Hutchings hat am Sun 05. Jun, 20:37 (+0100) geschrieben: On Sat, 2011-05-28 at 17:23 +0200, Jörg Sommer wrote: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? I seem to have deleted it, but try this one: http://people.debian.org/~benh/packages/linux-base_3.3~test1_all.deb I'm attaching the changes so they're recorded on this bug and I won't lose them again. I've tried this package, but it didn't output anything special. I've tried the old package, too, but had no luck in reproducing the message. Because nobody else reported the same error, I think you should ignore it. Except you have an idea how to find the reason of this error. Well I can see a bug, I'm just not sure whether it's exactly the same as the bug you encountered. If I can assist you anyhow, tell me. Thank you but I don't need further testing from you. Ben. -- Ben Hutchings For every action, there is an equal and opposite criticism. - Harrison signature.asc Description: This is a digitally signed message part
Bug#620608: uninitialized value in string eq at postinst:1280
Ben Hutchings hat am Sun 05. Jun, 20:37 (+0100) geschrieben: On Sat, 2011-05-28 at 17:23 +0200, Jörg Sommer wrote: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? I seem to have deleted it, but try this one: http://people.debian.org/~benh/packages/linux-base_3.3~test1_all.deb I'm attaching the changes so they're recorded on this bug and I won't lose them again. I've tried this package, but it didn't output anything special. I've tried the old package, too, but had no luck in reproducing the message. Because nobody else reported the same error, I think you should ignore it. Except you have an idea how to find the reason of this error. Bye, Jörg. -- “…anytime you install something new on the Windows platform, you risk spending the next five or six hours trying to figure out what happened” (Robert Roblin, Adobe) signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
On Mon, 2011-06-06 at 01:48 +0200, Jörg Sommer wrote: Ben Hutchings hat am Sun 05. Jun, 20:37 (+0100) geschrieben: On Sat, 2011-05-28 at 17:23 +0200, Jörg Sommer wrote: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? I seem to have deleted it, but try this one: http://people.debian.org/~benh/packages/linux-base_3.3~test1_all.deb I'm attaching the changes so they're recorded on this bug and I won't lose them again. I've tried this package, but it didn't output anything special. I've tried the old package, too, but had no luck in reproducing the message. Because nobody else reported the same error, I think you should ignore it. Except you have an idea how to find the reason of this error. Well I can see a bug, I'm just not sure whether it's exactly the same as the bug you encountered. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part
Bug#620608: uninitialized value in string eq at postinst:1280
On Sat, 2011-05-28 at 17:23 +0200, Jörg Sommer wrote: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? I seem to have deleted it, but try this one: http://people.debian.org/~benh/packages/linux-base_3.3~test1_all.deb I'm attaching the changes so they're recorded on this bug and I won't lose them again. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. Index: linux-base/debian/postinst === --- linux-base/debian/postinst (revision 17575) +++ linux-base/debian/postinst (working copy) @@ -1280,8 +1280,11 @@ # Sort each device's IDs in reverse lexical order so that UUIDs are # preferred. for my $bdev (keys(%bdev_map)) { - if ($bdev_map{$bdev}-{type} eq 'LVM2_member') { + if (!defined($bdev_map{$bdev}-{type})) { + print STDERR no type found for $bdev\n; @{$bdev_map{$bdev}-{ids}} = (); + } elsif ($bdev_map{$bdev}-{type} eq 'LVM2_member') { + @{$bdev_map{$bdev}-{ids}} = (); } else { @{$bdev_map{$bdev}-{ids}} = sort({$b cmp $a} Index: linux-base/debian/changelog === --- linux-base/debian/changelog (revision 17575) +++ linux-base/debian/changelog (working copy) @@ -1,3 +1,9 @@ +linux-base (3.3~test1) UNRELEASED; urgency=low + + * Report devices with missing information + + -- Ben Hutchings b...@decadent.org.uk Sun, 05 Jun 2011 20:24:27 +0100 + linux-base (3.3) UNRELEASED; urgency=low * debian/control: Fix VCS URLs (Closes: #620609) signature.asc Description: This is a digitally signed message part
Bug#620608: uninitialized value in string eq at postinst:1280
Hi Ben, I'm very sorry I didn't reponse to your mail for so long. Ben Hutchings hat am Sat 30. Apr, 20:47 (+0100) geschrieben: On Tue, 2011-04-26 at 08:47 +0200, Jörg Sommer wrote: 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: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb Can you reinstall this file? Bye, Jörg. -- Nicht was Du bist, ist es was Dich ehrt, wie Du bist bestimmt den Wert. Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel. signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
On Tue, 2011-04-26 at 08:47 +0200, Jörg Sommer wrote: 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: [...] Oh well, please try installing this package: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb (signature: http://people.debian.org/~benh/linux-base_3.2a~test_all.deb.sig ; source: http://people.debian.org/~benh/linux-base_3.2a~test.dsc ) and run 'dpkg --reconfigure linux-base'. It should print an error specifying which device is missing information. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part
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(); signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
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. # mdadm -E /dev/sda2 /dev/sda2: Magic : a92b4efc Version : 0.90.00 UUID : 2e95c5a4:d658a167:cf89181d:5e6e3dc4 Creation Time : Mon Jan 4 22:24:41 2010 Raid Level : raid1 Used Dev Size : 68380608 (65.21 GiB 70.02 GB) Array Size : 68380608 (65.21 GiB 70.02 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 1 Update Time : Mon Apr 25 23:25:53 2011 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Checksum : 79364718 - correct Events : 837534 Number Major Minor RaidDevice State this 0 820 active sync /dev/sda2 0 0 820 active sync /dev/sda2 1 1 8 341 active sync /dev/sdc2 Do you know which of the UUIDs should be equal? The devices are grouped as they belong together. # for i in sda1 sdc1 md0 sda2 sdc2 md1; do printf '%-4s: ' $i; blkid -o udev -s UUID /dev/$i G -v _ENC; done sda1: ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 sdc1: ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 md0 : ID_FS_UUID=366ac7f5-493d-4dc4-bf54-d761b477405c sda2: ID_FS_UUID=60342ce9-209a-4b60-97b5-7d9309751202 sdc2: ID_FS_UUID=2e95c5a4-d658-a167-cf89-181d5e6e3dc4 md1 : ID_FS_UUID=60342ce9-209a-4b60-97b5-7d9309751202 Bye, Jörg. -- Nutze die Talente, die du hast. Die Wälder wären sehr still, wenn nur die begabtesten Vögel sängen.(Henry van Dyke) signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
Hi Ben, sorry for the long delay. Ben Hutchings hat am Sun 03. Apr, 03:06 (+0100) geschrieben: On Sun, 2011-04-03 at 00:57 +0200, Jörg Sommer wrote: Package: linux-base Version: 3 Severity: minor Hi, during upgrade of linux-base on a testing system, I've got this message: Setting up linux-base (3) ... Use of uninitialized value in string eq at /var/lib/dpkg/info/linux-base.postinst line 1280, STDIN line 4. If you need more informations about the system, ask me. Please send the output of: /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 /dev/sdb ID_FS_LABEL=Backup ID_FS_LABEL_ENC=Backup ID_FS_UUID=b270e79f-bbbd-440d-94e9-762617510982 ID_FS_UUID_ENC=b270e79f-bbbd-440d-94e9-762617510982 ID_FS_TYPE=btrfs /dev/sdc1 ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 ID_FS_UUID_ENC=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 ID_FS_TYPE=linux_raid_member /dev/sdc2 ID_FS_UUID=2e95c5a4-d658-a167-cf89-181d5e6e3dc4 ID_FS_UUID_ENC=2e95c5a4-d658-a167-cf89-181d5e6e3dc4 ID_FS_TYPE=linux_raid_member /dev/md0 ID_FS_LABEL=Linux_Root ID_FS_LABEL_ENC=Linux_Root ID_FS_UUID=366ac7f5-493d-4dc4-bf54-d761b477405c ID_FS_UUID_ENC=366ac7f5-493d-4dc4-bf54-d761b477405c ID_FS_TYPE=ext4 /dev/sdd ID_FS_LABEL=File ID_FS_LABEL_ENC=File ID_FS_UUID=be255d34-e8a9-42fa-b299-e34bef4827f5 ID_FS_UUID_ENC=be255d34-e8a9-42fa-b299-e34bef4827f5 ID_FS_TYPE=ext4 /dev/md1 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 /dev/sde ID_FS_UUID=5f0d60a3-3e99-41eb-9be4-fb474f4ccd8d ID_FS_UUID_ENC=5f0d60a3-3e99-41eb-9be4-fb474f4ccd8d ID_FS_TYPE=crypto_LUKS Bye, Jörg. -- A red sign on the door of a physics professor: 'If this sign is blue, you're going too fast.' signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
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? The device name transition code recognises wildcards so that it can warn that they may need to be changed, but of course it cannot find any specific information about them. [...] Do you know which of the UUIDs should be equal? The devices are grouped as they belong together. I don't know, but I guess that the md-RAID label includes the UUID of the RAID set so that all members would have the same UUID. # for i in sda1 sdc1 md0 sda2 sdc2 md1; do printf '%-4s: ' $i; blkid -o udev -s UUID /dev/$i G -v _ENC; done sda1: ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 sdc1: ID_FS_UUID=a59a6be1-01ac-2c7a-12ab-c8dc8e4c3255 md0 : ID_FS_UUID=366ac7f5-493d-4dc4-bf54-d761b477405c sda2: ID_FS_UUID=60342ce9-209a-4b60-97b5-7d9309751202 sdc2: ID_FS_UUID=2e95c5a4-d658-a167-cf89-181d5e6e3dc4 md1 : ID_FS_UUID=60342ce9-209a-4b60-97b5-7d9309751202 So the anomaly is that for sda2 blkid shows the UUID of the filesystem on the RAID, not the UUID of the RAID set. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part
Bug#620608: uninitialized value in string eq at postinst:1280
Package: linux-base Version: 3 Severity: minor Hi, during upgrade of linux-base on a testing system, I've got this message: Setting up linux-base (3) ... Use of uninitialized value in string eq at /var/lib/dpkg/info/linux-base.postinst line 1280, STDIN line 4. If you need more informations about the system, ask me. Bye, Jörg signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Bug#620608: uninitialized value in string eq at postinst:1280
On Sun, 2011-04-03 at 00:57 +0200, Jörg Sommer wrote: Package: linux-base Version: 3 Severity: minor Hi, during upgrade of linux-base on a testing system, I've got this message: Setting up linux-base (3) ... Use of uninitialized value in string eq at /var/lib/dpkg/info/linux-base.postinst line 1280, STDIN line 4. If you need more informations about the system, ask me. Please send the output of: /sbin/blkid -o device | while read device; do echo $device: /sbin/blkid -o udev -s LABEL -s UUID -s TYPE $device done Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part