Re: Bug#416824: klaptopdaemon: lock & hibernate allowing unauthorised access
On Wed, Apr 04, 2007 at 08:55:19AM +0200, Raúl Sánchez Siles wrote: > El Lunes, 2 de Abril de 2007 20:42, Marc Haber escribió: > > On Mon, Apr 02, 2007 at 04:48:04PM +0100, Ana Guerrero wrote: > > > anyone has experiment something like this: > > > > > > On Fri, Mar 30, 2007 at 03:39:02PM +0100, Sheridan Hutchinson wrote: > > > > Depending on the load on the system, klaptopdaemon appears to be > > > > allowing somone unhibernating a locked & hibernated system, brief > > > > access to the desktop. > > I think the first step step is knowing what procedure is used in order to > hibernate. Is this guy using the hibernate scripts? is he using suspend or > suspend2 method ? How do I find out what I use? > True, so if we want kdelaptop solves the problem we should use a solution > as > the one proposed by Sune, or alternatively we would need to get a verbose > hibernate log and analyse it, increasing the LogVerbosity value up to 9 in > the hibernate common.conf located at /etc/hibernate. I do not have an /etc/hibernate directory. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#416824: klaptopdaemon: lock & hibernate allowing unauthorised access
El Miércoles, 4 de Abril de 2007 11:34, Marc Haber escribió: > On Wed, Apr 04, 2007 at 08:55:19AM +0200, Raúl Sánchez Siles wrote: > > El Lunes, 2 de Abril de 2007 20:42, Marc Haber escribió: > > > On Mon, Apr 02, 2007 at 04:48:04PM +0100, Ana Guerrero wrote: > > > > anyone has experiment something like this: > > > > > > > > On Fri, Mar 30, 2007 at 03:39:02PM +0100, Sheridan Hutchinson wrote: > > > > > Depending on the load on the system, klaptopdaemon appears to be > > > > > allowing somone unhibernating a locked & hibernated system, brief > > > > > access to the desktop. > > > > I think the first step step is knowing what procedure is used in order > > to hibernate. Is this guy using the hibernate scripts? is he using > > suspend or suspend2 method ? > > How do I find out what I use? > > > True, so if we want kdelaptop solves the problem we should use a > > solution as the one proposed by Sune, or alternatively we would need to > > get a verbose hibernate log and analyse it, increasing the LogVerbosity > > value up to 9 in the hibernate common.conf located at /etc/hibernate. > > I do not have an /etc/hibernate directory. > > Greetings > Marc > From this I guess you are using uswsusp. please check that package hibernate is _not_ installed and that uswsusp _is_. If you don't know how to do this check the existance of the dirs /usr/share/doc/uswsusp and /usr/share/doc/hibernate. If the dir doesn't exist, then the package is not installed. Unfortunately I thing I ran out of ideas, so maybe tweaking klaptopdaemon code would be the only solution. In this case, maybe some chat with kde people would help to do a sensible thing with this. -- Raúl Sánchez Siles ->Proud Debian user<- Linux registered user #416098 pgpWy6UtVs9GB.pgp Description: PGP signature
Re: Bug#416824: klaptopdaemon: lock & hibernate allowing unauthorised access
On Wed, Apr 04, 2007 at 07:23:11PM +0200, Raúl Sánchez Siles wrote: > From this I guess you are using uswsusp. please check that package > hibernate > is _not_ installed and that uswsusp _is_. $ dpkg --list hibernate No packages found matching hibernate. [2/[EMAIL PROTECTED]:~$ dpkg --list uswsusp Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- un uswsusp (no description available) > If you don't know how to do this I am a DD ;) just inexperienced with suspend/hibernate stuff. > check the existance of the dirs /usr/share/doc/uswsusp and > /usr/share/doc/hibernate. [3/[EMAIL PROTECTED]:~$ ls -al /usr/share/doc/uswsusp ls: /usr/share/doc/uswsusp: No such file or directory [4/[EMAIL PROTECTED]:~$ ls -al /usr/share/doc/hibernate ls: /usr/share/doc/hibernate: No such file or directory [5/[EMAIL PROTECTED]:~$ > If the dir doesn't exist, then the package is not installed. Looks like neither is. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Bug#416824: klaptopdaemon: lock & hibernate allowing unauthorised access
forwarded 416824 https://bugs.kde.org/show_bug.cgi?id=143859 thanks El Martes, 3 de Abril de 2007 00:01, Sune Vuorela escribió: > > > Hi, I'm using Etch RC2 and I use klaptopdaemon to lock and hibernate my > > > laptop when I noticed an interesting little bug. I access lock and > > > hibernate by right-clicking on the system tray icon and clicking on the > > > option there. > > I have absolutely only very little clue about this, but I took a look at > the klaptopdaemon sources - and it seems it invokes the lock command and > after that it invokes hibernate. > > It might be that the lock command returns immediately while the locking can > be delayed for some reasons. > After some conversation on #kde they pointed me the reason is indeed that, but instead of carrying out the test Sune proposed it suggested me a "smarter kde way" (TM) which consists of substituing the asynchronous "send" dcop API call by a "call" which is synchronous. I also opened a bug on kde and there is a proposed patch -- Raúl Sánchez Siles ->Proud Debian user<- Linux registered user #416098 pgpIKgTP5PcUf.pgp Description: PGP signature