Bug 4254

Summary: broken /etc/bootloader/skiplist reading in detectloader
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: bootloader-utilsAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: critical    
Priority: P2 CC: at, boyarsh, eostapets, glebfm, ldv, mike, placeholder, sem, slazav, vitty, vt
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 3459, 7371    

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
Судя по всему - исправлена.