Your message dated Thu, 30 Jul 2026 12:48:48 +0000
with message-id <[email protected]>
and subject line Bug#1142788: fixed in os-prober 1.85
has caused the Debian Bug report #1142788,
regarding os-prober fails to detect Windows Boot Manager under tr_TR.UTF-8
locale
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1142788: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142788
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: os-prober
Version: 1.83
Severity: normal
Dear Debian os-prober maintainers,
I would like to report what appears to be a locale-dependent bug in
os-prober affecting Windows Boot Manager detection.
System
------
Distribution: Debian 13 (Trixie)
Package: os-prober 1.83
Locale: tr_TR.UTF-8
Boot mode: UEFI
Disk layout:
- EFI System Partition (FAT32)
- Windows Boot Manager
- Debian GNU/Linux
Problem
-------
Running:
sudo update-grub
does not detect the existing Windows Boot Manager.
The generated GRUB configuration only contains Linux entries.
However, running:
sudo LC_ALL=C update-grub
correctly reports:
Found Windows Boot Manager on
/dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
and Windows is added to the GRUB menu.
Investigation
-------------
The EFI System Partition was verified to be correct.
The following all succeed:
- EFI partition mounts correctly.
- /boot/efi/EFI exists.
- /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi exists.
- efibootmgr shows Windows Boot Manager.
- The Microsoft probe:
/usr/lib/os-probes/mounted/efi/20microsoft /boot/efi/EFI
correctly detects Windows.
Tracing os-prober using:
sh -x /usr/bin/os-prober
showed that it executes:
/usr/lib/os-probes/mounted/05efi
Tracing that script further shows that it exits with:
/boot/efi does not have /EFI directory
even though the directory exists.
The relevant helper function is:
item_in_dir()
defined in:
/usr/share/os-prober/common.sh
which performs:
ls -1 "$2" | grep -i "^$1$"
Additional testing showed:
Under tr_TR.UTF-8:
ls -1 /boot/efi | grep -i '^efi$'
returns no output.
Under the C locale:
LC_ALL=C sh -c 'ls -1 /boot/efi | grep -i "^efi$"'
correctly returns:
EFI
This strongly suggests that the failure is locale-dependent.
Expected behaviour
------------------
Windows Boot Manager should be detected regardless of the user's locale.
Workaround
----------
Running:
sudo LC_ALL=C update-grub
correctly detects Windows and generates the expected GRUB entry.
Possible cause
--------------
The failure appears to be related to locale-sensitive case-insensitive
matching inside item_in_dir(). The helper should ideally perform the
comparison in a locale-independent manner.
Investigation performed by:
Erol Saner
ChatGPT (OpenAI)
Thank you for maintaining Debian and for your time reviewing this report.
--- End Message ---
--- Begin Message ---
Source: os-prober
Source-Version: 1.85
Done: Holger Wansing <[email protected]>
We believe that the bug you reported is fixed in the latest version of
os-prober, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Wansing <[email protected]> (supplier of updated os-prober package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 30 Jul 2026 14:26:34 +0200
Source: os-prober
Architecture: source
Version: 1.85
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <[email protected]>
Changed-By: Holger Wansing <[email protected]>
Closes: 1142788
Changes:
os-prober (1.85) unstable; urgency=medium
.
* Team upload
.
* Make sure, that the grep call for finding /boot/efi/EFI is locale-
independent (add "LC_ALL=C"). Closes: #1142788.
Checksums-Sha1:
71ac95fb386414c251571fd501d86f0ea15a3750 1769 os-prober_1.85.dsc
4e36901b4d367cac54a40d24abcf9ed4f5a5b7b2 27712 os-prober_1.85.tar.xz
ae04f987042c0f161968c9faf35ff0692ada06ae 6083 os-prober_1.85_amd64.buildinfo
Checksums-Sha256:
6f3ac82a681929bbded0c42bda4dcaf9e96c031f671773dfa568e94393c7a335 1769
os-prober_1.85.dsc
f06094db841a214f975e79d66e2a79ea8c2b39b0f762e9d384b2feffd4ae7447 27712
os-prober_1.85.tar.xz
bf3e81a28841eee76b22b3510ac6508ab793108466a55ec1512b31031696fef9 6083
os-prober_1.85_amd64.buildinfo
Files:
63e4ec488788f836752a8579cf61fe75 1769 debian-installer optional
os-prober_1.85.dsc
1567ac12b2443e612e99f54db3690bf4 27712 debian-installer optional
os-prober_1.85.tar.xz
d478ecd0205ce3882e63b60fe4fc5810 6083 debian-installer optional
os-prober_1.85_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEESWrG6BRCSzSFCDUpWfGHyhVusHYFAmprRBEVHGh3YW5zaW5n
QG1haWxib3gub3JnAAoJEFnxh8oVbrB2lHkQALJtd/HWNC593r6DzF4H/mUO9yIK
cn5mzyJ+W3cVcEyvbLTHtdiDQTlnMgkZlQ0jrwENHYJ1clyh3CHv7wRc3qHsgR7o
HDg/IejcJ5ChGvsPWX3LvZaoonOH52lNwgRsocxabLi5BY8Ec8tHAWjY4KLJp3XG
tjMDv/n9I/x5MXI8AQ1ZaKjIGhy9NOZHA86461WLjoNHTqFIyG0frF3gthWJ4ixS
xYToeHLkhU+GfpUmfLFcyIfu2RI6gOJcsLncNQuz0CPm+tFhoCbs9hDF5ukqK6a4
8OSHahwEknGVWKfESW4bPMttMHU8xRjenDLq2WI9QECxBqyU3aCG5mmQ8y3mpa6r
i6lZYRfKWVhGpQ31V7AYl7zik28XZCV15Wmz8IEAjkelxqYx5CjZNwSX6SVQZcs/
ztf/G6mdmxqukghLppv/+2fYWfELn2mqG0vcyUzmdPbT9q9469zBri0XNjVyT0g4
hjp3jayzxmlkFyJdJwCrgNtwUggJFtSOsmrw3o/iSVzPsIJWo4f2IFV7VP36VSlX
GKyFizzbSYeb/W4li2M+bbqFZ6Tx48WIy7T87Gzw26wJwg4o2i7jBg97g0rE1Nvv
6cpZH+wNwv1B71RG9Tg6Pf59H8csiq3lQs2XijVA71nUNKWRmaJwfBzG1HCGd0Ae
Bzv48mbX4nfRndyq
=C971
-----END PGP SIGNATURE-----
pgpQB60xJ7k_s.pgp
Description: PGP signature
--- End Message ---