Changeset 02776dff
- Timestamp:
- 01/13/2021 08:44:28 AM (2 years ago)
- Branches:
- 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, 11.3, 11.3-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 704e800
- Parents:
- a892a14
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
ra892a14 r02776dff 1 2021-01-13 Xi Ruoyao <xry111@mengyan1223.wang> 2 * Use /run instead of deprecated /var/run 3 1 4 2020-10-02 DJ Lucas <dj@linuxfromscratch.org> 2 5 * make $local_fs a Should-Stop dependency of swap to allow clean install -
bootscripts/lfs/init.d/cleanfs
ra892a14 r02776dff 22 22 # Default-Stop: 23 23 # Short-Description: Cleans temporary directories early in the boot process. 24 # Description: Cleans temporary directories / var/run, /var/lock, and25 # optionally, /tmp. cleanfs also creates / var/run/utmp24 # Description: Cleans temporary directories /run, /var/lock, and 25 # optionally, /tmp. cleanfs also creates /run/utmp 26 26 # and any files defined in /etc/sysconfig/createfiles. 27 27 # X-LFS-Provided-By: LFS … … 96 96 fi 97 97 98 > / var/run/utmp98 > /run/utmp 99 99 100 100 if grep -q '^utmp:' /etc/group ; then 101 chmod 664 / var/run/utmp102 chgrp utmp / var/run/utmp101 chmod 664 /run/utmp 102 chgrp utmp /run/utmp 103 103 fi 104 104 -
bootscripts/lfs/init.d/rc
ra892a14 r02776dff 143 143 144 144 # Read the state file if it exists from runlevel S 145 [ -r / var/run/interactive ] && source /var/run/interactive145 [ -r /run/interactive ] && source /run/interactive 146 146 147 147 # Attempt to stop all services started by the previous runlevel, … … 218 218 # Store interactive variable on switch from runlevel S and remove if not 219 219 if [ "${runlevel}" == "S" -a "${interactive}" == "i" ]; then 220 echo "interactive=\"i\"" > / var/run/interactive220 echo "interactive=\"i\"" > /run/interactive 221 221 else 222 rm -f / var/run/interactive 2> /dev/null222 rm -f /run/interactive 2> /dev/null 223 223 fi 224 224 -
bootscripts/lfs/lib/services/init-functions
ra892a14 r02776dff 359 359 progname=`echo "${program}" | sed "s@${prefix}@@"` 360 360 361 if [ -e "/ var/run/${progname}.pid" ]; then362 rm -f "/ var/run/${progname}.pid" 2> /dev/null361 if [ -e "/run/${progname}.pid" ]; then 362 rm -f "/run/${progname}.pid" 2> /dev/null 363 363 fi 364 364 else … … 435 435 436 436 # If a PID file exists with that name, assume that is it. 437 if [ -e "/ var/run/${progname}.pid" ]; then438 pidfile="/ var/run/${progname}.pid"437 if [ -e "/run/${progname}.pid" ]; then 438 pidfile="/run/${progname}.pid" 439 439 fi 440 440 fi … … 529 529 "ID(s) ${pidlist}.${NORMAL}" 530 530 else 531 if [ -n "${base}" -a -e "/ var/run/${base}.pid" ]; then531 if [ -n "${base}" -a -e "/run/${base}.pid" ]; then 532 532 /bin/echo -e "${WARNING}${1} is not running but" \ 533 "/ var/run/${base}.pid exists.${NORMAL}"533 "/run/${base}.pid exists.${NORMAL}" 534 534 else 535 535 if [ -n "${pidfile}" -a -e "${pidfile}" ]; then -
chapter01/changelog.xml
ra892a14 r02776dff 44 44 --> 45 45 <listitem> 46 <para>2021-01-13</para> 47 <itemizedlist> 48 <listitem revision="systemd"> 49 <para>[xry111] - Fix util-linux uuidd socket path.</para> 50 </listitem> 51 <listitem> 52 <para>[xry111] - Remove various references to deprecated 53 /var/run, use /run insteadly.</para> 54 </listitem> 55 <listitem revision="sysv"> 56 <para>[xry111] - Update to lfs-bootscripts-20210113.</para> 57 </listitem> 58 </itemizedlist> 59 </listitem> 60 61 <listitem> 46 62 <itemizedlist> 47 63 <para>2021-01-01</para> -
chapter07/createfiles.xml
ra892a14 r02776dff 20 20 21 21 <indexterm zone="ch-tools-createfiles"> 22 <primary sortas="e-/ var/run/utmp">/var/run/utmp</primary>22 <primary sortas="e-/run/utmp">/run/utmp</primary> 23 23 </indexterm> 24 24 … … 70 70 bin:x:1:1:bin:/dev/null:/bin/false 71 71 daemon:x:6:6:Daemon User:/dev/null:/bin/false 72 messagebus:x:18:18:D-Bus Message Daemon User:/ var/run/dbus:/bin/false72 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false 73 73 systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false 74 74 systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false -
chapter07/util-linux.xml
ra892a14 r02776dff 59 59 --disable-pylibmount \ 60 60 --disable-static \ 61 --without-python</userinput></screen> 61 --without-python \ 62 runstatedir=/run</userinput></screen> 62 63 63 64 <variablelist> … … 91 92 </varlistentry> 92 93 94 <varlistentry> 95 <term><parameter>runstatedir=/run</parameter></term> 96 <listitem> 97 <para>This switch sets the location of the socket used by 98 <command>uuidd</command> and 99 <filename class="libraryfile">libuuid</filename> correctly.</para> 100 </listitem> 101 </varlistentry> 102 93 103 </variablelist> 94 104 -
chapter08/systemd.xml
ra892a14 r02776dff 473 473 <listitem> 474 474 <para>Outputs the previous and the current run-level, as noted in the 475 last run-level record in <filename>/ var/run/utmp</filename></para>475 last run-level record in <filename>/run/utmp</filename></para> 476 476 <indexterm zone="ch-system-systemd runlevel"> 477 477 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/sysvinit.xml
ra892a14 r02776dff 186 186 <listitem> 187 187 <para>Reports the previous and the current run-level, as noted in the 188 last run-level record in <filename>/ var/run/utmp</filename></para>188 last run-level record in <filename>/run/utmp</filename></para> 189 189 <indexterm zone="ch-system-sysvinit runlevel-sysv"> 190 190 <primary sortas="b-runlevel">runlevel</primary> -
chapter08/util-linux.xml
ra892a14 r02776dff 77 77 --disable-pylibmount \ 78 78 --disable-static \ 79 --without-python</userinput></screen> 79 --without-python \ 80 runstatedir=/run</userinput></screen> 80 81 81 82 <para>The --disable and --without options prevent warnings about -
chapter09/bootscripts.xml
ra892a14 r02776dff 86 86 <listitem> 87 87 <para>Removes files that should not be preserved between reboots, such 88 as those in <filename class="directory">/ var/run/</filename> and88 as those in <filename class="directory">/run/</filename> and 89 89 <filename class="directory">/var/lock/</filename>; it re-creates 90 <filename>/ var/run/utmp</filename> and removes the possibly present90 <filename>/run/utmp</filename> and removes the possibly present 91 91 <filename>/etc/nologin</filename>, <filename>/fastboot</filename>, and 92 92 <filename>/forcefsck</filename> files</para> -
general.ent
ra892a14 r02776dff 1 <!ENTITY version "SVN-202101 01">1 <!ENTITY version "SVN-20210113"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "202101 01-systemd">6 <!ENTITY versiond "20210113-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 8 <!ENTITY generic-versiond "systemd"> 9 9 10 <!ENTITY releasedate "January 1 st, 2021">10 <!ENTITY releasedate "January 13th, 2021"> 11 11 12 12 <!ENTITY copyrightdate "1999-2021"><!-- jhalfs needs a literal dash, not – --> -
packages.ent
ra892a14 r02776dff 376 376 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 377 377 378 <!ENTITY lfs-bootscripts-version "202 01019"> <!-- Scripts depend on this format -->378 <!ENTITY lfs-bootscripts-version "20210113"> <!-- Scripts depend on this format --> 379 379 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 380 380 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
Note:
See TracChangeset
for help on using the changeset viewer.