bug#47780: [installer] Trying to install to DVD leads to crash

2021-06-20 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: >> Does Parted provide a way to tell whether a storage device is read-only? >> That would be ideal. > > Yes it does, but this is not enough for a reliable installation device > detection. In Qemu the installation device is /dev/sr0 that is > reported as read-only by

bug#47780: [installer] Trying to install to DVD leads to crash

2021-06-17 Thread Mathieu Othacehe
Hey, > Does Parted provide a way to tell whether a storage device is read-only? > That would be ideal. Yes it does, but this is not enough for a reliable installation device detection. In Qemu the installation device is /dev/sr0 that is reported as read-only by parted. Using real hardware, and

bug#47780: [installer] Trying to install to DVD leads to crash

2021-06-14 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: >> Possible improvements are: >> >> 1. gracefully handling this error; >> 2. filtering out read-only storage devices from the menu. >> >> Thoughts? > > Thanks to David's help[1], I realized that the non-filtering of the > installation device was causing some of

bug#47780: [installer] Trying to install to DVD leads to crash

2021-06-13 Thread Mathieu Othacehe
Hello Ludo, > Possible improvements are: > > 1. gracefully handling this error; > 2. filtering out read-only storage devices from the menu. > > Thoughts? Thanks to David's help[1], I realized that the non-filtering of the installation device was causing some of the (uuid->string #f) issues