Changeset 7546d8b for chapter07


Ignore:
Timestamp:
11/21/2023 12:45:26 AM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
e49e2ea
Parents:
2df066c9 (diff), 01247ac (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chroot.xml

    r2df066c9 r7546d8b  
    4747    PS1='(lfs) \u:\w\$ '        \
    4848    PATH=/usr/bin:/usr/sbin     \
     49    MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>"      \
     50    TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
    4951    /bin/bash --login</userinput></screen>
    5052
    5153    <para>The command replace the current shell process with a new shell
    5254    process, with controlling terminal set up.</para>
     55
     56  <para>
     57    If you don't want to use all available logical cores, replace
     58    <replaceable>$(nproc)</replaceable> with the number of logical cores you
     59    want to use for building packages in this chapter and the following
     60    chapters.  The test suites of some packages (notably Autoconf, Libtool,
     61    and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they
     62    use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We
     63    set that here as well for running these test suites with multiple cores.
     64  </para>
    5365
    5466  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    6779  used.</para>
    6880
    69   <para>Note that the <command>bash</command> prompt will say
     81  <para>Also note that the <command>bash</command> prompt will say
    7082  <computeroutput>I have no name!</computeroutput> This is normal because the
    7183  <filename>/etc/passwd</filename> file has not been created yet.</para>
  • chapter07/createfiles.xml

    r2df066c9 r7546d8b  
    216216  the bad login attempts.</para>
    217217
    218   <note><para>The <filename>/run/utmp</filename> file records the users that
    219   are currently logged in.  This file is created dynamically in the boot
    220   scripts.</para></note>
     218  <!-- systemd no longer creates this -->
     219  <note revision='sysv'><para>The <filename>/run/utmp</filename> file
     220  records the users that are currently logged in.  This file is created
     221  dynamically in the boot scripts.</para></note>
     222
     223  <!-- AFAIK they are not vital for system function, users requiring such
     224       info should rely on systemd-logind or elogind or some custom PAM
     225       module.  Maybe we can stop to create them at all.  -->
     226  <note>
     227    <para>
     228      The <phrase revision='sysv'><filename>utmp</filename>,
     229      </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and
     230      <filename>lastlog</filename> files use 32-bit integers for timestamps
     231      and they'll be fundamentally broken after year 2038.  Many packages
     232      have stopped using them and other packages are going to stop using
     233      them.  It is probably best to consider them deprecated.
     234    </para>
     235  </note>
    221236
    222237</sect1>
Note: See TracChangeset for help on using the changeset viewer.