Parcourir la source

Add 'wheel' group to systemd groups, and move touch to /bin

Add 'wheel' group to systemd groups.
Add touch to the list of moved coreutils programs, and clarify necessity of the moves to meet FHS compliance.

Was r11488.
DJ Lucas il y a 6 ans
Parent
commit
2327e1ee12
4 fichiers modifiés avec 23 ajouts et 13 suppressions
  1. 13 0
      chapter01/changelog.xml
  2. 6 10
      chapter06/coreutils.xml
  3. 1 0
      chapter06/createfiles.xml
  4. 3 3
      general.ent

+ 13 - 0
chapter01/changelog.xml

@@ -41,6 +41,19 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
 -->
+    <listitem>
+      <para>2018-11-24</para>
+      <itemizedlist>
+        <listitem revision="systemd">
+          <para>[dj] - 将 "wheel" 添加到 systemd 组文件。</para>
+        </listitem>
+        <listitem>
+          <para>[dj] - 将 touch 添加到需要移动的 coreutils 工具列表中,
+          并阐明为了符合 FHS 而移动这些工具。</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2018-11-21</para>
       <itemizedlist>

+ 6 - 10
chapter06/coreutils.xml

@@ -158,17 +158,13 @@ mv -v /usr/bin/chroot /usr/sbin
 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
 sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
 
-    <para revision="sysv">LFS-Bootscripts 软件包中的某些启动脚本依赖于
-    <command>head</command>、<command>sleep</command> 和
-	<command>nice</command>。由于
-	<filename class="directory">/usr</filename> 在引导早期阶段可能不可用,
-    需要把它们移动到根分区: </para>
+    <para revision="sysv">LFS-Bootscripts 包中的部分脚本可能依赖于
+    <command>head</command>, <command>nice</command>,
+    <command>sleep</command>, 以及 <command>touch</command>。由于 <filename
+    class="directory">/usr</filename> 在系统引导的较早阶段可能不可用,
+    需要将这些程序移动到根分区,以保证 FHS 兼容性:</para>
 
-    <para revision="systemd">BLFS 和 BLFS 之外的一些软件包预期下列程序位于
-		<filename class="directory">/bin</filename> 中,
-		因此必须保证它们被放置在那里:</para>
-
-<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice} /bin</userinput></screen>
+<screen><userinput remap="install">mv -v /usr/bin/{head,nice,sleep,touch} /bin</userinput></screen>
 
   </sect2>
 

+ 1 - 0
chapter06/createfiles.xml

@@ -329,6 +329,7 @@ systemd-network:x:76:
 systemd-resolve:x:77:
 systemd-timesync:x:78:
 systemd-coredump:x:79:
+wheel:x:97:
 nogroup:x:99:
 users:x:999:</literal>
 EOF</userinput></screen>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20181121">
+<!ENTITY version         "SVN-20181124">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20181121-systemd">
+<!ENTITY versiond        "20181124-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "2018 年 11 月 21 日">
+<!ENTITY releasedate     "2018 年 11 月 24 日">
 
 <!ENTITY copyrightdate   "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "8.3">