Package: os-prober
Version: 1.77
Severity: important
Tags: patch

Dear Maintainer,

My system has another linux install located on /dev/sde1, which os-prober 
should detect
There is also a /dev/sde127 which is part of a raid array

In this case, os-prober line 141 incorrectly believes that /dev/sde1 is part of 
a raid array, because
grep -q "^/dev/sde1" $OS_PROBER_TMP/raided-map 
returns true as it matches the /dev/sde127 line.

This can be fixed by changing the line to read
 if grep -q "^$mapped\$" "$OS_PROBER_TMP/raided-map" ; then

Thanks

-- System Information:
Debian Release: 10.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages os-prober depends on:
ii  grub-common  2.02+dfsg1-20+deb10u4
ii  libc6        2.28-10

os-prober recommends no packages.

os-prober suggests no packages.

-- no debconf information

Reply via email to