Bug#498784: mdcfg hangs when there is no partition for spare device - Debian

This is a discussion on Bug#498784: mdcfg hangs when there is no partition for spare device - Debian ; On Sat, Sep 13, 2008 at 10:36:59PM -0700, Ryan Niebur wrote: > On Sat, Sep 13, 2008 at 11:44:26AM +0300, Martin Michlmayr wrote: > > I chose 1 partition (sda2) for RAID in partman and entered the RAID > > ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Bug#498784: mdcfg hangs when there is no partition for spare device

  1. Bug#498784: mdcfg hangs when there is no partition for spare device

    On Sat, Sep 13, 2008 at 10:36:59PM -0700, Ryan Niebur wrote:
    > On Sat, Sep 13, 2008 at 11:44:26AM +0300, Martin Michlmayr wrote:
    > > I chose 1 partition (sda2) for RAID in partman and entered the RAID
    > > config tool. I then chose RAID1 with 1 active partition and 1 spare
    > > partition. I got a prompt asking which partition to use for the
    > > active one and chose sda2. Then mdcfg hangs. Looking at the code, it
    > > does (lines 329-331):
    > >

    >
    > Attached is a (trivial, and of course tested) patch that fixes this.


    Well, the hang is due to a regression in cdebconf for which a fix has
    already been commited (#498846), upload pending.

    Nevertheless, I still think that it would make sense to commit your
    patch to mdcfg: silently recovering from an error does not feel like
    good code to me.

    Cheers,
    --
    Jérémy Bobbio .''`.
    lunar@debian.org : :Ⓐ : # apt-get install anarchism
    `. `'`
    `-

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

    iD8DBQFIzQhf2PUjs9fQ72URAry8AKChP17gVF7+aUXolJvXHV 9H2vcRWACdHMRZ
    v4wcpOaBRzlnypjE3257UAI=
    =Bk1N
    -----END PGP SIGNATURE-----


  2. Bug#498784: mdcfg hangs when there is no partition for spare device

    Jérémy Bobbio writes:

    > Well, the hang is due to a regression in cdebconf for which a fix has
    > already been commited (#498846), upload pending.


    Can you do the upload or wish me to do that?

    > Nevertheless, I still think that it would make sense to commit your
    > patch to mdcfg: silently recovering from an error does not feel like
    > good code to me.


    Can you push it? Makes sense!

    --
    O T A V I O S A L V A D O R
    ---------------------------------------------
    E-mail: otavio@debian.org UIN: 5906116
    GNU/Linux User: 239058 GPG ID: 49A5F855
    Home Page: http://otavio.ossystems.com.br
    ---------------------------------------------
    "Microsoft sells you Windows ... Linux gives
    you the whole house."



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread