Description of problem: A couple minutes after loggin into KDE, and after resuming from suspend, i see a message popping from tray, and it is also displayed in a terminal if i have one open: Broadcast message from root@T42p.tribun (Thu, 19 Apr 2012 00:53:36 +0200): Password entry required for 'Please enter passphrase for disk HTS721060G9AT00 (crypt_sda6)!' (PID 313). Please enter password with the systemd-tty-ask-password-agent tool! Well, sda6 is encrypted lvm in which /homencr is a logical volume, and where i have my home and as i write this it is apparently already mounted all OK.... What is the system trying to do, and why? How reproducible: Remind me to update and test similar systems... Note to self: machine T42p
CC: (none) => balcaen.john, lmenut, mageia
The reason it pops up in your tray is due to knotify agent catching and displaying wall[1] messages. I'm not specifically sure what will trigger this. Ultimately it's due to the various /lib/systemd/system/sytemd-ask-* units, but after that I'm not sure what specifically triggers things. I believe it's probably due to the directory: /run/systemd/ask-password not being empty in some capacity, but I'll try and find out more info. If you could list the contents of that folder that would be useful. 1. http://linux.about.com/library/cmd/blcmdl1_wall.htm
Created attachment 2041 [details] output from ls /lib/systemd/system
KDE is just the messenger here (removing luc & me as cc)
CC: balcaen.john => (none)Source RPM: (none) => systemd
CC: lmenut => balcaen.john
It was actually the directory /run/systemd/ask-password that I was interested in.
Yep, sorry. /run/systemd/ask-password is empty
Can you check that folder immediately after resume? It seems something is requesting a password, but likely gives up after a while. The Wall message will still go out tho' so you'll still see it. See here for further details: http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents
Yes you are right; During some seconds after wakening up there is this content: (output of ls to file, but copy-paste to here) ask.4jA5BF sck.8495087807915808906= And next time i recorded this: ask.RkliFQ sck.12828340277291397759= The message comes about a second after i see the desktop, after wakening from suspend and logging in (locked screensaver), and this recording is a couple seconds after that.
After another suspend+login i copied the contents of the ask.* file: (functions is explained in the link you gave in #6 ) [Ask] PID=1977 Socket=/run/systemd/ask-password/sck.11895936585405906522 AcceptCached=1 NotAfter=15439821339 Message=Please enter passphrase for disk HTS721060G9AT00 (crypt_sda6)! Icon=drive-harddisk
Thanks for that. I'll have to see if I can reproduce this setup to debug. Ultimately it's not a show stopper, but it would be nice to get this tidied up before release if possible.
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
@colin : Could you reproduce the error ? Roelof
CC: (none) => r.wobben
*** Bug 5657 has been marked as a duplicate of this bug. ***
@roelof, I totally forgot to try and reproduce this kind of setup. I'll try and keep this on my radar for some some kind of Virtual Machine marathon that will no doubt come up soon!
Now i have a fresh install mga2-64 on thinkpad T61 In a large encrypted partition i have a LVM containing /home, swap, /. ( Only /boot is outside encrypted partition and LVM ) No strange things seen. I also searched the logs. There is a "drive" listed in Dolphin side panel presumably corresponding to the encrypted partition. I can click it, KDE asks for password (after setting up kwallet), and then returns that the drive is already busy (I forgot the exact wording) So i guess this issue is no more.
OK, lets close it for now. If you notice it cropping up again, feel free to reopen. Thanks for the feedback.
Status: NEW => RESOLVEDResolution: (none) => WORKSFORME