Bug #12697

tails-installer rejecting viable usb drives

Added by cacahuatl 2017-06-14 08:44:08 . Updated 2017-06-14 14:29:00 .

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2017-06-14
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Since 3.0 the tails-installer seem to reject USB drives that are otherwise viable.

I created a script to dump the results from UDisks (based on tails_installer code), Tails installer now rejects 2 USB drives that I’ve previously successfully used to run Tails. Reported values from UDisks:

{’media_removable’: False, ‘model’: ‘Cruzer Fit’, ‘vendor’: ‘SanDisk’, ‘device’: ‘/dev/sdb’, ‘removable’: True}
{’media_removable’: False, ‘model’: ‘Cruzer Blade’, ‘vendor’: ‘SanDisk’, ‘device’: ‘/dev/sdb’, ‘removable’: True}
{’media_removable’: True, ‘model’: ‘HAG2e_’, ‘vendor’: ’‘, ’device’: ‘/dev/mmcblk0’, ‘removable’: True}

tails-installer is currently using media_removable[0] which seems to generate false negatives, it may be preferable to use removable[1] (although it may generate false positives? but `media_removable` generates one for me anyway since /dev/mmcblk0 is an internal flash drive and not suitable for use…)

[0] http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Drive.html#gdbus-property-org-freedesktop-UDisks2-Drive.MediaRemovable
[1] http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Drive.html#gdbus-property-org-freedesktop-UDisks2-Drive.Removable


Files


Subtasks


Related issues

Is duplicate of Tails - Bug #12696: Tails Installer rejects working USB drives, pretending they're not "removable" Resolved 2017-06-14

History

#1 Updated by intrigeri 2017-06-14 14:28:47

  • is duplicate of Bug #12696: Tails Installer rejects working USB drives, pretending they're not "removable" added

#2 Updated by intrigeri 2017-06-14 14:29:00

  • Status changed from New to Duplicate
  • Assignee deleted (intrigeri)
  • Target version deleted (Tails_3.1)