[lfs] branch trunk updated: shadow: Having /bin or /sbin in $PATH is not a good idea
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <173206809863.3999.17194005618711138410@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 410e400a7 shadow: Having /bin or /sbin in $PATH is not a good idea
410e400a7 is described below
commit 410e400a7978c1236b10689dc1268883a33ce778
Author: Xi Ruoyao <[email protected]>
AuthorDate: Wed Nov 20 09:59:23 2024 +0800
shadow: Having /bin or /sbin in $PATH is not a good idea
Turned out in a recent blfs-support discuss.
---
chapter08/shadow.xml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml
index 38d233a9d..4cdf2596e 100644
--- a/chapter08/shadow.xml
+++ b/chapter08/shadow.xml
@@ -83,13 +83,13 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \;</userinput></s
since they are simply symlinks to their counterparts in
<filename class="directory">/usr</filename>.</para>
- <note>
- <para>If you wish to include <filename class="directory">/bin</filename>
- and/or <filename class="directory">/sbin</filename> in the <envar>PATH</envar>
- for some reason, modify the
- <envar>PATH</envar> in <filename>.bashrc</filename> after LFS has been
- built.</para>
- </note>
+ <warning>
+ <para>Including <filename class="directory">/bin</filename>
+ and/or <filename class="directory">/sbin</filename> in
+ the <envar>PATH</envar> variable may cause some BLFS packages fail to
+ build,<!-- known example: SPIRV-LLVM-Translator --> so don't do that
+ in the <filename>.bashrc</filename> file or anywhere else.</para>
+ </warning>
<screen><userinput remap="pre">sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
-e 's:/var/spool/mail:/var/mail:' \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page