Bug#1142788: os-prober fails to detect Windows Boot Manager under tr_TR.UTF-8 locale

Steve McIntyre <[email protected]> Thu, 30 Jul 2026 11:35:04 +0100
Newsgroups gmane.linux.debian.devel.boot
Message-ID <20260730103504.GK3038878__29906.5071086929$1785407847$gmane$org@tack.einval.com>
On Thu, Jul 30, 2026 at 12:29:43PM +0200, Holger Wansing wrote:
>Hi Erol,
>
>Am 26. Juli 2026 02:23:34 MESZ schrieb Erol SANER <[email protected]>:
>>
>>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
>
>Thanks for your exact analysis.
>
>Subject to another/better ideas, and until a final fix arrives, my proposal would be, to add "LC_ALL=C" to the command for now.
>
>Thoughts/objections anyone?

That's exactly the right thing, yeah.