Author: robert
Date: 2011-08-13 19:29:17 -0600 (Sat, 13 Aug 2011)
New Revision: 1640
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter02/mounting.xml
trunk/BOOK/chapter08/fstab.xml
trunk/BOOK/general.ent
Log:
Use acl,user_xattr in /etc/fstab.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2011-08-11 23:38:54 UTC (rev 1639)
+++ trunk/BOOK/chapter01/changelog.xml 2011-08-14 01:29:17 UTC (rev 1640)
@@ -36,10 +36,20 @@
</listitem>
-->
+
<listitem>
<para>2011-08-11</para>
<itemizedlist>
<listitem>
+ <para>[robert] - Use acl,user_xattr in /etc/fstab.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
+ <para>2011-08-11</para>
+ <itemizedlist>
+ <listitem>
<para>[robert] - Use Linux Caps for mount and umount.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/chapter02/mounting.xml
===================================================================
--- trunk/BOOK/chapter02/mounting.xml 2011-08-11 23:38:54 UTC (rev 1639)
+++ trunk/BOOK/chapter02/mounting.xml 2011-08-14 01:29:17 UTC (rev 1640)
@@ -36,12 +36,13 @@
class="directory">/usr</filename>), mount them using:</para>
<screen role="nodump"><userinput>mkdir -pv $HLFS
-mount -v -t ext3 -o user_xattr,acl /dev/<replaceable><xxx></replaceable>
$HLFS
+mount -v -t ext3 -o acl,user_xattr /dev/<replaceable><xxx></replaceable>
$HLFS
mkdir -v $HLFS/usr
-mount -v -t ext3 -o user_xattr,acl /dev/<replaceable><yyy></replaceable>
$HLFS/usr</userinput></screen>
+mount -v -t ext3 -o acl,user_xattr /dev/<replaceable><yyy></replaceable>
$HLFS/usr</userinput></screen>
- <para>Note that the <option>-o user_xattr,acl</option> options are required
- in order to use Linux Capabilities to drop root priviledges for SUID
programs.</para>
+ <para>Note that the <option>-o acl,user_xattr</option> options are required
+ in order to use POSIX file capabilities to drop root priviledges for
SUID-root
+ programs.</para>
<para>Replace <replaceable><xxx></replaceable> and
<replaceable><yyy></replaceable> with the appropriate partition
Modified: trunk/BOOK/chapter08/fstab.xml
===================================================================
--- trunk/BOOK/chapter08/fstab.xml 2011-08-11 23:38:54 UTC (rev 1639)
+++ trunk/BOOK/chapter08/fstab.xml 2011-08-14 01:29:17 UTC (rev 1640)
@@ -25,7 +25,7 @@
# file system mount-point type options dump fsck
# order
-/dev/<replaceable><xxx></replaceable> /
<replaceable><fff></replaceable> defaults 1 1
+/dev/<replaceable><xxx></replaceable> /
<replaceable><fff></replaceable> acl,user_xattr 1 1
/dev/<replaceable><yyy></replaceable> swap swap pri=1
0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
@@ -42,6 +42,9 @@
class="filesystem">ext3</systemitem>. For details on the six
fields in this file, see <command>man 5 fstab</command>.</para>
+ <para>The <option>acl</option> and <option>user_xattr</option> options are
+ needed in order to use POSIX file capabilities.</para>
+
<para>The <filename class="directory">/dev/shm</filename> mount point
for <systemitem class="filesystem">tmpfs</systemitem> is included to
allow enabling POSIX-shared memory. The kernel must have the required
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2011-08-11 23:38:54 UTC (rev 1639)
+++ trunk/BOOK/general.ent 2011-08-14 01:29:17 UTC (rev 1640)
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20110811">
-<!ENTITY releasedate "August 11, 2011">
+<!ENTITY version "SVN-20110813">
+<!ENTITY releasedate "August 13, 2011">
<!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not
– -->
<!ENTITY milestone "1.0">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page