Bug 4254 - broken /etc/bootloader/skiplist reading in detectloader
Summary: broken /etc/bootloader/skiplist reading in detectloader
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bootloader-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P2 critical
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 3459 7371
  Show dependency tree
 
Reported: 2004-05-29 13:48 MSD by Sergey Vlasov
Modified: 2007-10-23 15:17 MSD (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2004-05-29 13:48:16 MSD
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 Sergey Vlasov 2004-05-29 19:58:24 MSD
to real maintainer
Comment 2 Sergey Vlasov 2004-06-16 16:13:23 MSD
И в bootloader-utils-0.3-alt1 не исправлено :(

Эффект очень неприятный - у меня из-за этого попытался поставиться совсем не тот
загрузчик.
Comment 3 at@altlinux.org 2004-06-24 04:18:07 MSD
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 Anton Farygin 2005-06-14 12:22:09 MSD
Исправлена ошибка ?
Comment 5 Anton Farygin 2006-02-09 16:51:04 MSK
Судя по всему - исправлена.