All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Bon <stef@bononline.nl>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: ldap and reloading
Date: Mon, 08 Jun 2009 17:03:46 +0200	[thread overview]
Message-ID: <4A2D2852.6090501@bononline.nl> (raw)
In-Reply-To: <4A2D0FB2.6000609@themaw.net>

Ian Kent wrote:
> Ondrej Valousek wrote:
>   
>> Talking about ldap maps reloading - maybe it is worth mentioning that if 
>> you configure automounter using the recently added DNS SRV support, 
>> automounter reloads itself as per zone TTL in DNS (that includes the 
>> master map, too) - right Ian?
>> Ondrej
>>
>>     
> Not quite.
>
> On re-load, if the last time we got the list of servers is greater than
> the ttl it will lookup there server list again before attempting to read
> from them. Map entry lookups them selves don't check this ttl so a
> re-load is only done if we think the map has changed.
>   

Well, this is all getting very complicated. Too complicated for me.

The only thing I'm using autofs for is creating a autofs managed 
directory in the homedirectory, for mounting local (USB) and remote (SMB 
shares) resources. To make this work, the autofs daemon has to reread 
the configuration of maps multiple times.

It would be so much easier if there is a sort of autofsctl utility for 
adding/removing mountpoints, and changing maps.

for example:

a. add a mounpoint and map.
b. delete a mountpoint

c. change a map.

Now when something changes, the global remounter gets a reload signal, 
which is still buggy. I'm still having problems here, but since I've 
upgraded the kernel to linux-2.6.29.4 I've got less problems.

Stef

  reply	other threads:[~2009-06-08 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-07  8:38 ldap and reloading Stef Bon
2009-06-08  2:00 ` Ian Kent
2009-06-08  9:09   ` Stef Bon
2009-06-08  9:33     ` Ian Kent
2009-06-08 10:16       ` Ondrej Valousek
2009-06-08 13:18         ` Ian Kent
2009-06-08 15:03           ` Stef Bon [this message]
2009-06-09  3:19             ` 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=4A2D2852.6090501@bononline.nl \
    --to=stef@bononline.nl \
    --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.