Changeset 94e3e7bd


Ignore:
Timestamp:
12/22/2017 08:18:46 PM (5 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 8.2, 8.2-rc1, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, arm, cross-chap5, ml-11.0, multilib, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
Children:
3b4e848
Parents:
896e77e
Message:

Update to linux-4.14.8.
Add discussion of ethernet device names (systemd).
Add discussion of audo file deletion (systemd).
Add discussion of separate /tmp (systemd).

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11340 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r896e77e r94e3e7bd  
    4747      <itemizedlist>
    4848        <listitem>
     49          <para>[bdubbs] - Update to linux-4.14.8.  Fixes
     50          <ulink url="&lfs-ticket-root;4177">#4177</ulink>.</para>
     51        </listitem>
     52        <listitem revision="systemd">
     53          <para>[bdubbs] - Add discussion of ethernet device names. Fixes
     54          <ulink url="&lfs-ticket-root;4180">#4180</ulink>.</para>
     55        </listitem>
     56        <listitem revision="systemd">
     57          <para>[bdubbs] - Add discussion of audo file deletion. Fixes
     58          <ulink url="&lfs-ticket-root;4181">#4181</ulink>.</para>
     59        </listitem>
     60        <listitem revision="systemd">
     61          <para>[bdubbs] - Add discussion of separate /tmp. Fixes
     62          <ulink url="&lfs-ticket-root;4182">#4182</ulink>.</para>
     63        </listitem>
     64      </itemizedlist>
     65    </listitem>
     66
     67    <listitem>
     68      <para>2017-12-22</para>
     69      <itemizedlist>
     70        <listitem>
    4971          <para>[dj] - Update to util-linux-2.31.1.  Fixes
    5072          <ulink url="&lfs-ticket-root;4176">#4176</ulink>.</para>
  • chapter07/networkd.xml

    r896e77e r94e3e7bd  
    4444    <filename>systemd-network(5)</filename> manual pages.</para>
    4545
    46     <note><para>Udev may assign network card interface names based
    47     on system physical characteristics such as enp2s1. If you are
    48     not sure what your interface name is, you can always run
    49     <command>ip link</command> after you have booted your system.
    50     </para></note>
     46    <sect3 id="systemd-network-devices">
     47      <title>Network Device Naming</title>
     48
     49      <para>
     50        Udev normally assigns network card interface names based
     51        on system physical characteristics such as enp2s1. If you are
     52        not sure what your interface name is, you can always run
     53        <command>ip link</command> after you have booted your system.
     54      </para>
     55
     56      <para>
     57        For most systems, there is only one network interface for
     58        each type of connection.  For example, the classic interface
     59        name for a wired connection is eth0.  A wireless connection
     60        will usually have the name wifi0 or wlan0.
     61      </para>
     62
     63      <para>
     64        If you prefer to use the classic or customized network interface names,
     65        there are three alternative ways to do that:</para>
     66
     67      <itemizedlist>
     68        <listitem>
     69          <para>
     70            Mask udev's .link file for the default policy:
     71<screen role="nodump"><userinput>ln -s /dev/null /etc/systemd/network/99-default.link</userinput></screen>
     72          </para>
     73        </listitem>
     74
     75        <listitem>
     76          <para>
     77             Create a manual naming scheme, for example by naming the
     78             interfaces something like "internet0", "dmz0", or "lan0".
     79             For that, create .link
     80             files in /etc/systemd/network/, that choose an explicit name or a
     81             better naming scheme for one, some, or all of your interfaces.
     82             For example:
     83          </para>
     84
     85<screen role="nodump"><userinput>cat &gt; /etc/systemd/network/10-ether0.link &lt;&lt; "EOF"
     86<literal>[Match]
     87# Change the MAC address as appropriate for your network device
     88MACAddress=12:34:45:78:90:AB
     89
     90[Link]
     91Name=ether0</literal>
     92EOF</userinput></screen>
     93
     94          <para>
     95             See the man page systemd.link(5) for more information.
     96          </para>
     97        </listitem>
     98
     99        <listitem>
     100          <para>
     101            In /boot/grub/grub.cfg, pass the option net.ifnames=0 on the
     102            kernel command line.
     103          </para>
     104        </listitem>
     105      </itemizedlist>
     106    </sect3>
    51107
    52108    <sect3 id="systemd-networkd-static">
     
    57113      systemd-resolved):</para>
    58114
    59 <screen><userinput>cat &gt; /etc/systemd/network/10-eth0-static.network &lt;&lt; "EOF"
     115<screen><userinput>cat &gt; /etc/systemd/network/10-eth-static.network &lt;&lt; "EOF"
    60116<literal>[Match]
    61 Name=eth0
     117Name=&lt;network-device-name&gt;
    62118
    63119[Network]
     
    80136      DHCP setup:</para>
    81137
    82 <screen role="nodump"><userinput>cat &gt; /etc/systemd/network/10-eth0-dhcp.network &lt;&lt; "EOF"
     138<screen role="nodump"><userinput>cat &gt; /etc/systemd/network/10-eth-dhcp.network &lt;&lt; "EOF"
    83139<literal>[Match]
    84 Name=eth0
     140Name=&lt;network-device-name&gt;
    85141
    86142[Network]
  • chapter07/systemd-custom.xml

    r896e77e r94e3e7bd  
    5454<screen role="nodump"><userinput>ln -sfv /dev/null /etc/systemd/system/tmp.mount</userinput></screen>
    5555
    56     <para>This is not necessary if there is a separate partition for
    57     <filename class="directory">/tmp</filename> specified in
    58     <filename>/etc/fstab</filename>.</para>
     56    <para>Alternatively, if a a separate partition for
     57    <filename class="directory">/tmp</filename> is desired, specify that
     58    partition in an <filename>/etc/fstab</filename> entry.</para>
     59
     60    <warning>
     61      <para>
     62        Do not create the symbolic link above if a separate partition is used
     63        for <filename class="directory">/tmp</filename>.  This will prvent the
     64        root file system (/) from being remounted r/w and make the system
     65        unusable when booted.
     66      </para>
     67    </warning>
    5968
    6069  </sect2>
     
    8190    <filename>tmpfiles.d(5)</filename> manual page  for file format
    8291    details.</para>
     92
     93    <para>
     94      Note that the syntax for the
     95      <filename>/usr/lib/tmpfiles.d/*.conf</filename> files can be
     96      confusing.  For example, the default deletion of files in the /tmp directory
     97      is located in <filename>/usr/lib/tmpfiles.d/tmp.conf</filename> with
     98      the line:
     99
     100<screen role="nodump">q /tmp 1777 root root 10d</screen>
     101
     102      The type field, q, discusses creating a subvolume with quotas which
     103      is really only applicable to btrfs filesystems.  It references type v
     104      which in turn references type d (directory). This then creates the
     105      specified directory if is is not present and adjusts the permissions
     106      and ownership as specified.  Contents of the directory will be
     107      subject to time based cleanup if the age argument is specified.
     108     </para>
     109
     110     <para>
     111      If the default parameters are not desired, then the file should
     112      be copied to <filename class="directory">/etc/tmpfiles.d</filename>
     113      and edited as desired.  For example:
     114
     115<screen role="nodump"><userinput>mkdir -p /etc/tempfiles.d
     116cp /usr/lib/tmpfiles.d/tmp.conf /etc/tempfiles.d</userinput></screen>
     117     </para>
    83118
    84119  </sect2>
  • packages.ent

    r896e77e r94e3e7bd  
    409409<!ENTITY linux-major-version "4">
    410410<!ENTITY linux-minor-version "14">
    411 <!ENTITY linux-patch-version "6">
     411<!ENTITY linux-patch-version "8">
    412412<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">i-->
    413413<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    414 <!ENTITY linux-size "98,421 KB">
     414<!ENTITY linux-size "98,429 KB">
    415415<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    416 <!ENTITY linux-md5 "938baaf8fd3d232e9fbc2f402adf0d3f">
     416<!ENTITY linux-md5 "0a2120cc58fe9ff0cbb7330dd1acb82e">
    417417<!ENTITY linux-home "http://www.kernel.org/">
    418418<!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
Note: See TracChangeset for help on using the changeset viewer.