Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/autofs.xml

    ree4e4dea rc93c620c  
    77  <!ENTITY autofs-download-http "&kernel-dl;/linux/daemons/autofs/v5/autofs-&autofs-version;.tar.xz">
    88  <!ENTITY autofs-download-ftp  " ">
    9   <!ENTITY autofs-md5sum        "b27ee7a1674ae1779aaf75c5e90b0f1e">
    10   <!ENTITY autofs-size          "308 KB">
    11   <!ENTITY autofs-buildsize     "8.5 MB">
     9  <!ENTITY autofs-md5sum        "6bd1ea8a9e5dc3a7dc95119e3bbaf52c">
     10  <!ENTITY autofs-size          "324 KB">
     11  <!ENTITY autofs-buildsize     "6.7 MB">
    1212  <!ENTITY autofs-time          "0.1 SBU">
    1313]>
     
    1717
    1818  <sect1info>
    19     <othername>$LastChangedBy$</othername>
    2019    <date>$Date$</date>
    2120  </sect1info>
     
    3736    </para>
    3837
    39     &lfs10_checked;
     38    &lfs110a_checked;
    4039
    4140    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8483    <para role="optional">
    8584      <xref linkend="nfs-utils"/>,
     85      <xref linkend="libnsl"/>,
    8686      <xref linkend="libxml2"/>,
    8787      <xref linkend="mitkrb"/>,
     
    128128    <title>Installation of Autofs</title>
    129129
     130    <para>Some lines of code need to be removed for this package to be
     131    consistent with glibc-2.34. We will remove these lines with some sed commands
     132    by line numbers showing slightly different methods.</para>
     133
     134<screen><userinput>sed -e '87d'        \
     135    -e '2618,2644d' \
     136    -i daemon/automount.c &amp;&amp;
     137
     138sed -i '1178,1180d' daemon/state.c &amp;&amp;
     139sed -i '275,+2 d'   lib/alarm.c</userinput></screen>   
     140
     141
    130142    <para>
    131143      Install <application>Autofs</application> by running the following
     
    133145    </para>
    134146
    135 <screen revision="sysv"><userinput>./configure --prefix=/         \
    136             --with-libtirpc    \
    137             --without-openldap \
     147<screen revision="sysv"><userinput>./configure --prefix=/usr             \
     148            --with-mapdir=/etc/autofs \
     149            --with-libtirpc           \
     150            --without-openldap        \
    138151            --mandir=/usr/share/man &amp;&amp;
    139152make</userinput></screen>
    140153
    141 <screen revision="systemd"><userinput>./configure --prefix=/         \
    142             --with-libtirpc    \
    143             --with-systemd     \
    144             --without-openldap \
     154<screen revision="systemd"><userinput>./configure --prefix=/usr             \
     155            --with-mapdir=/etc/autofs \
     156            --with-libtirpc           \
     157            --with-systemd            \
     158            --without-openldap        \
    145159            --mandir=/usr/share/man &amp;&amp;
    146 
    147160make</userinput></screen>
    148161
     
    205218      <para>
    206219        <filename>/etc/sysconfig/autofs.conf</filename>,
    207         <filename>/etc/auto.master</filename>,
    208         <filename>/etc/auto.misc</filename>, and
    209         <filename>/etc/auto.net</filename>
     220        <filename>/etc/autofs/auto.master</filename>,
     221        <filename>/etc/autofs/auto.misc</filename>, and
     222        <filename>/etc/autofs/auto.net</filename>
    210223      </para>
    211224
     
    215228
    216229      <indexterm zone="autofs autofs-config">
    217         <primary sortas="e-etc-auto.master">/etc/auto.master</primary>
     230        <primary sortas="e-etc-auto.master">/etc/autofs/auto.master</primary>
    218231      </indexterm>
    219232
    220233      <indexterm zone="autofs autofs-config">
    221         <primary sortas="e-etc-auto.misc">/etc/auto.misc</primary>
     234        <primary sortas="e-etc-auto.misc">/etc/autofs/auto.misc</primary>
    222235      </indexterm>
    223236
    224237      <indexterm zone="autofs autofs-config">
    225         <primary sortas="e-etc-auto.net">/etc/auto.net</primary>
     238        <primary sortas="e-etc-auto.net">/etc/autofs/auto.net</primary>
    226239      </indexterm>
    227240
     
    239252      </para>
    240253
    241 <screen role="root"><userinput>mv /etc/auto.master /etc/auto.master.bak &amp;&amp;
    242 cat &gt; /etc/auto.master &lt;&lt; "EOF"
    243 <literal># Begin /etc/auto.master
    244 
    245 /media/auto  /etc/auto.misc  --ghost
    246 #/home        /etc/auto.home
    247 
    248 # End /etc/auto.master</literal>
     254<screen role="root"><userinput>mv /etc/autofs/auto.master /etc/autofs/auto.master.bak &amp;&amp;
     255cat &gt; /etc/autofs/auto.master &lt;&lt; "EOF"
     256<literal># Begin /etc/autofs/auto.master
     257
     258/media/auto  /etc/autofs/auto.misc  --ghost
     259#/home        /etc/autofs/auto.home
     260
     261# End /etc/autofs/auto.master</literal>
    249262EOF</userinput></screen>
    250263
     
    253266        <filename>/media/auto</filename> that will overlay any existing
    254267        directory of the same name.  In this example, the file,
    255         <filename>/etc/auto.misc</filename>, has a line:
     268        <filename>/etc/autofs/auto.misc</filename>, has a line:
    256269      </para>
    257270
     
    325338        <application>autofs</application> installs its own
    326339        boot script, but it has no capability for logging or visual conformance
    327         with other BLFS scripts.
     340        with other BLFS scripts. It will be replaced by an enhanced version.
    328341      </para>
    329342
     
    386399          mount_nfs4.so, parse_amd.so, and parse_sun.so
    387400           </seg>
    388         <seg>/lib/autofs</seg>
     401        <seg>/usr/lib/autofs, /etc/autofs</seg>
    389402      </seglistitem>
    390403    </segmentedlist>
     
    400413          <para>
    401414            is the daemon that performs the mounting when a request is
    402             made for the device.
     415            made for the device
    403416          </para>
    404417          <indexterm zone="autofs automount">
Note: See TracChangeset for help on using the changeset viewer.