The -r did the trick. Basically there was a bug in pam_xauth where it
was calling ftruncate with an un-initialised off_t length. Hence it
was trying to ftruncate a 34 byte file to > 100 megabytes.
The ftruncate manpage says that the behaviour in this circumstance is
undefined. I will investigate further to see why different kernel
versions are acting differently here.
Thanks for your help.
Nick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/