Feature #12373

Greeter should honor "debug" kernel command line parameter

Added by alant 2017-03-18 23:05:02 . Updated 2020-04-15 06:01:39 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
2017-03-18
Due date:
% Done:

100%

Feature Branch:
feature/12373-honor-debug-kernel-cmdline
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description

To debug greeter issues, it would be very useful to have debug logs of the greeter. To do that, one currently need to set a root password, go to a text console, change a file and restart the greeter. Not only this is a comlplicated process, but it also make it impossible to debug issues that only happen at the 1st start of the greeter. Let’s make the greeter set logging level to debug when it sees “debug” on the kernel command line.


Subtasks


Related issues

Related to Tails - Feature #12399: Add support for debug cmdline option in Whisperback Resolved 2017-03-20
Related to Tails - Feature #12396: Honor the "debug" kernel cmdline option in Tails Installer Confirmed 2017-03-20
Related to Tails - Feature #12395: Honor the "debug" kernel cmdline option in persistence-setup Confirmed 2017-03-20

History

#1 Updated by alant 2017-03-18 23:56:47

  • Subject changed from Greeter sould honor "debug" kernel command line parameter to Greeter should honor "debug" kernel command line parameter
  • Status changed from Confirmed to In Progress
  • Target version set to Tails_3.0
  • Feature Branch set to feature/12373-honor-debug-kernel-cmdline

This should be fixed in feature/12373-honor-debug-kernel-cmdline. Unfortunately local build is broken because of Bug #12374. In ISO should be building on jenkins to test that branch.

#2 Updated by alant 2017-03-19 00:36:53

  • Assignee changed from alant to intrigeri
  • QA Check set to Ready for QA

This works in a real ISO. Please merge greeter’s feature/12373-honor-debug-kernel-cmdline to feature/stretch.

#3 Updated by intrigeri 2017-03-19 09:00:39

  • Priority changed from Normal to Elevated
  • Parent task deleted (Bug #12364)

#4 Updated by intrigeri 2017-03-19 09:00:55

  • blocks Bug #12364: Race condition at greeter startup added

#5 Updated by intrigeri 2017-03-19 09:10:07

  • Assignee changed from intrigeri to bertagaz
  • % Done changed from 0 to 50

#6 Updated by bertagaz 2017-03-19 10:55:13

  • Status changed from In Progress to Fix committed
  • Assignee deleted (bertagaz)
  • % Done changed from 50 to 100
  • QA Check changed from Ready for QA to Pass

alant wrote:
> This works in a real ISO. Please merge greeter’s feature/12373-honor-debug-kernel-cmdline to feature/stretch.

Confirm it works. The journal gets bloated with a lot of other messages. It grows in size compared when started without debug, but not to a scary extend: after login, in a normal session it grows to 8Mb, with debug it grows to 24Mb, so that’s still affordable. Merged!

#7 Updated by bertagaz 2017-03-19 11:04:45

  • Status changed from Fix committed to Resolved
  • QA Check deleted (Pass)

#8 Updated by alant 2017-03-19 16:30:51

#9 Updated by alant 2017-03-19 16:32:41

  • blocked by deleted (Bug #12364: Race condition at greeter startup)

#10 Updated by Anonymous 2018-01-16 08:35:22

  • related to Feature #12399: Add support for debug cmdline option in Whisperback added

#11 Updated by Anonymous 2018-01-16 08:35:58

  • related to Feature #12396: Honor the "debug" kernel cmdline option in Tails Installer added

#12 Updated by Anonymous 2018-01-16 08:36:22

  • related to Feature #12395: Honor the "debug" kernel cmdline option in persistence-setup added

#13 Updated by intrigeri 2020-04-15 06:01:39

  • Affected tool changed from Greeter to Welcome Screen