Comment 4 for bug 354378

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 354378] Re: policykit unlock dialog freezes when a kerberor password is typed

On Fri, 2009-04-03 at 11:09 +0000, Gianfranco Liporace wrote:
> Hi James,
> attached there is an strace of polkit-gnome-manager (hope this is the correct process to monitor).
> In line '13:01:23.119686' I masked my password.

Thanks, that's a good start.

[pid 9032] 13:01:23.119736 read(25, "PAM_TEXT_INFO Warning: Your
passw"..., 4096) = 60
[pid 9032] 13:01:23.143472 write(1, "(polkit-gnome-manager:9032): Poli"..., 109) = 109
[pid 9032] 13:01:23.143531 read(25, <unfinished ...>

so pam gives a warning about your password. I wonder what that is, have you seen it
elsewhere?

The next thing is polkit-gnome-manager writing out a warning. Could you look
in ~/.xsession-errors to see if the warning is in there. This file is not
appended to after a while, so logging out and back in again, then reproducing
may help you find it there.

The last bit is it hanging on a read from an fd, the same fd that the pam
warning came from.

My guess is that the message is that your password will expire soon, but I'm not
sure why that would cause it to hang.

If we know what is going on in the PAM process then we can have some idea of what
it may be waiting for.

Easier than searching for the messages may be to strace again, but with
"strace -f -s 255", which should give enough information in the file itself
about what the warnings are.

Thanks,

James