removable_storage_watcher covertly waits for FS mount, not device insertion
Bug #1045761 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The description in the script states:
"Wait for the specified device to be inserted or removed."
However the program logic does something else, apart from waiting for insertion of a specific device, the script also waits for a filesystem to be mounted there. This can fail if the user has disabled auto mounting for any reason.
I suggest that we either remove the wait for the filesystem mounting or detect the disabled auto-mount mode the user may have set. At the very least we should fix the description to match reality.
Changed in checkbox: | |
assignee: | nobody → Zygmunt Krynicki (zkrynicki) |
affects: | checkbox → plainbox-provider-checkbox |
Changed in plainbox-provider-checkbox: | |
assignee: | Zygmunt Krynicki (zkrynicki) → nobody |
Changed in plainbox-provider-checkbox: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
I'll set this to Triaged since we know what needs to be done (either fix the test so it focuses on device insertion only, in which case we need to provision for mounting the device, as other filesystem-level tests will depend on this; or fix the description so it's accurate, and anyway, provision for mounting the device prior to running other tests). Importance: Medium so it gets fixed soon.