-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[securedrop-export] device mapper sometimes busy when exporting #1732
Comments
Since this is not reproducible we should remove the |
Since we still haven't seen this in QA, I'm going to close this for now, let's reopen if we see again |
Great(?) news, I have just repro'd this when I was testing scenarios for #1734. Error msg 1 (can repro almost 100% of the time): STR: insert USB, unlock via Nautilus in sd-devices (I have repro'd with both the "Forget password immediately" option and the "remember for x time" options), navigate to a folder inside the export device (eg a previous export archive) to keep the device busy Error msg 2 (can repro 100% of the time) if you keep the device busy by e.g.
|
I think a user would have to go out of their way to encounter this issue (i.e. by interacting directly with |
I see you've commented on this issue before @rocodes. It seems to me that this scenario would be handled as |
Fixed in #1779, closing |
Description
We've removed the "Export Successful" message from
securedrop-export
and are getting ready for the client to wait until either no status (meaning success) or a status containing an error message is returned. #666 surfaces a bug where sometimes the client receives an error messagedevice-mapper: remove ioctl on luks-<unique id> failed: Device of resource busy
, however the file transfer is successful.More details
The bullets below indicate that the device is properly being mounted/unmounted locked/unlocked:
Looking at
securedrop-export
logs, I see all three of these logs appear when this error is returned to the client: https://github.com/freedomofpress/securedrop-export/blob/9526fe4558a4fa2872cd4b9249ce9865030eeb99/securedrop_export/disk/actions.py#L180-L192I also see the 2 "Device removed" Qubes popups when we mount the device after unlocking it and the 2 "Device available" popups when we unmount and lock the device
Exporting a file again from the client, after seeing this error, will sometimes succeed without returning the error message
device-mapper: remove ioctl on luks-<unique id> failed: Device of resource busy
Regardless of the error, the file seems to successfully transfer each time
The text was updated successfully, but these errors were encountered: