• Bug#265900: does not support root on software raid

    From Joey Hess@1:229/2 to All on Sun Aug 15 18:00:11 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    Package: lilo-installer
    Severity: normal

    lilo-installer fails to run if root is on software raid. The
    disc_offered variable is not set to anthing, because /dev/md/ does not
    contain anything named "disc". Then this line fails:

    disc_offered=$(mapdevfs "$disc_offered_devfs")

    And this failure crashes the whole postinst. I worked around this as
    follows:

    disc_offered=$(mapdevfs "$disc_offered_devfs") || true

    if [ -z "$disc_offered" ]; then
    disc_offered="$bootfs"
    fi

    But that's not quite right, that gives me a menu with who instances of
    /dev/md0 on it; one claims to be the MBR.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: i386 (i686)
    Kernel: Linux 2.4.26
    Locale: LANG=en_US, LC_CTYPE=en_US

    --
    see shy jo

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

    iD8DBQFBH4U2d8HHehbQuO8RAgCjAKDeIz+7dtA0MMh8Ou+gHBuC7z87HQCZAZ77 6AQWrNN59kq31MiyUwmsqxM=
    =qJ3W
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)