On 2/24/19 2:50 PM, DJ Lucas via blfs-support wrote:

On 2/23/2019 2:35 PM, Bruce Dubbs via blfs-support wrote:

I have had a problem with p11 configuration.  We now have

if [ -e /usr/lib/libnssckbi.so ]; then
   readlink /usr/lib/libnssckbi.so ||
   rm -fv /usr/lib/libnssckbi.so    &&
   ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so
fi

I think this could be replaced by just:

ln -sfvn ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so

Yes, just doing the link unconditionally in both p11-kit and NSS is
preferable. Originally, the test case was provided to keep a backup copy
of libnssckbi.so, but that has long since been dropped.I'll do that in a
moment.

Thanks for the make-ca update.  Much better.

I don't think the -n is needed above although it doesn't hurt.

ln [OPTION]... [-T] TARGET LINK_NAME

-n, --no-dereference
 treat  LINK_NAME  as a normal file if it is a symbolic link to a
 directory

Since the link name is not to a directory, then it doesn't do anything in this case. When typing, I tend to use the -n automatically because it usually does the right thing.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to