Your message dated Sun, 28 Jun 2020 18:18:48 +0100
with message-id <[email protected]>
and subject line Re: Bug#693782: auto.master.d documentation
has caused the Debian Bug report #693782,
regarding autofs: Missing documentation for auto.master.d
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
693782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693782
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:autofs
Version:5.0.7-3

Regarding auto.master.d

The documentation for how to use the 'auto.master.d' feature is really
non-existing. What exists is a sketch from the designer for what it is
(or how it should be.)

Fedora 18 is sketchy about how it should be deployed.

Some sites has a puppet config for deploying autofs in a cluster.

As a trial-and-error (intent was to replace '/home /etc/auto.home') i
have tried theese variations:

/etc/auto.master.d/home.autofs
/etc/auto.master.d/auto.home
/etc/auto.master.d/net2.autofs with content:
-----
/net2 -hosts
-----

as far as i can see i was unsuccessfull at making autofs acknowledge
theese.

--- End Message ---
--- Begin Message ---
On Tue, Nov 20, 2012 at 11:17:09AM +0100, Stefan Skoglund wrote:
> The documentation for how to use the 'auto.master.d' feature is really
> non-existing. What exists is a sketch from the designer for what it is
> (or how it should be.)

/etc/auto.master now has comments that describe how to use the feature:

        # Include /etc/auto.master.d/*.autofs
        # To add an extra map using this mechanism you will need to add
        # two configuration items - one /etc/auto.master.d/extra.autofs file
        # (using the same line format as the auto.master file)
        # and a separate mount map (e.g. /etc/auto.extra or an auto.extra NIS 
map)
        # that is referred to by the extra.autofs file.
        #
        +dir:/etc/auto.master.d

For instance, I have the following:

        $ cat /etc/auto.master.d/work.autofs
        /work    file:/etc/auto.work    browse

        $ cat /etc/auto.work
        server1-share1    -fstype=cifs,sec=krb5i,cruid=$CRUID,multiuser 
://server1.example.com/share1
        server2-share1    -fstype=cifs,sec=krb5i,cruid=$CRUID,multiuser 
://server2.example.com/share1

In addition, auto.master(5) describes the + inclusion feature:

        Additionally, a map may be included from its source as if it were itself
        present in the master map by including a line of the form:

        +[maptype[,format]:map options]

        and automount(8) will process the map according to the specification
        described below for map entries.

... the format of a master map entry:

    mount-point [map-type[,format]:]map [options]

... and describes the 'dir' map-type:

        This map type can be used at + master map including notation. The
        contents of files under given directory are included to the master
        map. The name of file to be included must be ended with ".autofs". A
        file will be ignored if its name is not ended with the suffix. In
        addition a dot file, a file which name is started with "." is also
        ignored.

-- 
Sam Morris <https://robots.org.uk/>
CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9

--- End Message ---

Reply via email to