使用autofs遇到的奇怪的问题

发表于:2007-07-04来源:作者:点击数: 标签:
使用autofs出现的问题以及解决办法。注意执行权限!!! Re: [SOLVED][autofs] lookup(program): lookup for foo failed From : Michael B Allen To : fedora-list redhat com Subject : Re: [SOLVED][autofs] lookup(program): lookup for foo failed Date :
使用autofs出现的问题以及解决办法。注意执行权限!!!

Re: [SOLVED][autofs] lookup(program): lookup for foo failed


  • From: Michael B Allen
  • To: fedora-list redhat com
  • Subject: Re: [SOLVED][autofs] lookup(program): lookup for foo failed
  • Date: Sat, 14 May 2005 22:41:04 -0400

On Sat, 14 May 2005 20:51:28 -0400
Michael B Allen wrote:

> /mnt/foo if aclearcase/" target="_blank" >ccessed. However with FC3 this simply does not work. I get:
>
> May 14 20:44:00 quark automount[9844]: lookup(program): lookup for foo failed

I made an error. I accedentally created the auto.foo map file with
executable permissions. If you do this the autofs init script will
interpret it as a "program" and attempt to execute it rather then parse
it as a regular map file. Simply doing chmod -x on it and restarting
autofs fixes the problem.

Needless to say the autofs documentation is in need of some work.

Mike

原文转自:http://www.ltesting.net