Clarification about creating xorg.sh.

Ensure /var/lib/nfs ownership is correct.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18753 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2017-05-21 22:15:27 +00:00
parent b4fc57d7c1
commit a1b111f871
2 changed files with 15 additions and 2 deletions

View File

@ -171,8 +171,9 @@ make</userinput></screen>
<!-- dev note: make statduser=$(whoami) DESTDIR=<DESTDIR> install -->
<screen role='root'><userinput>make install &amp;&amp;
chmod u+w,go+r /sbin/mount.nfs</userinput></screen>
<screen role='root'><userinput>make install &amp;&amp;
chmod u+w,go+r /sbin/mount.nfs &amp;&amp;
chown nobody.nogroup /var/lib/nfs</userinput></screen>
<para>The tests for this package require that the package be installed and
configured as specified below. In addition, the the daemon from <xref
@ -195,6 +196,11 @@ chmod u+w,go+r /sbin/mount.nfs</userinput></screen>
<para><parameter>--disable-gss</parameter>: Disables support for
RPCSEC GSS (RPC Security).</para>
<para><command>chown nobody.nogroup /var/lib/nfs</command>: The
rpc.statd program uses the ownership of this directory to set
it's UID and GID. This command sets those to unprivileged entries.
</para>
</sect2>
<sect2 role="configuration">

View File

@ -130,6 +130,13 @@ export XORG_PREFIX XORG_CONFIG
EOF
chmod 644 /etc/profile.d/xorg.sh</userinput></screen>
<note><para>There is some confustion about the above 'here' document.
The backslash in front of the dollar sign is correct. Bash
will remove it when creating /etc/profile.d/xorg.sh. However, if
you are creating the file with an editor, a copy and paste operation
will not remove the baskslash. It must then be removed manually.
</para></note>
<note><para>If you've decided to use the standard <filename
class="directory">/usr</filename> prefix, you can omit the remainder of
this page and continue at <xref linkend='util-macros'/>.</para></note>