Package: fai-client Version: 3.4.7 Severity: important Tags: patch *** Please type your report below this line *** When the /dev/disk/by-id directory contains files with a '.' character, these files are skipped. Even when they are perfectly valid like: ata-SanDisk_SSD_SATA_5000_2.5_93102300257-part5 The code intents to skip '.' and '..', but the expression is not anchored. The following patch will fix this: leo@ontjuliet1:blup$] diff -u usr/bin/device2grub.org usr/bin/device2grub --- usr/bin/device2grub.org 2012-10-01 14:04:33.000000000 +0200 +++ usr/bin/device2grub 2012-10-01 14:04:40.000000000 +0200 @@ -29,7 +29,7 @@ } else { opendir (my $dh, $devbyid) || die "Can't open /dev/disk/by-id\n"; while (my $diskid = readdir $dh) { - next if ($diskid =~ /[.].*/); + next if ($diskid =~ /^[.].*/);
$diskid = $devbyid . "/" . $diskid; -- System Information: Debian Release: 6.0.5 Architecture: i386 (i686) Kernel: Linux 2.6.39-bpo.2-686-pae (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages fai-client depends on: ii file 5.04-5+squeeze2 Determines file type using "magic" ii iproute 20100519-3 networking and traffic control too ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction Versions of packages fai-client recommends: pn cfengine2 <none> (no description available) ii debconf-utils 1.5.36.1 debconf utilities fai-client suggests no packages. -- Configuration Files: /etc/fai/fai.conf changed [not included] -- no debconf information