Changeset 9e7475a


Ignore:
Timestamp:
06/12/2020 09:04:48 PM (16 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
4234aea6
Parents:
a3d0817
Message:

Updates to chapter09 for systemd

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11929 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • chapter08/dbus.xml

    ra3d0817 r9e7475a  
    6464        <term><parameter>--with-console-auth-dir=/run/console</parameter></term>
    6565        <listitem>
    66           <para>This specifies the location of the ConsoleKit auth
     66          <para>This specifies the location of the ConsoleKit authorization
    6767          directory.</para>
    6868        </listitem>
     
    9292ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
    9393
    94     <para>Create a symlink, so that D-Bus and systemd can use the same
     94    <para>Create a symlink so that D-Bus and systemd can use the same
    9595    <filename>machine-id</filename> file:</para>
    9696
     
    131131        <term><command>dbus-cleanup-sockets</command></term>
    132132        <listitem>
    133           <para>Used to clean up leftover sockets in a directory</para>
     133          <para>is used to remove leftover sockets in a directory</para>
    134134          <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
    135135            <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
     
    141141        <term><command>dbus-daemon</command></term>
    142142        <listitem>
    143           <para>The D-Bus message bus daemon</para>
     143          <para>Is the D-Bus message bus daemon</para>
    144144          <indexterm zone="ch-system-dbus dbus-daemon">
    145145            <primary sortas="b-dbus-daemon">dbus-daemon</primary>
     
    194194        <term><command>dbus-test-tool</command></term>
    195195        <listitem>
    196           <para>A tool to help packages test
     196          <para>Is a tool to help packages test
    197197          <application>D-Bus</application></para>
    198198          <indexterm zone="ch-system-dbus dbus-test-tool">
  • chapter08/systemd.xml

    ra3d0817 r9e7475a  
    4545<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-1.patch</userinput></screen>
    4646
    47 
    48     <para>Create a symlink to work around missing xsltproc:</para>
     47    <para>Create a symlink to work around the xsltproc command not being installed:</para>
    4948
    5049<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
     
    9796      <title>The meaning of the meson options:</title>
    9897
    99 <!--
    100       <varlistentry>
    101         <term><parameter>-Dc_args=-Wno-format-overflow</parameter></term>
    102         <listitem>
    103           <para>The defaults flags passed to gcc contain
    104           <parameter>-Werror=format-overflow</parameter>, which generates
    105           an error with GCC 10. Passing this parameter prevents the error
    106           from occuring.</para>
    107         </listitem>
    108       </varlistentry>
    109 -->
    110 
    11198      <varlistentry>
    11299        <term><parameter>-D*-path=*</parameter></term>
    113100        <listitem>
    114           <para>These switches provide location of binaries needed by
     101          <para>These switches provide the location of binaries needed by
    115102          systemd at runtime that have not yet been installed.</para>
    116103        </listitem>
     
    155142        <listitem>
    156143          <para>These switches ensure that core programs and
    157           shared libraries are installed in the subdirectories
     144          shared libraries are installed in subdirectories
    158145          of the root partition.</para>
    159146        </listitem>
     
    201188
    202189<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
    203 <!--
    204     <para>To test the package, execute the following command:</para>
    205 
    206 <screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen>
    207 -->
     190
    208191    <para>Install the package:</para>
    209192
     
    233216    some problems with packages and units in BLFS:</para>
    234217   
    235 
    236218<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
    237219
    238     <!--
    239     <para>Prevent systemd from creating <filename>/run/nologin</filename>
    240     to allow unprivileged user logins without
    241     <application>systemd-logind</application>:</para>
    242 
    243 <screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
    244     -->
    245220  </sect2>
    246221
     
    291266        <term><command>bootctl</command></term>
    292267        <listitem>
    293           <para>Used to query the firmware and boot manager settings</para>
     268          <para>Is used to query the firmware and boot manager settings</para>
    294269          <indexterm zone="ch-system-systemd bootctl">
    295270            <primary sortas="b-bootctl">bootctl</primary>
     
    301276        <term><command>busctl</command></term>
    302277        <listitem>
    303           <para>Used to introspect and monitor the D-Bus bus</para>
     278          <para>Is used to introspect and monitor the D-Bus bus</para>
    304279          <indexterm zone="ch-system-systemd busctl">
    305280            <primary sortas="b-busctl">busctl</primary>
     
    311286        <term><command>coredumpctl</command></term>
    312287        <listitem>
    313           <para>Used to retrieve coredumps from the systemd journal</para>
     288          <para>Is used to retrieve coredumps from the systemd journal</para>
    314289          <indexterm zone="ch-system-systemd coredumpctl">
    315290            <primary sortas="b-coredumpctl">coredumpctl</primary>
     
    335310        <term><command>hostnamectl</command></term>
    336311        <listitem>
    337           <para>Used to query and change the system hostname and related
     312          <para>Is used to query and change the system hostname and related
    338313          settings</para>
    339314          <indexterm zone="ch-system-systemd hostnamectl">
     
    346321        <term><command>init</command></term>
    347322        <listitem>
    348           <para>The first process to be started when the kernel has initialized
     323          <para>Is the first process to be started when the kernel has initialized
    349324          the hardware which takes over the boot process and starts all
    350           processes according to its configuration files</para>
     325          processes according to its configuration files. In this case, it starts
     326          systemd.</para>
    351327          <indexterm zone="ch-system-systemd init">
    352328            <primary sortas="b-init">init</primary>
     
    358334        <term><command>journalctl</command></term>
    359335        <listitem>
    360           <para>Used to query the contents of the systemd journal</para>
     336          <para>Is used to query the contents of the systemd journal</para>
    361337          <indexterm zone="ch-system-systemd journalctl">
    362338            <primary sortas="b-journalctl">journalctl</primary>
     
    368344        <term><command>kernel-install</command></term>
    369345        <listitem>
    370           <para>Used to add and remove kernel and initramfs images to and
    371           from /boot</para>
     346          <para>Is used to add and remove kernel and initramfs images to and
     347          from /boot. In LFS, this is done manually.</para>
    372348          <indexterm zone="ch-system-systemd kernel-install">
    373349            <primary sortas="b-kernel-install">kernel-install</primary>
     
    379355        <term><command>localectl</command></term>
    380356        <listitem>
    381           <para>Used to query and change the system locale and keyboard layout
     357          <para>Is used to query and change the system locale and keyboard layout
    382358          settings</para>
    383359          <indexterm zone="ch-system-systemd localectl">
     
    390366        <term><command>loginctl</command></term>
    391367        <listitem>
    392           <para>Used to introspect and control the state of the systemd Login
     368          <para>Is used to introspect and control the state of the systemd Login
    393369          Manager</para>
    394370          <indexterm zone="ch-system-systemd loginctl">
     
    401377        <term><command>machinectl</command></term>
    402378        <listitem>
    403           <para>Used to introspect and control the state of the systemd Virtual
     379          <para>Is used to introspect and control the state of the systemd Virtual
    404380          Machine and Container Registration Manager</para>
    405381          <indexterm zone="ch-system-systemd machinectl">
     
    412388        <term><command>networkctl</command></term>
    413389        <listitem>
    414           <para>Used to introspect the state of the network links as seen by
    415           systemd-networkd</para>
     390          <para>Is used to introspect and configure the state of the network
     391          links configured by systemd-networkd</para>
    416392          <indexterm zone="ch-system-systemd networkctl">
    417393            <primary sortas="b-networkctl">networkctl</primary>
     
    423399        <term><command>portablectl</command></term>
    424400        <listitem>
    425           <para>Used to attach or detach portable services from the local
     401          <para>Is used to attach or detach portable services from the local
    426402          system</para>
    427403          <indexterm zone="ch-system-systemd portablectl">
     
    434410        <term><command>poweroff</command></term>
    435411        <listitem>
    436           <para>Tells the kernel to halt the system and switch off the computer
     412          <para>Instructs the kernel to halt the system and switch off the computer
    437413          (see <command>halt</command>)</para>
    438414          <indexterm zone="ch-system-systemd poweroff">
     
    445421        <term><command>reboot</command></term>
    446422        <listitem>
    447           <para>Tells the kernel to reboot the system (see
     423          <para>Instructs the kernel to reboot the system (see
    448424          <command>halt</command>)</para>
    449425          <indexterm zone="ch-system-systemd reboot">
     
    456432        <term><command>resolvconf</command></term>
    457433        <listitem>
    458           <para>Register DNS server and domain configuration with
     434          <para>Registers DNS server and domain configuration with
    459435          <command>systemd-resolved</command></para>
    460436          <indexterm zone="ch-system-systemd resolvconf">
     
    467443        <term><command>resolvectl</command></term>
    468444        <listitem>
    469           <para>Send control commands to the network name resolution
    470           manager, or resolve domain names, IPv4 and IPv6 addresses,
     445          <para>Sends control commands to the network name resolution
     446          manager, or resolves domain names, IPv4 and IPv6 addresses,
    471447          DNS records, and services.</para>
    472448          <indexterm zone="ch-system-systemd resolvectl">
     
    479455        <term><command>runlevel</command></term>
    480456        <listitem>
    481           <para>Reports the previous and the current run-level, as noted in the
     457          <para>Outputs the previous and the current run-level, as noted in the
    482458          last run-level record in <filename>/var/run/utmp</filename></para>
    483459          <indexterm zone="ch-system-systemd runlevel">
     
    490466        <term><command>shutdown</command></term>
    491467        <listitem>
    492           <para>Brings the system down in a secure way, signaling all processes
    493           and notifying all logged-in users</para>
     468          <para>Brings the system down in a safe and secure manner, signaling
     469          all processes and notifying all logged-in users</para>
    494470          <indexterm zone="ch-system-systemd shutdown">
    495471            <primary sortas="b-shutdown">shutdown</primary>
     
    501477        <term><command>systemctl</command></term>
    502478        <listitem>
    503           <para>Used to introspect and control the state of the systemd system
     479          <para>Is used to introspect and control the state of the systemd system
    504480          and service manager</para>
    505481          <indexterm zone="ch-system-systemd systemctl">
     
    512488        <term><command>systemd-analyze</command></term>
    513489        <listitem>
    514           <para>Used to determine system boot-up performance of the current
    515           boot</para>
     490          <para>Is used to determine system startup performance of the current
     491          boot, as well as identify troublesome systemd units</para>
    516492          <indexterm zone="ch-system-systemd systemd-analyze">
    517493            <primary sortas="b-systemd-analyze">systemd-analyze</primary>
     
    523499        <term><command>systemd-ask-password</command></term>
    524500        <listitem>
    525           <para>Used to query a system password or passphrase from the user,
     501          <para>Is used to query a system password or passphrase from the user,
    526502          using a question message specified on the command line</para>
    527503          <indexterm zone="ch-system-systemd systemd-ask-password">
     
    534510        <term><command>systemd-cat</command></term>
    535511        <listitem>
    536           <para>Used to connect STDOUT and STDERR of a process with the Journal
     512          <para>Is used to connect the STDOUT and STDERR outputs of a process
     513          with the systemd journal.
    537514          </para>
    538515          <indexterm zone="ch-system-systemd systemd-cat">
     
    567544        <term><command>systemd-delta</command></term>
    568545        <listitem>
    569           <para>Used to identify and compare configuration files in
     546          <para>Is used to identify and compare configuration files in
    570547          <filename class="directory">/etc</filename> that override default
    571548          counterparts in <filename class="directory">/usr</filename></para>
     
    579556        <term><command>systemd-detect-virt</command></term>
    580557        <listitem>
    581           <para>Detects execution in a virtualized environment</para>
     558          <para>Detects whether the system is being run in a virtual
     559          environment, and adjusts udev accordingly.</para>
    582560          <indexterm zone="ch-system-systemd systemd-detect-virt">
    583561            <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
     
    589567        <term><command>systemd-escape</command></term>
    590568        <listitem>
    591           <para>Used to escape strings for inclusion in systemd unit
     569          <para>Is used to escape strings for inclusion in systemd unit
    592570          names</para>
    593571          <indexterm zone="ch-system-systemd systemd-escape">
     
    600578        <term><command>systemd-hwdb</command></term>
    601579        <listitem>
    602           <para>Used to manage hardware database (hwdb)</para>
     580          <para>Is used to manage the hardware database (hwdb)</para>
    603581          <indexterm zone="ch-system-systemd systemd-hwdb">
    604582            <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
     
    610588        <term><command>systemd-id128</command></term>
    611589        <listitem>
    612           <para>Generate and print id128 strings</para>
     590          <para>Generates and prints id128 strings</para>
    613591          <indexterm zone="ch-system-systemd systemd-id128">
    614592            <primary sortas="b-systemd-id128">systemd-id128</primary>
     
    620598        <term><command>systemd-inhibit</command></term>
    621599        <listitem>
    622           <para>Used to execute a program with a shutdown, sleep or idle
    623           inhibitor lock taken</para>
     600          <para>Is used to execute a program with a shutdown, sleep or idle
     601          inhibitor lock taken, preventing an action such as a system shutdown
     602          until the process is completed.</para>
    624603          <indexterm zone="ch-system-systemd systemd-inhibit">
    625604            <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
     
    631610        <term><command>systemd-machine-id-setup</command></term>
    632611        <listitem>
    633           <para>Used by system installer tools to initialize the machine ID
     612          <para>Is used by system installer tools to initialize the machine ID
    634613          stored in <filename>/etc/machine-id</filename> at install time with a
    635614          randomly generated ID</para>
     
    643622        <term><command>systemd-mount</command></term>
    644623        <listitem>
    645           <para>A tool to temporarily mount or auto-mount a drive.</para>
     624          <para>Is used to temporarily mount or automount disks.</para>
    646625          <indexterm zone="ch-system-systemd systemd-mount">
    647626            <primary sortas="b-systemd-mount">systemd-mount</primary>
     
    653632        <term><command>systemd-notify</command></term>
    654633        <listitem>
    655           <para>Used by daemon scripts to notify the init system about status
     634          <para>Is used by daemon scripts to notify the init system about status
    656635          changes</para>
    657636          <indexterm zone="ch-system-systemd systemd-notify">
     
    664643        <term><command>systemd-nspawn</command></term>
    665644        <listitem>
    666           <para>Used to run a command or OS in a light-weight namespace
     645          <para>Is used to run a command or OS in a light-weight namespace
    667646          container</para>
    668647          <indexterm zone="ch-system-systemd systemd-nspawn">
     
    675654        <term><command>systemd-path</command></term>
    676655        <listitem>
    677           <para>Used to query system and user paths</para>
     656          <para>Is used to query system and user paths</para>
    678657          <indexterm zone="ch-system-systemd systemd-path">
    679658            <primary sortas="b-systemd-path">systemd-path</primary>
     
    685664        <term><command>systemd-repart</command></term>
    686665        <listitem>
    687           <para>Used go grow and add partitions to a partition table when
     666          <para>Is used to grow and add partitions to a partition table when
    688667          systemd is used in an OS image (e.g. a container).</para>
    689668          <indexterm zone="ch-system-systemd systemd-repart">
     
    696675        <term><command>systemd-resolve</command></term>
    697676        <listitem>
    698           <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS
     677          <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
    699678          resource records, and services</para>
    700679          <indexterm zone="ch-system-systemd systemd-resolve">
     
    707686        <term><command>systemd-run</command></term>
    708687        <listitem>
    709           <para>Used to create and start a transient .service or a .scope unit
    710           and run the specified command in it</para>
     688          <para>Is used to create and start a transient .service or a .scope
     689          unit and run the specified command in it. This is useful for
     690          validating systemd units.</para>
    711691          <indexterm zone="ch-system-systemd systemd-run">
    712692            <primary sortas="b-systemd-run">systemd-run</primary>
     
    715695      </varlistentry>
    716696
    717       <!-- <varlistentry id="systemd-stdio-bridge">
    718         <term><command>systemd-stdio-bridge</command></term>
    719         <listitem>
    720           <para>To be completed</para>
    721           <indexterm zone="ch-system-systemd systemd-stdio-bridge">
    722             <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
    723           </indexterm>
    724         </listitem>
    725       </varlistentry> -->
    726 
    727697      <varlistentry id="systemd-socket-activate">
    728698        <term><command>systemd-socket-activate</command></term>
    729699        <listitem>
    730           <para>A tool to listen on socket devices and launch a process upon
    731           connection.</para>
     700          <para>Is used to listen on socket devices and launch a process upon
     701          a successful connection to the socket.</para>
    732702          <indexterm zone="ch-system-systemd systemd-socket-activate">
    733703            <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
     
    752722        <term><command>systemd-umount</command></term>
    753723        <listitem>
    754           <para>Unmount mount points</para>
     724          <para>Unmounts mount points</para>
    755725          <indexterm zone="ch-system-systemd systemd-umount">
    756726            <primary sortas="b-systemd-umount">systemd-umount</primary>
     
    762732        <term><command>systemd-tty-ask-password-agent</command></term>
    763733        <listitem>
    764           <para>Used to list or process pending systemd password requests</para>
     734          <para>Is used to list and/or process pending systemd password
     735          requests</para>
    765736          <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
    766737            <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
     
    783754        <term><command>timedatectl</command></term>
    784755        <listitem>
    785           <para>Used to query and change the system clock and its settings
     756          <para>Is used to query and change the system clock and its settings
    786757          </para>
    787758          <indexterm zone="ch-system-systemd timedatectl">
     
    794765        <term><command>udevadm</command></term>
    795766        <listitem>
    796           <para>Generic udev administration tool: controls the udevd daemon,
    797           provides info from the Udev database, monitors uevents, waits for
    798           uevents to finish, tests udev configuration, and triggers uevents
    799           for a given device</para>
     767          <para>Is a generic udev administration tool which controls the udevd
     768          daemon, provides info from the Udev hardware database, monitors
     769          uevents, waits for uevents to finish, tests udev configuration, and
     770          triggers uevents for a given device</para>
    800771          <indexterm zone="ch-system-systemd udevadm">
    801772            <primary sortas="b-udevadm">udevadm</primary>
     
    807778        <term><filename class="libraryfile">libsystemd</filename></term>
    808779        <listitem>
    809           <para>The main systemd utility library</para>
     780          <para>Is the main systemd utility library</para>
    810781          <indexterm zone="ch-system-systemd libsystemd">
    811782            <primary sortas="c-libsystemd">libsystemd</primary>
     
    817788        <term><filename class="libraryfile">libudev</filename></term>
    818789        <listitem>
    819           <para>A library to access Udev device information</para>
     790          <para>Is a library to access Udev device information</para>
    820791          <indexterm zone="ch-system-systemd libudev">
    821792            <primary sortas="c-libudev">libudev</primary>
  • chapter09/clock.xml

    ra3d0817 r9e7475a  
    1717  <para>This section discusses how to configure the
    1818  <command>systemd-timedated</command> system service, which configures
    19   system clock and timezone.</para>
     19  the system clock and timezone.</para>
    2020
    2121  <para>If you cannot remember whether or not the hardware clock is set to UTC,
     
    3131
    3232  <para><command>systemd-timedated</command> reads <filename>/etc/adjtime</filename>,
    33   and depending on the contents of the file, it sets the clock to either UTC or
     33  and depending on the contents of the file, sets the clock to either UTC or
    3434  local time.</para>
    3535
     
    6060<screen role="nodump"><userinput>timedatectl set-time YYYY-MM-DD HH:MM:SS</userinput></screen>
    6161
    62   <para>Hardware clock will also be updated accordingly.</para>
     62  <para>The hardware clock will also be updated accordingly.</para>
    6363
    6464  <para>To change your current time zone, issue:</para>
  • chapter09/consoled.xml

    ra3d0817 r9e7475a  
    2525  language-specific HOWTOs can also help with this, see <ulink
    2626  url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>.
    27   Examine <command>localectl list-keymaps</command> output for a list of
    28   valid console keymaps. Look in
     27  Examine the output of <command>localectl list-keymaps</command> for a list of
     28  valid console keymaps. Look in the
    2929  <filename class="directory">/usr/share/consolefonts</filename>
    3030  directory for valid screen fonts.</para>
     
    107107      <term>list-x11-keymap-models</term>
    108108      <listitem>
    109         <para>Show known X11 keyboard mapping models.</para>
     109        <para>Shows known X11 keyboard mapping models.</para>
    110110      </listitem>
    111111    </varlistentry>
     
    114114      <term>list-x11-keymap-layouts</term>
    115115      <listitem>
    116         <para>Show known X11 keyboard mapping layouts.</para>
     116        <para>Shows known X11 keyboard mapping layouts.</para>
    117117      </listitem>
    118118    </varlistentry>
     
    121121      <term>list-x11-keymap-variants</term>
    122122      <listitem>
    123         <para>Show known X11 keyboard mapping variants.</para>
     123        <para>Shows known X11 keyboard mapping variants.</para>
    124124      </listitem>
    125125    </varlistentry>
     
    128128      <term>list-x11-keymap-options</term>
    129129      <listitem>
    130         <para>Show known X11 keyboard mapping options.</para>
     130        <para>Shows known X11 keyboard mapping options.</para>
    131131      </listitem>
    132132    </varlistentry>
     
    135135
    136136  <note><para>Using any of the parameters listed above requires the
    137   XKeyboard Config package from BLFS.</para></note>
     137  XKeyboard-Config package from BLFS.</para></note>
    138138
    139139</sect1>
  • chapter09/etcshells.xml

    ra3d0817 r9e7475a  
    2929  <para>For example, this file is consulted by <command>chsh</command>
    3030  to determine whether an unprivileged user may change the login shell for her
    31   own account. If the command name is not listed, the user will be denied of
    32   change.</para>
     31  own account. If the command name is not listed, the user will be denied the
     32  ability to change shells.</para>
    3333
    3434  <para>It is a requirement for applications such as
  • chapter09/introductiond.xml

    ra3d0817 r9e7475a  
    3939  </itemizedlist>
    4040
    41   <para>Third, configuring the system clock and keyboard layout.</para>
     41  <para>Third, configuring the system clock and keyboard layout is shown.</para>
    4242
    4343  <itemizedlist>
     
    5050  </itemizedlist>
    5151
    52 
    5352  <para>Fourth, a brief introduction to the scripts and configuration
    54   files used when the user logs into the system.</para>
     53  files used when the user logs into the system is presented.</para>
    5554
    5655  <itemizedlist>
     
    6362  </itemizedlist>
    6463
    65   <para>And finally, configuring the systemd behavior.</para>
     64  <para>And finally, configuring the behavior of systemd is discussed.</para>
    6665
    6766  <itemizedlist>
  • chapter09/locale.xml

    ra3d0817 r9e7475a  
    1515  </indexterm>
    1616
    17   <para>The <filename>/etc/locale.conf</filename> below sets some
     17  <para>The <filename>/etc/locale.conf</filename> file below sets some
    1818  environment variables necessary for native language support. Setting
    1919  them properly results in:</para>
     
    2121  <itemizedlist>
    2222    <listitem>
    23       <para>The output of programs translated into the native language</para>
     23      <para>The output of programs being translated into your native language</para>
    2424    </listitem>
    2525    <listitem>
    26       <para>Correct classification of characters into letters, digits and other
     26      <para>The correct classification of characters into letters, digits and other
    2727      classes. This is necessary for <command>bash</command> to properly accept
    2828      non-ASCII characters in command lines in non-English locales</para>
     
    3232    </listitem>
    3333    <listitem>
    34       <para>Appropriate default paper size</para>
     34      <para>The appropriate default paper size</para>
    3535    </listitem>
    3636    <listitem>
    37       <para>Correct formatting of monetary, time, and date values</para>
     37      <para>The correct formatting of monetary, time, and date values</para>
    3838    </listitem>
    3939  </itemizedlist>
    4040
    4141  <para>Replace <replaceable>&lt;ll&gt;</replaceable> below with the two-letter code
    42   for the desired language (e.g., <quote>en</quote>) and
     42  for your desired language (e.g., <quote>en</quote>) and
    4343  <replaceable>&lt;CC&gt;</replaceable> with the two-letter code for the appropriate
    4444  country (e.g., <quote>GB</quote>). <replaceable>&lt;charmap&gt;</replaceable> should
     
    5555  Some applications cannot handle the various synonyms correctly (e.g., require
    5656  that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not
    57   <quote>utf8</quote>), so it is safest in most
     57  <quote>utf8</quote>), so it is the safest in most
    5858  cases to choose the canonical name for a particular locale. To determine
    5959  the canonical name, run the following command, where <replaceable>&lt;locale
     
    8181  before the telephone number in order to get into the country. If any of the
    8282  commands above fail with a message similar to the one shown below, this means
    83   that your locale was either not installed in Chapter&nbsp;6 or is not supported by
    84   the default installation of Glibc.</para>
     83  that your locale was either not installed in Chapter&nbsp;6 or is not
     84  supported by the default installation of Glibc.</para>
    8585
    8686<screen><computeroutput>locale: Cannot set LC_* to default locale: No such file or directory</computeroutput></screen>
     
    9191  Glibc.</para>
    9292
    93   <!-- FIXME: the xlib example will became obsolete real soon -->
     93  <!-- FIXME: the xlib example will become obsolete in the future.-->
    9494  <para>Some packages beyond LFS may also lack support for your chosen locale. One
    9595  example is the X library (part of the X Window System), which outputs the
     
    143143  mail with such characters from Mutt or Pine results in non-RFC-conforming
    144144  messages being sent (the charset in the outgoing mail is indicated as <quote>unknown
    145   8-bit</quote>). So you can use the <quote>C</quote> locale only if you are sure that
    146   you will never need 8-bit characters.</para>
     145  8-bit</quote>). It's suggested that you use the <quote>C</quote> locale only
     146  if you are certain that you will never need 8-bit characters.</para>
    147147
     148<!--
    148149  <para>UTF-8 based locales are not supported well by many programs.
    149150  Work is in progress to document and, if possible, fix such problems, see
    150151  <ulink url="&blfs-book;introduction/locale-issues.html"/>.</para>
     152-->
    151153
    152154</sect1>
  • chapter09/networkd.xml

    ra3d0817 r9e7475a  
    4949      <para>
    5050        Udev normally assigns network card interface names based
    51         on system physical characteristics such as enp2s1. If you are
     51        on physical system characteristics such as enp2s1. If you are
    5252        not sure what your interface name is, you can always run
    5353        <command>ip link</command> after you have booted your system.
     
    7777             Create a manual naming scheme, for example by naming the
    7878             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:
     79             To do that, create .link files in /etc/systemd/network/ that
     80             select an explicit name or a better naming scheme for your
     81             network interfaces. For example:
    8382          </para>
    8483
     
    171170      <note><para>If using another means to configure your network
    172171      interfaces (ex: ppp, network-manager, etc.), or if using any type of
    173       local resolver (ex: bind, dnsmasq, etc.), or any other software that
    174       generates an <filename>/etc/resolv.conf</filename> (ex: resolvconf), the
    175       <command>systemd-resolved</command> service should not be
     172      local resolver (ex: bind, dnsmasq, unbound, etc.), or any other software
     173      that generates an <filename>/etc/resolv.conf</filename> (ex: resolvconf),
     174      the <command>systemd-resolved</command> service should not be
    176175      used.</para></note>
    177176
     
    207206      <para>Replace
    208207      <replaceable>&lt;IP address of the nameserver&gt;</replaceable>
    209       with the IP address of the DNS most appropriate for the setup. There will
    210       often be more than one entry (requirements demand secondary servers for
    211       fallback capability). If you only need or want one DNS server, remove the
    212       second <emphasis>nameserver</emphasis> line from the file. The IP address
    213       may also be a router on the local network.</para>
     208      with the IP address of the DNS server most appropriate for your setup.
     209      There will often be more than one entry (requirements demand secondary
     210      servers for fallback capability). If you only need or want one DNS server,
     211      remove the second <emphasis>nameserver</emphasis> line from the file.
     212      The IP address may also be a router on the local network. Another option
     213      is to use the Google Public DNS service using the IP addresses below as
     214      nameservers.</para>
    214215
    215216      <note><para>The Google Public IPv4 DNS addresses are
     
    263264
    264265     <para>Decide on a fully-qualified domain name (FQDN), and possible aliases
    265      for use in the <filename>/etc/hosts</filename> file. If using static
     266     for use in the <filename>/etc/hosts</filename> file. If using static IP
    266267     addresses, you'll also need to decide on an IP address. The syntax
    267268     for a hosts file entry is:</para>
     
    286287
    287288     <para>Even if not using a network card, a valid FQDN is still required.
    288      This is necessary for certain programs to operate correctly.</para>
    289 
    290      <para>If using DHCP, DHCPv6, IPv6 Autoconfiguration, or if a network card
    291      is not going to be configured, create the <filename>/etc/hosts</filename>
    292      file by running the following command:</para>
     289     This is necessary for certain programs, such as MTAs, to operate properly.</para>
     290
     291     <para>Create the /etc/hosts file using the following command:</para>
    293292
    294293<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
     
    308307     specifically for the FQDN.</para>
    309308
     309<!--
    310310     <para>If using a static address, create the <filename>/etc/hosts</filename>
    311311     file by running this command instead:</para>
     
    314314<literal># Begin /etc/hosts
    315315
    316 127.0.0.1 localhost
     316127.0.0.1 localhost.localdomain localhost
    317317127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
    318318<replaceable>&lt;192.168.0.2&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2] ...</replaceable>
     
    330330     network/system administrator and the machine will be connected to an
    331331     existing network). The optional alias name(s) can be omitted.</para>
    332    
     332-->
    333333   </sect2>
    334334
  • chapter09/systemd-custom.xml

    ra3d0817 r9e7475a  
    5050
    5151    <para>By default, <filename class="directory">/tmp</filename> is created as
    52     a tmpfs. If this is not desired, it can be overridden by the following:</para>
     52    a tmpfs. If this is not desired, it can be overridden by executing the
     53    following command:</para>
    5354
    5455<screen role="nodump"><userinput>ln -sfv /dev/null /etc/systemd/system/tmp.mount</userinput></screen>
     
    5657    <para>Alternatively, if a a separate partition for
    5758    <filename class="directory">/tmp</filename> is desired, specify that
    58     partition in an <filename>/etc/fstab</filename> entry.</para>
     59    partition in a <filename>/etc/fstab</filename> entry.</para>
    5960
    6061    <warning>
     
    8889    files with the same name in
    8990    <filename class="directory">/usr/lib/tmpfiles.d</filename>. See
    90     <filename>tmpfiles.d(5)</filename> manual page  for file format
     91    <filename>tmpfiles.d(5)</filename> manual page for file format
    9192    details.</para>
    9293
     
    104105      which in turn references type d (directory). This then creates the
    105106      specified directory if is is not present and adjusts the permissions
    106       and ownership as specified.  Contents of the directory will be
     107      and ownership as specified. Contents of the directory will be
    107108      subject to time based cleanup if the age argument is specified.
    108109     </para>
     
    122123    <title>Overriding Default Services Behavior</title>
    123124
    124     <para>The parameter of a unit can be overriden by creating a directory
     125    <para>The parameters of a unit can be overriden by creating a directory
    125126    and a configuration file in <filename
    126127    class="directory">/etc/systemd/system</filename>. For example:</para>
     
    181182    <para>Logging on a system booted with systemd is handled with
    182183    systemd-journald (by default), rather than a typical unix syslog daemon.
    183     You can also add a normal syslog daemon and have both work side by
     184    You can also add a normal syslog daemon and have both operate side by
    184185    side if desired. The systemd-journald program stores journal entries in a
    185186    binary format rather than a plain text log file. To assist with
     
    203204       </listitem>
    204205       <listitem>
    205          <para><command>journalctl -f</command>: povides functionality similar
     206         <para><command>journalctl -f</command>: provides functionality similar
    206207         to tail -f (follow).</para>
    207208       </listitem>
     
    216217    when a daemon process crashes. On systemd booted systems the core
    217218    dumping is handled by <command>systemd-coredump</command>.  It will
    218     log the core dump into the journal and store the core dump itself in
     219    log the core dump in the journal and store the core dump itself in
    219220    <filename class="directory">/var/lib/systemd/coredump</filename>.
    220     To retrieve and process core dumps, <command>coredumpctl</command>
     221    To retrieve and process core dumps, the <command>coredumpctl</command>
    221222    tool is provided.  Here are some examples of frequently used commands:
    222223    </para>
     
    225226      <listitem>
    226227        <para><command>coredumpctl -r</command>: lists all core dumps in
    227         reversed chronological order.</para>
    228       </listitem>
    229       <listitem>
    230         <para><command>coredumpctl -1 info</command>: show the information
    231         of the last core dump.</para>
    232       </listitem>
    233       <listitem>
    234         <para><command>coredumpctl -1 debug</command>: load the last core
     228        reverse chronological order.</para>
     229      </listitem>
     230      <listitem>
     231        <para><command>coredumpctl -1 info</command>: shows the information
     232        from the last core dump.</para>
     233      </listitem>
     234      <listitem>
     235        <para><command>coredumpctl -1 debug</command>: loads the last core
    235236        dump into <ulink url="&blfs-book;general/gdb.html">GDB</ulink>.
    236237        </para>
     
    250251EOF</userinput></screen>
    251252
    252     <para>See <filename>systemd-coredump(8)</filename>,
     253    <para>See the <filename>systemd-coredump(8)</filename>,
    253254    <filename>coredumpctl(1)</filename>, and
    254255    <filename>coredump.conf.d(5)</filename> manual pages for more
     
    285286          after the user session has ended, but breaks backwards compatibility
    286287          with tools like <command>nohup</command> and utilities that use
    287           <function>deamon()</function>.
     288          <function>daemon()</function>.
    288289        </para>
    289290      </listitem>
     
    299300      <listitem>
    300301        <para>
    301           <emphasis>Disable at build-time</emphasis>: You can enable
     302          <emphasis>Disable at build-time</emphasis>: You can disable
    302303          lingering by default while building systemd by adding the switch
    303304          <parameter>-Ddefault-kill-user-processes=false</parameter> to the
  • chapter09/udev.xml

    ra3d0817 r9e7475a  
    224224      <para>Note that the <quote>softdep</quote> command also allows
    225225      <literal>pre:</literal> dependencies, or a mixture of both
    226       <literal>pre:</literal> and <literal>post:</literal>.  See the
    227       <filename>modprobe.d(5)</filename> manual page for more information
     226      <literal>pre:</literal> and <literal>post:</literal> dependencies.  See
     227      the <filename>modprobe.d(5)</filename> manual page for more information
    228228      on <quote>softdep</quote> syntax and capabilities.</para>
    229229
    230       <para>If the module in question is not a wrapper and is useful by itself,
    231       configure the <command>modules</command> bootscript to load this
    232       module on system boot. To do this, add the module name to the
     230      <para revision="sysv">If the module in question is not a wrapper and is
     231      useful by itself, configure the <command>modules</command> bootscript to
     232      load this module on system boot. To do this, add the module name to the
    233233      <filename>/etc/sysconfig/modules</filename> file on a separate line.
    234234      This works for wrapper modules too, but is suboptimal in that case.</para>
Note: See TracChangeset for help on using the changeset viewer.