[Pkg-acpi-devel] Bug#700696: Bug#700696: acpi-support: race in sleep script delays screen locking to after resume

Michael Meskes meskes at debian.org
Sun Feb 17 08:16:52 UTC 2013


On Sat, Feb 16, 2013 at 11:43:21AM +0100, Tormod Volden wrote:
> http://anonscm.debian.org/gitweb/?p=pkg-acpi/acpi-support.git;a=commitdiff;h=9fb9c28886b4002306428ac2b7ff04779bd0e0cb
> changed the xscreensaver-command -lock invocation to be run in
> background. This results in /etc/acpi/sleep_suspend.sh calling
> pm-suspend before the locking has been done.

This is not true, this commit only merges some patches. The real commit was
d2d1c0a283de8695f3681fb211e49633f11cba18. You can see its history on
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593303.

> Upon resuming from sleep, the screen is displayed for a second before
> the screensaver fades the screen and locks it. Some users consider this
> a security issue.

I tend to agree, although a second seems to be stretching it. 

> Simply removing the backgrounding &'s fixes the issue.

But re-open #593303. Surely security is mor eimportant than speed, but maybe we
can find a way to satisfy both.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



More information about the Pkg-acpi-devel mailing list