Author: dj
Date: Sun Feb 24 13:00:49 2019
New Revision: 21241

Log:
Make libnssckbi.so link unconditionally in p11-kit and NSS instructions.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/nss.xml
   trunk/BOOK/postlfs/security/p11-kit.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sun Feb 24 01:57:35 
2019        (r21240)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sun Feb 24 13:00:49 
2019        (r21241)
@@ -45,6 +45,10 @@
       <para>February 24th, 2019</para>
       <itemizedlist>
         <listitem>
+          <para>[dj] - Make libnssckbi.so link unconditionally in p11-kit and
+          NSS instructions.</para>
+        </listitem>
+        <listitem>
           <para>[dj] - Moved example configuration for make-ca to the
           configuration section.</para>
         </listitem>

Modified: trunk/BOOK/postlfs/security/nss.xml
==============================================================================
--- trunk/BOOK/postlfs/security/nss.xml Sun Feb 24 01:57:35 2019        (r21240)
+++ trunk/BOOK/postlfs/security/nss.xml Sun Feb 24 13:00:49 2019        (r21241)
@@ -223,16 +223,14 @@
     <systemitem class="username">root</systemitem> user, execute the following
     commands:</para>
 
-<screen role="root"><userinput>if [ -e /usr/lib/libp11-kit.so ]; then
-  readlink /usr/lib/libnssckbi.so ||
-  rm -v /usr/lib/libnssckbi.so    &amp;&amp;
-  ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so
-fi</userinput></screen>
+<screen role="root"><userinput>ln -sfv ./pkcs11/p11-kit-trust.so 
/usr/lib/libnssckbi.so</userinput></screen>
 
     <para>Additionally, for dependent applications that do not use the internal
     database (<filename>/usr/lib/libnssckbi.so</filename>), the
     <filename>/usr/sbin/make-ca</filename> script, included on the
-    <xref linkend="make-ca"/> page, will generate a system wide NSS DB.</para>
+    <xref linkend="make-ca"/> page can generate a system wide NSS DB with the
+    <parameter>-n</parameter> switch, or by modifying the
+    <filename>/etc/make-ca.conf</filename> file.</para>
 
   </sect2>
 

Modified: trunk/BOOK/postlfs/security/p11-kit.xml
==============================================================================
--- trunk/BOOK/postlfs/security/p11-kit.xml     Sun Feb 24 01:57:35 2019        
(r21240)
+++ trunk/BOOK/postlfs/security/p11-kit.xml     Sun Feb 24 13:00:49 2019        
(r21241)
@@ -162,11 +162,7 @@
     <systemitem class="username">root</systemitem> user, execute the following
     commands:</para>
 
-<screen role="root"><userinput>if [ -e /usr/lib/libnssckbi.so ]; then
-  readlink /usr/lib/libnssckbi.so ||
-  rm -fv /usr/lib/libnssckbi.so    &amp;&amp;
-  ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so
-fi</userinput></screen>
+<screen role="root"><userinput>ln -sfv ./pkcs11/p11-kit-trust.so 
/usr/lib/libnssckbi.so</userinput></screen>
 
   </sect2>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to