removable_storage_watcher covertly waits for FS mount, not device insertion

Bug #1045761 reported by Zygmunt Krynicki
6
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.

Tags: scripts job
Revision history for this message
Daniel Manrique (roadmr) wrote :

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.

Changed in checkbox:
importance: Undecided → Medium
status: New → Triaged
Zygmunt Krynicki (zyga)
Changed in checkbox:
assignee: nobody → Zygmunt Krynicki (zkrynicki)
Revision history for this message
Daniel Manrique (roadmr) wrote :

Tagged as both job and scripts, though which one will actually be used is at the developer's leisure.

tags: added: job scripts
Zygmunt Krynicki (zyga)
affects: checkbox → plainbox-provider-checkbox
Zygmunt Krynicki (zyga)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.