Bug 4254

Summary: broken /etc/bootloader/skiplist reading in detectloader
Product: [Development] Sisyphus Reporter: Sergey Vlasov <vsu@altlinux.org>
Component: bootloader-utilsAssignee: Dmitry V. Levin <ldv@altlinux.org>
Status: CLOSED FIXED QA Contact: qa-sisyphus@altlinux.org
Severity: critical    
Priority: P2 CC: at@altlinux.org, boyarsh@altlinux.org, eostapets@gmail.com, glebfm@altlinux.org, legion@altlinux.org, mike@altlinux.org, sem@altlinux.org, slazav@altlinux.org, vitty@altlinux.org
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 3459, 7371    

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