Bug #9966

Remove references to .xsession-errors on Jessie

Added by intrigeri 2015-08-11 07:00:47 . Updated 2015-11-09 07:59:20 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Target version:
Start date:
2015-08-11
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:
269

Description

This file isn’t created/filled anymore. The logs now live in the journal. At least Tails Upgrader points users there, and should be updated.


Subtasks


History

#1 Updated by intrigeri 2015-08-11 07:00:58

  • blocks #8668 added

#2 Updated by intrigeri 2015-08-26 06:02:16

  • Deliverable for set to 269

#3 Updated by intrigeri 2015-11-09 05:41:32

  • Subject changed from Remove references to .xession-errors on Jessie to Remove references to .xsession-errors on Jessie

#4 Updated by intrigeri 2015-11-09 05:44:08

  • Status changed from Confirmed to In Progress
  • % Done changed from 0 to 10

intrigeri wrote:
> At least Tails Upgrader points users there, and should be updated.

I’ve verified that nothing else points to that file.

#5 Updated by intrigeri 2015-11-09 06:31:58

So, the upgrader points to ~/.xsession-errors on failure, because it currently has no means to display debugging info in its own GUI. And thus it prints debugging info on stdout/stderr, and that info lands into:

  • on Wheezy: ~/.xsession-errors which is user readable
  • on Jessie: into the systemd Journal (in Jessie) which can only be read by root, but is included in WhisperBack reports.

I’ve looked at the places where we point to .xsession-errors, and every time, either we can instruct the user to try something themselves, and then we do it (and generally we point to a dedicated doc page); or nobody but developers will be able to do much about the error anyway, so best would be to report a bug (and the report will include the debugging info by default) => IMO we should suggest to report a bug instead of pointing to ~/.xsession-errors. Still we need to be careful because some of these errors happen after we’ve disabled the network; in those cases a technical enough user would benefit from looking in the Journal instead of manually reporting a bug without the debugging info (since they can’t use WhisperBack offline); let’s assume that those people will quickly learn how to use journalctl if they didn’t yet.

#6 Updated by intrigeri 2015-11-09 06:37:18

Actually the smallest possible change is to instruct to use sudo tails-debugging-info instead of ~/.xsession-errors. This works even without an admin password because WhisperBack needs it, at least until we run WhisperBack as a dedicated user.

#7 Updated by intrigeri 2015-11-09 07:11:05

  • % Done changed from 10 to 20

intrigeri wrote:
> Actually the smallest possible change is to instruct to use sudo tails-debugging-info instead of ~/.xsession-errors. This works even without an admin password because WhisperBack needs it, at least until we run WhisperBack as a dedicated user.

Done in iuk.git:feature/jessie, commit 9c7d22992e236cc5750977c4e86bb4ed3fd01155.

#8 Updated by intrigeri 2015-11-09 07:59:20

  • Status changed from In Progress to Resolved
  • Assignee deleted (intrigeri)
  • % Done changed from 20 to 100

done in tails-iuk 1.27-1+jessie1