Stef Bon wrote: > 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.
Yes, that's a good idea and we've thought about doing a control program several times in the past but, it's quite a bit of work and is well outside the scope for the 5.0 series. > > 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. And we need to fix the reloading problem anyway. I've had a brief look around regarding your report and hope to get back to it and spend more time on it soon, sorry. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
