mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nick Murtagh <murtaghn@tcd.ie>
To: Ville Herva <vherva@niksula.hut.fi>
Cc: linux-kernel@vger.kernel.org
Subject: Re: strange su behaviour
Date: Sat, 2 Mar 2002 17:54:46 +0000	[thread overview]
Message-ID: <20020302175446.EAB87C08@mail.tcd.ie> (raw)
In-Reply-To: <20020302001706.9CCCBC7B@mail.tcd.ie> <20020302090832.GT1105@niksula.cs.hut.fi>
In-Reply-To: <20020302090832.GT1105@niksula.cs.hut.fi>

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

      parent reply	other threads:[~2002-03-02 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02  0:17 Nick Murtagh
     [not found] ` <20020302090832.GT1105@niksula.cs.hut.fi>
2002-03-02 17:54   ` Nick Murtagh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020302175446.EAB87C08@mail.tcd.ie \
    --to=murtaghn@tcd.ie \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vherva@niksula.hut.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®