Bug#1142788: marked as done (os-prober fails to detect Windows Boot Manager under tr_TR.UTF-8 locale)
"Debian Bug Tracking System" <[email protected]> Thu, 30 Jul 2026 12:51:01 +0000
| Newsgroups | gmane.linux.debian.devel.boot |
|---|---|
| Message-ID | <handler.1142788.D1142788.17854157323979363.ackdone@bugs.debian.org> |
This is a multi-part message in MIME format... ------------=_1785415861-3980662-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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.) --=20 1142788: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1142788 Debian Bug Tracking System Contact [email protected] with problems ------------=_1785415861-3980662-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 26 Jul 2026 00:23:41 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00, BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU, DKIM_VALID_EF,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 61; hammy, 150; neutral, 85; spammy, 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--Trixie, 0.000-+--updategrub, 0.000-+--update-grub, 0.000-+--osprober Return-path: <[email protected]> Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:45289) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.96) (envelope-from <[email protected]>) id 1wnmea-002Nra-1F for [email protected]; Sun, 26 Jul 2026 00:23:41 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-472326ca506so1044394f8f.2 for <[email protected]>; Sat, 25 Jul 2026 17:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785025417; x=1785630217; darn=bugs.debian.org; h=content-transfer-encoding:content-type:organization:subject:from:to :content-language:reply-to:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to:content-type; bh=evitKC8I896+p4F29og/6Tz1azQR9p8mZPTFmEanX3Q=; b=fsEookOltmA2GMCC78Me5sCfqMimmSjzgaWWDWCc+dpqlL/8iZz7fGIDix32bx5Y8+ ECU1S/STuAkyDO/o3iVmG9NpiRiEeTrIEMHZ0ne5Y1ZNzjfHK7kCpUFYcJdEBjVPtlQy M+FkKM0Z779c96Qe90Bu59F8BijLwQNvmUsj9yY4H4hSwPaWo361uhvllNpzNtaC5oHU Ta2RvisDeXEMtW5aL+daB3NljqwwVTy51rwWNgUOBA1roueTG1sQzJZD/l9DJhfI0hZ5 eUae3FY8wWaBKFMghEBhsiukSv+TXMBDN1eNwXUQ2KxDRygnWwgxJFJYUZ59wvTSMNUk WSWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785025417; x=1785630217; h=content-transfer-encoding:content-type:organization:subject:from:to :content-language:reply-to:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=evitKC8I896+p4F29og/6Tz1azQR9p8mZPTFmEanX3Q=; b=G3kEuEsq9UOj7oOjJX2/gJgouGfTgWHS/jqnBYo93V9kclyIpMDwtYEfiuJjxgOUeC epDtJlUeXDB///E1txbZTXm88zfkDrEFJw0IYw8qGW2KJ0Zk870mYG2A+uiCnIyN8aF6 8PLIvlNCBUvu7LHe9P0y2y57H/K0pSSsCPTikC24WcehQfgJg51IdRPynpfsGEcwha9Y ivpteTP53GjicvKGSr/H9q5F3iVgjhjQ++AvOwovOIGJE/d8T2t5YFcyD23JnobReFHS 1o9Xd/47AONe1XpHDKU5PIx+zHPN9d+ijDBtHrm+CbtjcFQShxh35/m2WzpzObXvcNCu 0Etw== X-Gm-Message-State: AOJu0Yz6Lydx2+OrsDFwzcJQKwjQIIlWCuzy0r2hLQFtJ68MHzIiMuPF +t8Wjrarq6BOQXj7WbLWCsDKFZgZ0B4WVfQHM2oFpu1AdP+TzHwOaNqjcaMz5mnEpFlKbw== X-Gm-Gg: AR+sD13c9b/RvqtmGJeBQjS+nb2YovAGPJYsT5g1/kafs0s6ZQomgz5iPvow/pogLZf 2mv4GdiasLPTdkYVYp5xaA4tER+cHgZ1DyIJ+w1NaW/GoA/D25cPB40NjCXiGN+5Wloi127plHb aTnUqHoq7zEIHvJgVakve1Yho4mDtbgrg4I+iUfcQDzZz2KT4aZl1YpuDGtj4tS/G08NNfn4Bi/ s/WJK+J8EzpLKcPNjfqRqLRrWSlkQrhgGiLUDzmru51kDIyJxubVcluhpHadJdCk8Xb6f1dX86u L0Os/ALeeW1NabEUXdeQMrtmTPiwvjjWkDQ7xy8F/SWdYoKjokuQTrHBXwBtElfqkE9IAleL3Bd jLwcmzLqoxrEuhzx1boxbvcsesUEHE3m/a1pzC/bla2waX8CWmgNYYcptKriibHsMESQQv4JJC3 xMJBxo9QIGfJmAPJTy X-Received: by 2002:a05:6000:38c:b0:47f:9096:3ef1 with SMTP id ffacd0b85a97d-47f9fc86b02mr4279561f8f.9.1785025416612; Sat, 25 Jul 2026 17:23:36 -0700 (PDT) Received: from [192.168.1.55] ([195.142.254.217]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47f85c52fc0sm35893619f8f.23.2026.07.25.17.23.35 for <[email protected]> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jul 2026 17:23:36 -0700 (PDT) Message-ID: <[email protected]> Date: Sun, 26 Jul 2026 03:23:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: [email protected] Content-Language: en-US, tr-TR To: [email protected] From: Erol SANER <[email protected]> Subject: os-prober fails to detect Windows Boot Manager under tr_TR.UTF-8 locale Organization: Personal Mail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Delivered-To: [email protected] 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. ------------=_1785415861-3980662-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1142788-close) by bugs.debian.org; 30 Jul 2026 12:48:52 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02 (2024-03-25) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-113.1 required=4.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER, MD5_SHA1_SUM,PGPSIGNATURE,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 84; hammy, 150; neutral, 115; spammy, 0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK, 0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload, 0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo Return-path: <[email protected]> Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:46972) by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <[email protected]>) id 1wpQBv-00Gh98-2c for [email protected]; Thu, 30 Jul 2026 12:48:52 +0000 Received: via submission from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,[email protected] (verified) by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from <[email protected]>) id 1wpQBt-00CjMp-1I for [email protected]; Thu, 30 Jul 2026 12:48:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type: Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID :Content-Description:In-Reply-To:References; bh=56XAQAofONGGHZ+pKwQdNzAXDsF6xDJQUgAwb+UkCTI=; b=bJZRX4tHvjBIGkVEyFRFsKwyB5 H2tmi6yZoH12u9M0PBfbGLUiC6ik9DPIzuj46ECTwxSX+pxA6scIdT0NpNuLqhHrs8visGSTgICTl Bdxf9zA0OT4HLbdfL58eNxpCu802tf4LRdmEzFxRIvudaPE5sP6ZIF4K/4KGE8nJD3ULsegwMpArG GGEopXe6Y5FWdhUyJEcQ3P65Ew9K1wXkZHd5r3yoUiqgLIt0n+mfHUls0tPVfFS00nYT07sslzWEk vwUZRUCXbdb32RdAU3PGDrFsTh28k37ba6VYfZjDosgmij88iKZYmtAkAXYjzO6lbAEGsb2XqbS91 CtMpPWSg==; Received: from dak by fasolo.debian.org with local (Exim 4.98.2) (envelope-from <[email protected]>) id 1wpQBs-00000006C9D-0srs; Thu, 30 Jul 2026 12:48:48 +0000 From: Debian FTP Masters <[email protected]> Reply-To: Holger Wansing <[email protected]> To: [email protected] X-DAK: dak process-upload X-Debian: DAK X-Debian-Package: os-prober Debian: DAK Debian-Changes: os-prober_1.85_source.changes Debian-Source: os-prober Debian-Version: 1.85 Debian-Architecture: source Debian-Suite: unstable Debian-Archive-Action: accept MIME-Version: 1.0 Subject: Bug#1142788: fixed in os-prober 1.85 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="===============8243656120246947551==" Message-Id: <[email protected]> Date: Thu, 30 Jul 2026 12:48:48 +0000 --===============8243656120246947551== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=3Dmedium . * Team upload . * Make sure, that the grep call for finding /boot/efi/EFI is locale- independent (add "LC_ALL=3DC"). 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-pro= ber_1.85.dsc f06094db841a214f975e79d66e2a79ea8c2b39b0f762e9d384b2feffd4ae7447 27712 os-pr= ober_1.85.tar.xz bf3e81a28841eee76b22b3510ac6508ab793108466a55ec1512b31031696fef9 6083 os-pro= ber_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 =3DC971 -----END PGP SIGNATURE----- --===============8243656120246947551== Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCamtIMAAKCRCb9qggYcy5 IWXNAP9Ck7/z+FQCGd7oG8/1DlcddAE5ILhG+wvF5sF4FC904QD/dtg3TQyWgPQs BEPT8lf2QQD5PRPqZJpUR3lG+mu4CQs= =W3gi -----END PGP SIGNATURE----- --===============8243656120246947551==-- ------------=_1785415861-3980662-0--