* strange su behaviour
@ 2002-03-02 0:17 Nick Murtagh
[not found] ` <20020302090832.GT1105@niksula.cs.hut.fi>
0 siblings, 1 reply; 2+ messages in thread
From: Nick Murtagh @ 2002-03-02 0:17 UTC (permalink / raw)
To: linux-kernel
Hi
When I exit from su in X, it takes about 10 seconds to return
to the command prompt. This doesn't happen in console mode.
I'm using Mandrake 8.1.
This didn't happen in
2.4.17-mjc1
But does happen in
2.4.18-pre7-ac2
2.4.19-pre2
I know this is not exactly a major problem or anything,
but it's starting to bug me :)
Anyone got any ideas?
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strange su behaviour
[not found] ` <20020302090832.GT1105@niksula.cs.hut.fi>
@ 2002-03-02 17:54 ` Nick Murtagh
0 siblings, 0 replies; 2+ messages in thread
From: Nick Murtagh @ 2002-03-02 17:54 UTC (permalink / raw)
To: Ville Herva; +Cc: linux-kernel
On Saturday 02 March 2002 09:08, Ville Herva wrote:
> Well, you could try to strace it to see where it lurks when it hangs.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-02 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-02 0:17 strange su behaviour Nick Murtagh
[not found] ` <20020302090832.GT1105@niksula.cs.hut.fi>
2002-03-02 17:54 ` Nick Murtagh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®