On Fri, 9 Jul 2004 [EMAIL PROTECTED] wrote: I'm having difficulty understanding the problem you describe.
> We have a problem. Here are the conditions: > > 1. Shell is (t)csh (does not happen under (ba)sh) > 2. cd to an autofs fa�ade (e.g. /tools in our case) > 3. cd relatively to the subdirectory that is the mount point. > NOTE: The mount must not yet be made. (e.g. perl5.8.3) > 4. cd relatively to a subdirectory in the mounted files system > (e.g. bin or lib) Sorry, but the cd must cause a mount to happen. This is the case with the latest autofs and must be the case for correct operation of autofs. What is the reasoning here? > > Pertinent stats: > * Red Hat EL 3.0 (no update) 2.4.21-4.ELhugemem > * All available Red Hat updates have been applied EXCEPT for kernel > autofs, and lpr updates > * autofs: autofs-4.1.0-2 from January 04 > * autofs4: autofs4-2.4-module-20031201 These autofs versions are old. There are known problems fixed after these releases that sound similar to the problem you describe. I recommend you try autofs4 release 20040508. Unfortuneately this release requires a kernel rebuild as there is a small mandatory change outside of the autofs4 module needed for correct operation. This release is the one that should be used as it addresses all known problems and works best with the latest autofs release. You should be using autofs-4.1.3. There is an additional patch that I have recommened a couple of times now, without adverse feedback, that my fix your problem. I've uploaded it to kernel.org and it can be found at: http://www.kernel.org/pub/linux/daemons/autofs/v4 named autofs-4.1.3-bad_chdir.patch Additionally, I recommend applying: autofs-4.1.3-mtab_lock.patch found with the above patch. It fixes an obvios stupid mistake in the definition of mount(8)s' lock file name. As a RHEL user visiting Jeff Moyers autofs page is a must as there are patches included their that have not yet been included in an autofs release: http://people.redhat.com/~jmoyer Jeff, would it be possible to include the two patches mentioned above in your rpms please. Ian _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
