All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Pearson <james-p@moving-picture.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: Odd NIS map failure with mount point creation time in the future?
Date: Sat, 18 Jun 2011 16:59:06 +0100	[thread overview]
Message-ID: <4DFCCB4A.4030900@moving-picture.com> (raw)
In-Reply-To: <1308392316.12881.14.camel@perseus.themaw.net>

Ian Kent wrote:
>>
>>Any idea why autofs fails to read entries from the included NIS map when 
>>the creation date of the map mount point is in the future? - but works 
>>fine when the same NIS map is referenced directly from /etc/auto.master?
> 
> 
> Don't know about the timestamp but there were some included map fixes in
> RHEL-5.7, at least one was a fix for a regression.
> 
> Versions?

Sorry, I should have said - this is CentOS 5.5 with autofs 
5.0.1-0.rc2.143.el5_5.6 - and I've also tried it with 
5.0.1-0.rc2.143.el5_6.2 - with the same result.

It is easy to reproduce - with an included NIS map - if I do:

/etc/init.d/autofs stop; date -s "1 minute"; /etc/init.d/autofs start; 
date -s "-1 minute"

This creates the automount mount point 1 minute into the future.

Then if I try to access a server defined in the NIS map, the mount fails.

However, if I wait a minute (i.e until the system clock passes the date 
stamp of the mount point), the automount of file systems in the NIS map 
works fine.

Is it possible to get a copy of the autofs RPM for RHEL-5.7 to test?

Thanks

James Pearson

  reply	other threads:[~2011-06-18 15:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 14:12 Odd NIS map failure with mount point creation time in the future? James Pearson
2011-06-18 10:18 ` Ian Kent
2011-06-18 15:59   ` James Pearson [this message]
     [not found]     ` <4DFD05CE.4060905@moving-picture.com>
2011-06-19  3:18       ` Ian Kent
2011-06-20 10:45         ` James Pearson
2011-06-20 13:40           ` 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=4DFCCB4A.4030900@moving-picture.com \
    --to=james-p@moving-picture.com \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /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.