Project

General

Profile

Bug #7073

Cloning Tails from installer copies all files from the live partition

Added by segfault over 5 years ago. Updated over 3 years ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Installation
Target version:
-
Start date:
04/12/2014
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
No
Affected tool:
Installer

Description

With options Clone & Install and Clone & Upgrade the Tails Installer copies not only the necessary live system files but also all other files on the same partition. So if tails is installed on a USB stick or a SD card and the user stored some other files on the same partition, those files will be copied too.


Related issues

Related to Tails - Bug #11387: Tails upgrader left garbage in Tails partition Confirmed 04/29/2016
Duplicated by Tails - Bug #11388: Tails Installer clones any garbage to any new device Duplicate 04/29/2016

History

#1 Updated by intrigeri over 5 years ago

With options Clone & Install and Clone & Upgrade the Tails Installer copies not only
the necessary live system files but also all other files on the
same partition.

We could avoid this if our ISO (and thus, an installed Tails) was
shipped with a manifest (a list of its content). It might be that
live-build is able to generate this. Otherwise, hopefully a binary
local hook might do the job. Are you interested to look into this?

So if tails is installed on a USB stick or a SD card and the user
stored some other files on the same partition, those files will be
copied too.

FYI, we don't recommend nor support this usecase, since it encourages
people to plug their Tails USB stick into computers running untrusted
operating systems who could corrupt the installed Tails.

That's why we flag the Tails system partition so that it's hidden (in
operating systems that support such flags).

#2 Updated by intrigeri over 5 years ago

  • Category set to Installation
  • Status changed from New to Confirmed
  • Priority changed from Normal to Low

Given this is about an unsupported usecase, I'm setting a low priority on this ticket, which means: Tails core developers are unlikely to work on this, but good patches are welcome.

#3 Updated by segfault over 5 years ago

FYI, we don't recommend nor support this usecase, since it encourages
people to plug their Tails USB stick into computers running untrusted
operating systems who could corrupt the installed Tails.

That's a good point. I didn't think about this before. I can't find it in the documentation, maybe there should be a hint/warning?

#4 Updated by intrigeri over 5 years ago

I can't find it in the documentation, maybe there should be
a hint/warning?

Yes, maybe. Please file a ticket about that :)

#5 Updated by BitingBird almost 5 years ago

  • Affected tool set to Installer

#6 Updated by segfault over 3 years ago

  • Duplicated by Bug #11388: Tails Installer clones any garbage to any new device added

#7 Updated by sajolida over 3 years ago

  • Related to Bug #11387: Tails upgrader left garbage in Tails partition added

#8 Updated by sajolida over 3 years ago

In #11387 we learned that a failed upgrade is a legit scenario that can lead to garbage on the system partition. So this is not only about unsupported use cases.

#9 Updated by intrigeri over 3 years ago

In #11387 we learned that a failed upgrade is a legit scenario that can lead to garbage on the system partition. So this is not only about unsupported use cases.

... and there I've just argued that even if a failed upgrade is (of course :) a legit scenario, cloning the stick that failed to upgrade is not; and even though we fixed #7073, then we would mostly be hiding the biggest problem of the post-failed-upgrade cloning.

Now, I still think that we should fix #7073 some day, just not for that reason :)

Also available in: Atom PDF