Brice Figureau <[EMAIL PROTECTED]> writes:

> Since yesterday I have the same trouble.
> So I looked closer to the problem, and surprisingly it comes from pam.
> Here is what I've found:
> 
> By strace'ing su I discovered that the time wasted at exit was due to a
> huge ftruncate call (something was truncating the .xauth/root/<your X
> display> file to about 1Gbyte, and then mmap'ing this in RAM) thus
> driving the kernel crazy.
> 
> I then further discovered that this was the pam_xauth module that was
> causing this. So I put it in debug (adding debug in the /etc/pam.d/su
> file just in front of then pam_xauth line).
> 
> Then I grabbed the source, and had a look to them. I find that at some
> point an uninitalized variable (a.size struct member) was used, so its
> value could be anything.

Very interesting! Thanks for your time passed on this! I bet
flepied (maintainer for pam) will closely look at your patch!


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

Reply via email to