Project

General

Profile

Bug #13206

Install by cloning sometimes silently fails from a stick installed with UUI

Added by goupille 4 months ago. Updated 5 days ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
09/29/2017
Due date:
% Done:

0%

QA Check:
Info Needed
Feature Branch:
Type of work:
Research
Blueprint:
Easy:
Affected tool:
Installer

Description

some users reported that, after clicking on "install by cloning", the window just shut down without any error message. It was reported by users trying to clone from a Tails 3.0 installed with UUI and by someone using Tails 3.0 inside virtualbox. sadly there are no logs to provide.

Team: spriver, sajolida


Subtasks

Feature #14734: Test "Clone the current Tails" onto a stick installed by UUI but with an NTFS system partitionNewsajolida


Related issues

Related to Tails - Bug #10984: Test Rufus Confirmed 01/22/2016
Related to Tails - Feature #14448: Consider documenting Rufus as a workaround in case UUI doesn't work Confirmed 08/24/2017
Related to Tails - Feature #14447: Replace UUI with Win32 Disk Imager Confirmed 08/24/2017

History

#1 Updated by intrigeri 4 months ago

  • Subject changed from Install by cloning sometimes silently fails to Install by cloning sometimes silently fails from a stick installed with UUI
  • Category set to Installation

#2 Updated by intrigeri 4 months ago

  • Status changed from New to Confirmed
  • Assignee changed from intrigeri to goupille
  • QA Check set to Info Needed

The info I need is:

  • how exactly was the device installed/upgraded
  • the full output of the tails-installer-launcher command, started in a Terminal

Thanks!

#3 Updated by goupille 4 months ago

  • Assignee changed from goupille to intrigeri
  • QA Check changed from Info Needed to Dev Needed

I sent the asked informations to intrigeri, re-assigning the ticket

#4 Updated by goupille 4 months ago

the user reported that "upgrade from iso" "install by cloning" and "upgrade by cloning" had the same result, the window shutdown with no error message.

#5 Updated by sajolida 3 months ago

Happy to try to test this myself on my Windows machine if needed.

#6 Updated by emmapeel 3 months ago

On the logs of another affected user, on a Tails installed with UUI, I can read:

ug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]: Traceback (most recent call last):
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:   File "/usr/lib/tails_installer/tails-installer", line 105, in <module>
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:     main()
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:   File "/usr/lib/tails_installer/tails-installer", line 99, in main
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:     win = TailsInstallerWindow(opts=opts, args=sys.argv)
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:   File "/usr/lib/python2.7/dist-packages/tails_installer/gui.py", line 325, in __init__
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:     path=config['running_liveos_mountpoint'])
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:   File "/usr/lib/python2.7/dist-packages/tails_installer/source.py", line 67, in __init__
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:     self.size = _dir_size(self.path)
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:   File "/usr/lib/python2.7/dist-packages/tails_installer/utils.py", line 57, in _dir_size
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]:     for item in os.listdir(source):
Aug 01 16:42:35 amnesia tails-installer-launcher.desktop[21621]: OSError: [Errno 13] Permission denied: '/lib/live/mount/medium'

The USB stick is easily open with the File manager, and the problem happens with it mounted or not (user tested the USB stick)

#7 Updated by sajolida 3 months ago

#8 Updated by sajolida 3 months ago

And once someone managed to use Rufus successfully it would be interesting to see if Tails Installer behaves differently on a USB stick installed using Rufus. Linking this ticket to #10984.

#9 Updated by emmapeel 2 months ago

intrigeri wrote:

The info I need is:
[...]
  • the full output of the tails-installer-launcher command, started in a Terminal

Another friendly user has sent this output:


(tails-installer-launcher:16536): Gtk-WARNING **: Allocating size to GtkBox
0x5586c31b48b0 without calling gtk_widget_get_preferred_width/height(). How
does the code know the size to allocate?

(tails-installer-launcher:16536): Gtk-WARNING **: Allocating size to GtkBox
0x5586c31b48b0 without calling gtk_widget_get_preferred_width/height(). How
does the code know the size to allocate?

Traceback (most recent call last):

  File "/usr/lib/tails_installer/tails-installer", line 105, in <module>

    main()

  File "/usr/lib/tails_installer/tails-installer", line 99, in main

    win = TailsInstallerWindow(opts=opts, args=sys.argv)

  File "/usr/lib/python2.7/dist-packages/tails_installer/gui.py", line 325,
in __init__

    path=config['running_liveos_mountpoint'])

  File "/usr/lib/python2.7/dist-packages/tails_installer/source.py", line
67, in __init__

    self.size = _dir_size(self.path)

  File "/usr/lib/python2.7/dist-packages/tails_installer/utils.py", line
57, in _dir_size

    for item in os.listdir(source):

OSError: [Errno 13] Permission denied: '/lib/live/mount/medium'

#10 Updated by emmapeel 2 months ago

A user having this problem with UUI has made a USB stick with Rufus, and the problem was not there anymore.

Ha!

Message-Id: <>

#11 Updated by sajolida 2 months ago

It's good that you reference the Message-Id!

#12 Updated by sajolida 2 months ago

If the foundations team thinks that providing an older version of UUI might be an option, I'm happy to dig into my archives.

#13 Updated by BitingBird about 2 months ago

  • Description updated (diff)
  • Target version set to 2018

#14 Updated by intrigeri about 2 months ago

  • Assignee changed from intrigeri to emmapeel
  • % Done changed from 0 to 100
  • QA Check changed from Dev Needed to Info Needed

Thanks for the logs, that's interesting. There seems to be something wrong (early guess: either filesystem type, or filesystem options, or permissions) with the system installed by UUI.

goupille, emmapeel, I need:

  • the full output of the export DEBUG=1 ; tails-installer-launcher command (started in a Terminal) when this happens
  • the output of ls -lAR /lib/live/mount/medium
  • the output of mount -l
  • the output of df -T
  • the output of lsblk

Thanks in advance!

#15 Updated by intrigeri 27 days ago

In a bug report (96cd2bb82a726017b5e53c70590c1388) I've received I see:

/dev/sda1 ntfs 1.9G 1.2G 749M 61% /lib/live/mount/medium

i.e. whatever software was used to install Tails on that medium created, or reused, a NTFS filesystem. Either that software is buggy, or the user didn't follow our doc that says "Select the Fat32 Format Drive option", or our doc is outdated wrt. current UUI and the user was confused.

=> Help desk, next time you see people with this problem, ask them the output of mount -l and if /lib/live/mount/medium is NTFS, point them to our installation doc so they get themselves a correct Tails. And if you see this problem again with a proper FAT32 system partition, see my previous comment about what info I need.

sajolida & anonym: I'm not sure if we're lucky that this drive booted at all: I have no idea if booting from NTFS gives a correctly working Tails or not, and I'm pretty sure that drive won't boot in UEFI mode. Ideally, we should tell the user earlier (without waiting for something to break in an obvious way like this ticket shows) that their Tails is wrong. Cheap way: add a check + desktop notification pointing to the installation doc. Better, but harder way: add a check run at or before the Greeter, and instead of the regular Greeter window display an error + the installation doc. I don't know how high priority this would be.

#16 Updated by sajolida 19 days ago

  • Related to Feature #14448: Consider documenting Rufus as a workaround in case UUI doesn't work added

#17 Updated by sajolida 19 days ago

#18 Updated by rolan 5 days ago

Programs like Universal-USB-installer will format as NTFS without warning despite the selected "FAT32 option" when installing to a thumbdrives larger than 32GB.

#19 Updated by rolan 5 days ago

rolan wrote:

Programs like Universal-USB-installer will format as NTFS without warning despite the selected "FAT32 option" when installing to a thumbdrive larger than 32GB.

Also available in: Atom PDF