Re: autofs-5.0.7-56 on RHEL/CentOS: auto.master documentation (or me) wrong?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/01/18 01:32, Frank Thommen wrote:
> Dear all,
> 
> in the auto.master manpage (CentOS 7.3.1611, autofs-5.0.7-56) it says:
> 
> ---------
> [...]
>        options
>               Any remaining command line arguments without leading dashes (-) are taken as options (-o) to mount.  Arguments with leading dashes are considered options for the maps and are passed to automount (8).
> 
>               The sun format supports the following options:
> 
> [...]
> ---------
> 
> However a line like
> 
>   /home   /etc/auto.home   browse vers=4.0
> 
> or
> 
>   /home   /etc/auto.home   browse,vers=4.0
> 
> 
> results in the following error messages when running autofs with debugging enabled:
> 
> [...]
> Jan 15 17:46:47 tbi-cn010 automount[26585]: syntax error while parsing map.
> Jan 15 17:46:47 tbi-cn010 automount[26585]: syntax error in map near [ bogus option ]
> [...]

The master map parser would reject the . character in the options.
See bug https://bugzilla.redhat.com/show_bug.cgi?id=1486035.

> 
> 
> Instead the option seems to have to be added to the indirect map /etc/auto.home
> 
>   * -vers=4.0 server:/exports/home/&
> 
> 
> Do I misunderstand the documentation or is it wrong?
> 
> Additionally I'm missing the manpage containing the format description of the indirect maps.  AFAIR this used to be part of the "autofs" or "automount" manpage.

I think that has always been in auto.master(5).
I might be wrong in that it changed at some point but I don't think so.

Ian
--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux