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

Bug#624815: marked as done (os-prober produces garbage when menu.lst has titles containing asterisks ("*"))



Your message dated Sun, 15 May 2011 21:26:45 +0000
with message-id <E1QLipp-000339-U9@franck.debian.org>
and subject line Bug#624815: fixed in os-prober 1.47
has caused the Debian Bug report #624815,
regarding os-prober produces garbage when menu.lst has titles containing asterisks ("*")
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 owner@bugs.debian.org
immediately.)


-- 
624815: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624815
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: os-prober
Version: 1.42

I have a partition with a menu.lst file containing the following line:

    title * Lenny2 Debian 5.0.5, 2.6.26-2-amd64 on /dev/disk/by-label/root

When running update-grub, this produces a very long garbage entry in grub.cfg:

    menuentry "bin boot cdrom dev etc home [etc.] Lenny2 [the rest of the title] (on /dev/sdb2)" {

The asterisk was expanded to the content of the directory I happened to be in when running update-grub.

update-grub runs /etc/grub.d/30_os-prober, which runs linux-boot-prober, which runs /usr/lib/linux-boot-probes/mounted/40grub.

The problem comes from line 39 of /usr/lib/linux-boot-probes/mounted/40grub, which is

    set -- $line

At that point, the $line variable containing the title line with the asterisk is expanded, and $2 is the first file in the current directory, $3 the next, etc.

I'm not sure what the best solution would be, but the resulting grub2 menu looks really weird, and it was quite time-consuming to find what was causing it.

Fortunately, I had no title in menu.lst with entries like $(rm -rf) ...





--- End Message ---
--- Begin Message ---
Source: os-prober
Source-Version: 1.47

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:

os-prober-udeb_1.47_amd64.udeb
  to main/o/os-prober/os-prober-udeb_1.47_amd64.udeb
os-prober_1.47.dsc
  to main/o/os-prober/os-prober_1.47.dsc
os-prober_1.47.tar.gz
  to main/o/os-prober/os-prober_1.47.tar.gz
os-prober_1.47_amd64.deb
  to main/o/os-prober/os-prober_1.47_amd64.deb



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 624815@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <otavio@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 15 May 2011 17:49:10 -0300
Source: os-prober
Binary: os-prober-udeb os-prober
Architecture: source amd64
Version: 1.47
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
Description: 
 os-prober  - utility to detect other OSes on a set of drives
 os-prober-udeb - utility to detect other OSes on a set of drives (udeb)
Closes: 624815
Changes: 
 os-prober (1.47) unstable; urgency=low
 .
   [ Joey Hess ]
   * Fix unwanted wildcard expansions. Closes: #624815
Checksums-Sha1: 
 0a583941de82795aacc55d3e6d068aa315cf4e98 1566 os-prober_1.47.dsc
 2e1557b0069269536c587d19b0458dc361fe8ebf 24896 os-prober_1.47.tar.gz
 fd54d65b411ecc2e5aa74d8967357ac2ef8ae108 13828 os-prober-udeb_1.47_amd64.udeb
 3dfcdaec0481d44a040b09a0f1a55c112ebb661b 24874 os-prober_1.47_amd64.deb
Checksums-Sha256: 
 fc77527d5cb6dfe9dfe1d576525b8eab8c28e9d1921e43073fabe46f5ce826de 1566 os-prober_1.47.dsc
 702c8e0bc148c13708d9e52cf8255b5d7bcd6fbabac3d823f506f2fe2376654f 24896 os-prober_1.47.tar.gz
 43ce6f573a6f26ff81d2fcaa231cb954f2335717069fd72e129fadc0b7732053 13828 os-prober-udeb_1.47_amd64.udeb
 88d10ccbff8e419610c7f1373a6f4d8b874cd66378528041d395f6463f79bd31 24874 os-prober_1.47_amd64.deb
Files: 
 69e72258ceefdb067c76c3da2d67d492 1566 debian-installer optional os-prober_1.47.dsc
 80075af089055c415654484a8ca6b5e8 24896 debian-installer optional os-prober_1.47.tar.gz
 f009546df7eabca08050c7490ad05c02 13828 debian-installer optional os-prober-udeb_1.47_amd64.udeb
 593dfebf9082318d5e35f94361785e12 24874 utils extra os-prober_1.47_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJN0DxtAAoJEOtw/vPN/G5PRRgQALfdf94cZInjcJy8dikay7cv
clqVHYTDvOobIjZkKCxSRVAfjH2hePBqocmFEVB7DTTsWd4Jw7+xfPEgSvdwDWr/
o+IeQ4kCQu9b2YUPpMUOqo7nMXPDCOjLdtfzX8eIkfcWCmD7FKqFPg2uTIeNaRNF
wf5orR1rQLouU9S3c0x4EquI7sMbPevbfUUs+swXqnuJbkGkSyllH+QaedGL7L4X
ioxYiKEETE/ChNBRAD0Y7jmetqjDrRhmmSC+yjzPkI2PuxIM3GFk/eRSmy7CVutV
RvdAxTcetLbsdgOm5L6cQLCgDntL8MLxKTnrSKnWehCzYY8wUc96gTUvIdolxm0Y
AEVSKic3uzmFIyZFH2z5rWXXaEGF6qpaFAb67SrCQn6rujT2wN/i5IDp0Umkhle7
LY5xdUecb4Taq7pwJBmB1UXwlfzjrKy9x16jIndXp023xY+J+dXBdx1dPeg8Mkpi
jFDNNpoSpFRn+yo6tnNsHyCKeWPNMMvrNMMD/RkP4nlfzDklv5LJBwzX8rtDT3M5
Lrhle66xOX3iKFXD51n7sCqHUUxcSAfa1qJAyVn5DXrkc/FhjW1/gMq0RmN+OZBu
CXhBPzfO5uvo8hU3j77Rh4pQYXZ+O0mF2kDYr7fyw1y81fN2ArbnG+8LE0IIeeTc
Yy5LL8tsJ2o9kGkJShcY
=xw8f
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: