Bug #8897

The link to persistence documentation in tails-persistence-setup doesn't trigger any user-visible action

Added by intrigeri 2015-02-12 21:00:16 . Updated 2018-09-05 16:19:11 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Persistence
Target version:
Start date:
2015-02-12
Due date:
% Done:

50%

Feature Branch:
feature/14594-asp-gui,t-p-s:feature/14594-asp-gui
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Additional Software Packages
Deliverable for:
299

Description

Tails 1.2.3, logged in with French locales. The link turns from blue to purple, though.


Files


Subtasks


Related issues

Related to Tails - Bug #5466: Link to documentation in Tails Installer does not open the documentation because it points to an old URL which is not properly redirected in Tails Resolved
Related to Tails - Bug #7989: Jessie: raw HTML is displayed in desktop notifications Resolved 2014-10-02 2015-10-15
Has duplicate Tails - Bug #15579: Link to documentation is broken in persistent storage configuration Duplicate 2018-05-05
Has duplicate Tails - Feature #15119: Link to documentation from persistence assistant Duplicate 2017-12-27

History

#1 Updated by intrigeri 2015-02-12 21:06:07

  • related to Bug #5466: Link to documentation in Tails Installer does not open the documentation because it points to an old URL which is not properly redirected in Tails added

#2 Updated by intrigeri 2015-02-12 21:21:58

t-p-s runs as its dedicated user. No big surprise it doesn’t manage to run the system’s default web browser (Tor Browser, defined in /etc/gnome/defaults.list, and in the x-www-browser and gnome-www-browser alternatives).

So far, our options seem to be:

  • switch back to using Yelp as the documentation viewer: needs to fix lots of bugs in it first
  • allow t-p-s to run some web browser (probably with a weird config and behaviour) as it own user
  • create a secure enough facility in Tails, to allow an application running as some user to open a URL in a web browser running as another user; in this case, t-p-s would open the link in the Tor Browser, or in the Unsafe Browser, running as the amnesia user; maybe there’s prior work in this area; maybe we’ll need something like this at some point; maybe it could “simply” be implemented with polkit rules + pkexec
  • anything else?

#3 Updated by intrigeri 2015-03-29 15:43:27

  • Target version changed from Tails_1.3.2 to Tails_1.4

#4 Updated by intrigeri 2015-04-09 11:53:30

  • Target version changed from Tails_1.4 to Hole in the Roof

This has been broken for too long, and I doubt I’ll have time to fix it in time for 1.4 => calling it a Hole in the Roof.

#5 Updated by intrigeri 2015-04-09 12:49:26

  • related to Bug #7989: Jessie: raw HTML is displayed in desktop notifications added

#6 Updated by BitingBird 2015-11-18 06:58:00

Still the case in Tails Jessie.

#7 Updated by segfault 2016-05-03 09:08:16

I think the link this ticket is about has been removed. I can’t see any link in the tails-persistence-setup GUI.

Also, I just tried to start the tor-browser as the tails-persistence-setup user. It gave an error about not being permitted to create “/home/tails-persistence-setup”. After creating the home directory, I was able to start the Tor Browser as this user. This only seems to work while the tails-persistence-setup GUI is running.

So maybe we could just create the home directory and put the link back in?

Edit: The Tor Browser run as tails-persistence-setup can’t connect to Tor. This (and other problems the different user will cause) might be confusing for users, since the browser window does not look any different than the normal Tor Browser. Maybe we should just leave the link out.

#8 Updated by intrigeri 2016-05-04 03:17:10

segfault wrote:
> I think the link this ticket is about has been removed. I can’t see any link in the tails-persistence-setup GUI.

There is definitely one when one starts persistence-setup and no persistent volume exists yet: <b>Beware!</b> Using persistence has consequences that must be well understood. Tails can't help you if you use it wrong! See <a href='file:///usr/share/doc/tails/website/doc/first_steps/persistence.en.html'>Tails documentation about persistence</a> to learn more. <- just tested and confirmed.

> Also, I just tried to start the tor-browser as the tails-persistence-setup user. It gave an error about not being permitted to create “/home/tails-persistence-setup”. After creating the home directory, I was able to start the Tor Browser as this user. This only seems to work while the tails-persistence-setup GUI is running.
>
> So maybe we could just create the home directory and put the link back in?
>
> Edit: The Tor Browser run as tails-persistence-setup can’t connect to Tor. This (and other problems the different user will cause) might be confusing for users, since the browser window does not look any different than the normal Tor Browser. Maybe we should just leave the link out.

FTR the link points to file:///, so we don’t care if it uses Tor or not. But yeah, firing up a browser (be it the Tor or Unsafe one) as the tails-persistence-setup user is bound to be confusing for users, let’s not do that.

#9 Updated by intrigeri 2018-01-02 16:19:10

  • Target version deleted (Hole in the Roof)

For Feature #15142 it’s very likely that the GUI will have to run as the amnesia user, and then this bug will be magically fixed. This bug has been around forever, so I don’t think it’s worth working on a temporary solution until then.

#10 Updated by intrigeri 2018-01-02 16:19:23

  • blocked by Feature #15142: Make tails-persistence-setup compatible with Wayland added

#11 Updated by intrigeri 2018-06-05 13:28:20

  • Target version set to Tails_3.8
  • Deliverable for set to 299

sajolida says that probably no link is better than a broken link. I’ll do that for now.

#12 Updated by intrigeri 2018-06-05 14:35:18

#13 Updated by intrigeri 2018-06-05 15:40:29

  • blocks deleted (Feature #15142: Make tails-persistence-setup compatible with Wayland)

#14 Updated by intrigeri 2018-06-05 15:41:11

(For now we’ll simply remove the link. Once Feature #15142 is done, if the lack of a link to the doc proves to be a problem, we can open a new ticket about re-adding such a link.)

#15 Updated by intrigeri 2018-06-05 16:00:08

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10
  • QA Check set to Ready for QA
  • Feature Branch set to feature/14594-asp-gui,t-p-s:feature/14594-asp-gui

Pushed something, let’s see how it goes.

#16 Updated by sajolida 2018-06-05 16:00:25

#17 Updated by sajolida 2018-06-05 16:31:49

  • Affected tool set to Additional Software Packages

#18 Updated by intrigeri 2018-06-06 07:34:33

  • File tps-without-link.png added
  • Assignee changed from intrigeri to sajolida
  • % Done changed from 10 to 50

The new string (with no link) renders as expected, see attached screenshot.

#19 Updated by sajolida 2018-06-25 15:32:57

  • Status changed from In Progress to Resolved
  • Assignee changed from sajolida to intrigeri

Cool! Did you do the merge already?

#20 Updated by sajolida 2018-06-25 15:33:10

  • QA Check changed from Ready for QA to Pass

#21 Updated by intrigeri 2018-06-25 18:42:35

sajolida wrote:
> Cool! Did you do the merge already?

I did this work on the ASP topic branches (see the “Feature Branch” field). They’ll be merged into devel whenever those branches are ready, i.e. in principle in time for 3.9 (the initial goal was to merge by the end of June but we’re not there yet I think).

#22 Updated by sajolida 2018-07-16 13:48:57

  • has duplicate Bug #15579: Link to documentation is broken in persistent storage configuration added

#23 Updated by sajolida 2018-07-16 13:49:29

  • has duplicate Feature #15119: Link to documentation from persistence assistant added

#24 Updated by sajolida 2018-07-16 13:50:28

This belongs more to Feature #14548 than to Bug #15567. Sorry for the mess…

#25 Updated by sajolida 2018-07-16 13:51:55

  • Status changed from Resolved to Fix committed
  • Target version changed from Tails_3.8 to Tails_3.9

This is not solved in 3.8 but will be merged with Additional Sofware into 3.9.

#26 Updated by intrigeri 2018-07-25 00:14:18

  • Assignee deleted (intrigeri)

#27 Updated by intrigeri 2018-09-05 16:19:11

  • Status changed from Fix committed to Resolved