All of lore.kernel.org
 help / color / mirror / Atom feed
From: raven@themaw.net
To: Jeff Moyer <jmoyer@redhat.com>
Cc: autofs@linux.kernel.org, Keith Owens <kaos@ocs.com.au>
Subject: Re: Limit on return string from program map
Date: Mon, 20 Dec 2004 23:14:38 +0800 (WST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0412202312480.8019@donald.themaw.net> (raw)
In-Reply-To: <16838.59899.527170.54922@segfault.boston.redhat.com>

On Mon, 20 Dec 2004, Jeff Moyer wrote:

> ==> Regarding Re: [autofs] Limit on return string from program map; Ian Kent <raven@themaw.net> adds:
>
> raven> On Fri, 17 Dec 2004, Jeff Moyer wrote:
>>> ==> Regarding Re: [autofs] Limit on return string from program map; Jeff
>>> Moyer <jmoyer@redhat.com> adds:
>>>
>>> ==> Regarding Re: [autofs] Limit on return string from program map; Ian
>>> Kent <raven@themaw.net> adds:
> raven> On Thu, 16 Dec 2004, Keith Owens wrote:
>>>>>> Kernel 2.6.9, autofs v4 as a module, autofs-4.1.3-28 (FC3).  I added
>>>>>> "/net /etc/auto.net" to /etc/auto.master and it works fine, up to a
>>>>>> point.  ps shows
>>>>>>
>>>>>> /usr/sbin/automount --timeout=60 /net program /etc/auto.net
>>>>>>
>>>>>> If the target server has a lot of mounted filesystems then automount
>>>>>> will only mount the first few entries on the list.  Then it tries to
>>>>>> run mount with invalid input.  It looks like there is a hard coded
>>>>>> limit on the string that automount expects from a program map.  My
>>>>>> virtual CD server has lots of CD images mounted over loopback, each
>>>>>> with its own export entry, so the return string from auto.net is
>>> quite >>> long.
>>>
> raven> The buffer size for map entries is 4096.
>>>
> jmoyer> I think I posted a patch here that would extend that?  I can't seem
> jmoyer> to find it in the archives, so I'll repost.  This is the version of
> jmoyer> the patch that is in our tree, so no guarantees about it applying
> jmoyer> to Ian's tree.  *sigh* (patch originally done by from Neil Horman)
>>>
> jmoyer> Ian, when is 4.1.4 coming out.  ;-)
>>> Bah, and it was just pointed out to me that this patch adds a bug.  I'll
>>> repost the patch when the bug is fixed.  (see red hat bz #138994).
>>>
>>> No ETA just yet.
>
> raven> OK.
>
> raven> I think I've already merge the above patch.  I'll look forward to
> raven> the fix.
>
> New patch attached.  Let me know if you need an incremental.  This is as of
> yet untested.

Incremental would probably be better if it's not to much trouble.

There will have to be quite a bit of testing when I'm finished patching. I 
expect it won't even compile first off.

Ian

  parent reply	other threads:[~2004-12-20 15:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-16  6:27 Limit on return string from program map Keith Owens
2004-12-17  6:23 ` Ian Kent
2004-12-17 15:19   ` Jeff Moyer
2004-12-17 15:40     ` Thomas Jahns
2004-12-17 16:09       ` Jeff Moyer
2004-12-17 17:28     ` Jeff Moyer
2004-12-18  3:23       ` Ian Kent
     [not found]         ` <16838.59899.527170.54922@segfault.boston.redhat.com>
2004-12-20 15:14           ` raven [this message]
2004-12-17 17:35     ` 4.1.4? Greg Bradner
2004-12-18  3:22       ` 4.1.4? Ian Kent

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=Pine.LNX.4.61.0412202312480.8019@donald.themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=jmoyer@redhat.com \
    --cc=kaos@ocs.com.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.