Bug#345208: marked as done (Splashscreen entry breaks automatic grub update)

Debian Bug Tracking System owner at bugs.debian.org
Thu Jan 19 09:33:12 UTC 2006


Your message dated Thu, 19 Jan 2006 01:17:05 -0800
with message-id <E1EzVuj-0000bH-W0 at spohr.debian.org>
and subject line Bug#345208: fixed in grub 0.97-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Dec 2005 16:52:49 +0000
>From udippel at uniten.edu.my Thu Dec 29 08:52:49 2005
Return-path: <udippel at uniten.edu.my>
Received: from [219.95.154.125] (helo=wira.no-ip.com)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Es11E-0001qV-FV
	for submit at bugs.debian.org; Thu, 29 Dec 2005 08:52:49 -0800
Received: from [192.168.116.61] (dellnb.wira.no-ip.com [192.168.116.61])
	by wira.no-ip.com (Postfix) with ESMTP id 23EAF5B497
	for <submit at bugs.debian.org>; Fri, 30 Dec 2005 00:52:16 +0800 (MYT)
Message-ID: <43B4143E.4070604 at uniten.edu.my>
Date: Fri, 30 Dec 2005 00:52:14 +0800
From: Uwe Dippel <udippel at uniten.edu.my>
User-Agent: Debian Thunderbird 1.0.2 (X11/20051002)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit at bugs.debian.org
Subject: Splashscreen entry breaks automatic grub update
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: grub
Version: 0.95+cvs20040624
Severity: important

Reproducibly.
This is the story; and I posted it to grub mailing list quite some time ago:

If a splashimage is found, the auto-update will forcibly enter that splashscreen into the part reserved for auto-updating.
Alas, grub is not able to handle any repetition here. That is, if the user had entered the same information of the same splashscreen further up in menu.lst, 
grub will totally scramble the display.
This is a bug, because it breaks auto-update of kernels which by default initiate a grub update.
It is a bad bug, even, because commenting the first splashscreen statement does not help. grub does not respect the comment and reads the commented line as uncommented.
And subsequently scrambles the display completely plus ignores the menu.

I could reproduce this bug on a plurality of machines and versions of grub. Seemingly, there is no upstream solution.
It only hits those who define(d) their splashscreen on their own in menu.lst.

Here is a vulnerable menu.lst:


># menu.lst - See: grub(8), info grub, update-grub(8)
>#            grub-install(8), grub-floppy(8),
>#            grub-md5-crypt, /usr/share/doc/grub
>#            and /usr/share/doc/grub-doc/.
>
>[...]
>
># Pretty colours
># color cyan/blue white/blue
>
># This should show a splash-screen
>splashimage=(hd0,0)/grub/splash.xpm.gz
>
>
>## password ['--md5'] passwd
>
>[...]
>
># Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
>
>### BEGIN AUTOMAGIC KERNELS LIST
>## lines between the AUTOMAGIC KERNELS LIST markers will be modified
>## by the debian update-grub script except for the default options below
>
>[...]
>
>### END DEBIAN AUTOMAGIC KERNELS LIST
>


After an auto-update (kernel patch in Sarge, e.g.) the display will be scrambled and the grub menu be skipped.
Only solution: remove one of the occurrences of 'splashscreen' physically. 
# splashscreen=........
won't help !

With an upstream solution missing (I am not even 100% sure that the auto-update is upstream ?), the most feasible solution seems to not add / enter any splashscreen found automatically.


---------------------------------------
Received: (at 345208-close) by bugs.debian.org; 19 Jan 2006 09:20:27 +0000
>From katie at ftp-master.debian.org Thu Jan 19 01:20:27 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EzVuj-0000bH-W0; Thu, 19 Jan 2006 01:17:05 -0800
From: Otavio Salvador <otavio at debian.org>
To: 345208-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#345208: fixed in grub 0.97-4
Message-Id: <E1EzVuj-0000bH-W0 at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 19 Jan 2006 01:17:05 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: grub
Source-Version: 0.97-4

We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:

grub-disk_0.97-4_all.deb
  to pool/main/g/grub/grub-disk_0.97-4_all.deb
grub-doc_0.97-4_all.deb
  to pool/main/g/grub/grub-doc_0.97-4_all.deb
grub_0.97-4.diff.gz
  to pool/main/g/grub/grub_0.97-4.diff.gz
grub_0.97-4.dsc
  to pool/main/g/grub/grub_0.97-4.dsc
grub_0.97-4_i386.deb
  to pool/main/g/grub/grub_0.97-4_i386.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 345208 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <otavio at debian.org> (supplier of updated grub 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 at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 Jan 2006 07:02:55 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.97-4
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <pkg-grub-devel at lists.alioth.debian.org>
Changed-By: Otavio Salvador <otavio at debian.org>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 281051 283308 318706 341538 345208 345346 346544 346596 347482
Changes: 
 grub (0.97-4) unstable; urgency=low
 .
   [ Kristian Edlund ]
   * Solved problems in update-grub so running the script will sort
     the kernels the same way using dash or bash. (closes: #346544)
   * Applied patch provided by Ole Janssen <ole.janssen at o2online.de>
     to fix a problem when /boot is on an extra partion (closes: #346596)
   * Fixed the problem with multiple splashimage lines, if there is a
     splashimage outside the autoupdated part of the file. (closes: #341538,
     #318706, #345208, #283308, #345346)
   * Corrected the README.Debian to contain the right path if /boot
     is on another partion. (closes: #281051)
 .
   [ Otavio Salvador ]
   * Don't convert /dev/mapper to new kernel 2.6 device scheme.
     (closes: #347482)
Files: 
 d72a2a7050b905e52c7b967fbb5d970b 932 admin optional grub_0.97-4.dsc
 aef9ce2ac44598b31124f671426c89da 60456 admin optional grub_0.97-4.diff.gz
 c1410b00279171e36b74911b8ff832c4 363874 admin optional grub_0.97-4_i386.deb
 3f61de25e24e175a97f544cdb1a6d8cf 235966 admin optional grub-disk_0.97-4_all.deb
 0548560f2f312c149a862e4fd7e5ee4f 266556 doc optional grub-doc_0.97-4_all.deb

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

iD8DBQFDz1aGLqiZQEml+FURAo5fAJ92Dx9cabAuLg3/1QftQYkJZH06vgCgvwY0
HjkJY/uhQRxaiaoEJp2HS38=
=a7Gd
-----END PGP SIGNATURE-----




More information about the Pkg-grub-devel mailing list