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

Bug#612303: [os-prober] false-positive initramdisk found

Package: os-prober
Version: 1.42
Severity: important

--- Please enter the report below this line. ---


when running os-prober (more specifically the script: 90fallback), it finds a 
non-existant initrd.

In /usr/lib/linux-boot-probes/mounted/90fallback:

If there is no initrd the variable initrdname is set to $kernfile and this will 
be reported as initrd.

This could be fixed in setting initrdname like this:
initrdname=$(echo "$kernfile" | sed "s/vmlinu[zx]/initrd\*/;t quit;s/.*//;:quit 

If sed did no substitution an empty string is returned.

Best regards,
Oliver Groß

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.37

Debian Release: 6.0
  990 testing         www.debian-multimedia.org 
  990 testing         security.debian.org 
  990 testing         ftp2.de.debian.org 
  500 stbuehler       debian.stbuehler.de 
  404 unstable        www.debian-multimedia.org 
  404 unstable        ftp2.de.debian.org 
  403 experimental    www.debian-multimedia.org 
  403 experimental    ftp2.de.debian.org 
  401 experimental-snapshots qt-kde.debian.net 

--- Package information. ---
Depends      (Version) | Installed
libc6         (>= 2.4) | 2.11.2-11

Package's Recommends field is empty.

Package's Suggests field is empty.

Reply to: