Improve error message when impossible to create Persistent Storage on some USB stick
We received 2 reports from different laptops about this in a week:
- wb:195849370ba610d38176c9b4d0904756
failed to create Persistent Storage: GDBus.Error:subprocess.CalledProcessError: [...] returned non-zero exit status 32
- The error happened after entering the passphrase. They also describe the UI remaining in a broken state leading every user interaction to display a popup.
- wb:64784a499495ba90627791e7e06d8b09 (Tails 5.9)
failed to create Persistent Storage: GDBus.Error:subprocess.CalledProcessError: [...] returned non-zero exit status 32
- Had the same error on 4 different USB sticks, leading me to believe that it was not a hardware failure but rather entire categories of USB stick that get this error.
-
GDBus.Error:gi.repository.GLib.Error:udisks-error-quark: GDBus.Error.org.freedesktop.UDusks2.Error.Failed: Error creating partition on /dev/sdb: Failed add partition to device '/dev/sdb'
"- Also after entering the passphrase.
- wb:9413123b63e534f22bdc5c0850df8ccf
- wb:daaf97a02b973a9bbf144f3a58d0fb22
- wb:91806c68c0b03fcb1c8052a627f3ac9 (with email address)
I think that we should:
-
Research what kind of USB sticks trigger this error -
Be more helpful in explaining why the creation failed and what to do next -
Fallback on a better UI than a popup for this
Edited by sajolida