Red Hat Bugzilla – Bug 965770
RESCAN DISKS: do not interrupt rescanning when Esc is pressed
Last modified: 2014-01-29 14:01:50 EST
Description of problem:
There is no button enabled to stop rescanning disks, which is available from the Manual Partitioning spoke.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start graphical installation
2. proceed to the Manual Partitioning spoke
3. click on "Reload storage configuration from disk."
4. click "Rescan Disks"
5. note that no button is enabled to stop the rescanning (see attached screenshot)
6. press the Esc key while the rescan is still running
RESCAN DISKS dialog closes after pressing the Esc key, but it is not possible to stop it using mouse clicking on some button.
It is possible to stop rescanning disks by clicking on some button (Cancel for example) as well as pressing the Esc key.
Created attachment 751319 [details]
But should "Rescan Disks" be atomic/transaction?
Either you have the current values or you have the values you asked to re-read from disk.
Is an interrupted disk rescan for anaconda something "in between"?
Once a rescan is started you cannot stop it. Doing so would leave the system in an inconsistent state.
In that case, you should not close the dialog window while rescanning is in progress and the Esc key is pressed. Reopening.
There's bound to be more dialogs that could use this treatment, but now we've got a function to make it easy.
Retested with anaconda-20.18-1 (F20-Alpha-RC4) and it is not possible to interrupt disk rescanning by pressing the Esc key and no button is available to stop the rescan.
Moving to VERIFIED.