Bug #8935

tails-persistence-setup check for persistence in use applies even when acting on a different device

Added by patcon 2015-02-21 20:47:38 . Updated 2018-08-18 12:31:06 .

Status:
Confirmed
Priority:
Low
Assignee:
Category:
Persistence
Target version:
Start date:
2015-02-21
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

After changing the polkit settings to allow creation of persistent volumes on non-tails usb devices (in this case /dev/sdc), I would expect to also be able to use the `delete` step to wipe the persistent partition as well. Instead, users see this:

> Error
>
> Cannot delete the persistent volume while in use. You should restart Tails without persistence.

Alternatively, I would perhaps expect the `—force` flag to bypass the check, but the same error results.

This is the command used (after editting the polkit file):

tails-persistence-setup --force --steps delete --override-boot-device /org/freedesktop/UDisks/devices/sdc

Thanks!


Subtasks


Related issues

Blocks Tails - Feature #6621: Allow creating persistent volume onto a separate device Confirmed 2014-01-21

History

#1 Updated by intrigeri 2015-02-22 20:22:44

  • Subject changed from Allow t-p-s `force` flag to bypass check for mounted persistent vol in `delete` step to t-p-s check for persistence in use applies even when acting on a different device
  • Status changed from New to Confirmed

#2 Updated by intrigeri 2015-02-22 20:23:46

  • blocks Feature #6621: Allow creating persistent volume onto a separate device added

#3 Updated by Anonymous 2018-08-18 12:31:06

  • Subject changed from t-p-s check for persistence in use applies even when acting on a different device to tails-persistence-setup check for persistence in use applies even when acting on a different device