Feature #6017

Ensure that the emergency shutdown works while the screen is locked

Added by Tails 2013-07-18 07:49:29 . Updated 2016-09-04 03:30:44 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

The following sentence might pretend that the locked screen interacts badly with the emergency shutdown:

"When the screen is locked, it’s not possible to quickly shutdown the computer properly (i.e. with memory erasure): the computer’s shutdown button is inhibited, and the fact to put out Tails’ device does not shut the computer down."


Subtasks


History

#1 Updated by Tails 2013-07-18 10:41:03

#2 Updated by intrigeri 2013-07-19 02:49:20

  • Priority changed from Normal to Elevated

#3 Updated by BitingBird 2014-06-09 10:11:01

  • Subject changed from ensure that the emergency shutdown works while the screen is locked to Ensure that the emergency shutdown works while the screen is locked
  • Starter set to No

#4 Updated by BitingBird 2015-08-25 14:30:17

  • Target version set to 2017

Same milestone as parent ticket

#5 Updated by intrigeri 2016-01-03 18:01:39

sajolida says “I tested that and it works on Tails Jessie” so I think we can close this ticket.

#6 Updated by sajolida 2016-01-04 11:19:20

  • Status changed from Confirmed to Resolved

Yeah!

#7 Updated by intrigeri 2016-08-23 00:49:16

  • Status changed from Resolved to In Progress
  • Assignee set to segfault

Bug #7334#note-13 says that this does not work. segfault, can you please have a look?

#8 Updated by segfault 2016-08-24 06:47:13

  • Type of work changed from Test to Code

Unplugging the device works. But the power button does indeed not work in the lockscreen. Is this a blocker? I could not find out how to get signalled that the power button was pressed. There are some related signals on dbus from systemd-logind, but nothing we could use for this. Maybe someone who knows this already could explain how the emergency shutdown gets triggered by the power button currently? anonym maybe?

#9 Updated by segfault 2016-08-24 06:47:31

  • Assignee changed from segfault to anonym

#10 Updated by sajolida 2016-08-25 03:36:15

I don’t think that’s a blocker.

#11 Updated by sajolida 2016-08-25 03:37:39

  • Target version changed from 2017 to Tails_2.6
  • QA Check set to Info Needed

Marking this as “Info Needed” because I understand that you assigned it to anonym for more info (and not for coding). Also putting it for 2.6, to get a quicker answer.

#12 Updated by intrigeri 2016-08-25 04:25:56

> I don’t think that’s a blocker.

Agreed.

#13 Updated by intrigeri 2016-08-31 04:09:07

  • Assignee changed from anonym to segfault
  • QA Check deleted (Info Needed)

First of all, what we call “emergency shutdown” is the one triggered by plugging the boot device out. What is triggered by the power button is normal shutdown. I’m pretty sure it’s handled by systemd-logind.

#14 Updated by sajolida 2016-09-04 01:57:52

I think that triggering nothing when pressing the power button while the screen is locked is no problem. So maybe this is Ready for QA?

#15 Updated by sajolida 2016-09-04 02:02:14

  • QA Check set to Info Needed

segfault: So maybe we can close this?

#16 Updated by segfault 2016-09-04 03:30:44

  • Status changed from In Progress to Resolved
  • Assignee deleted (segfault)
  • QA Check deleted (Info Needed)

> segfault: So maybe we can close this?
If the “emergency shutdown” is only the one triggered by unplugging the boot device, this is solved and can be closed. (I wonder why this ticket was reopened in the first place, because Bug #7334#note-13 is only about the power button not working)