Bug 4254 - broken /etc/bootloader/skiplist reading in detectloader
: broken /etc/bootloader/skiplist reading in detectloader
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/bootloader-utils)
: unstable
: all Linux
: P2 critical
Assigned To:
:
:
:
:
: 3459 7371
  Show dependency tree
 
Reported: 2004-05-29 13:48 by
Modified: 2007-10-23 15:17 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-05-29 13:48:16
bootloader-utils-0.2-alt1

/etc/bootloader/skiplist reading is broken, therefore detectloader looks where
it should not:

--- detectloader.rpmorig        2004-05-07 21:16:41 +0400
+++ detectloader        2004-05-29 13:42:17 +0400
@@ -43,7 +43,7 @@ sub read_skiplist {
        open my $fh, "/etc/bootloader/skiplist" or return;
        my @list;
        while (<$fh>) {
-               next unless /^#/;
+               next if /^#/;
                /\S+/ and push @list, $&;
        }
        return @list;
------- Comment #1 From 2004-05-29 19:58:24 -------
to real maintainer
------- Comment #2 From 2004-06-16 16:13:23 -------
И в bootloader-utils-0.3-alt1 не исправлено :(

Эффект очень неприятный - у меня из-за этого попытался поставиться совсем не тот
загрузчик.
------- Comment #3 From 2004-06-24 04:18:07 -------
Oops... sorry for this dealy.  What a stupid bug!  I have just commited your fix
to cvs.  I think I am going to release 0.3.1 shortly.
------- Comment #4 From 2005-06-14 12:22:09 -------
Исправлена ошибка ?
------- Comment #5 From 2006-02-09 16:51:04 -------
Судя по всему - исправлена.