From owner-svn-src-projects@freebsd.org Thu Sep 3 22:20:28 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58F983CCE98 for ; Thu, 3 Sep 2020 22:20:28 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjFcX1jwxz45bd; Thu, 3 Sep 2020 22:20:28 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F2502283B; Thu, 3 Sep 2020 22:20:28 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 083MKScd051287; Thu, 3 Sep 2020 22:20:28 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 083MKSS2051286; Thu, 3 Sep 2020 22:20:28 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <202009032220.083MKSS2051286@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Thu, 3 Sep 2020 22:20:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r365314 - projects/nfs-over-tls X-SVN-Group: projects X-SVN-Commit-Author: rmacklem X-SVN-Commit-Paths: projects/nfs-over-tls X-SVN-Commit-Revision: 365314 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 22:20:28 -0000 Author: rmacklem Date: Thu Sep 3 22:20:27 2020 New Revision: 365314 URL: https://svnweb.freebsd.org/changeset/base/365314 Log: Update the setup doc for startup of the daemons. Modified: projects/nfs-over-tls/nfs-over-tls-setup.txt Modified: projects/nfs-over-tls/nfs-over-tls-setup.txt ============================================================================== --- projects/nfs-over-tls/nfs-over-tls-setup.txt Thu Sep 3 22:11:01 2020 (r365313) +++ projects/nfs-over-tls/nfs-over-tls-setup.txt Thu Sep 3 22:20:27 2020 (r365314) @@ -284,6 +284,12 @@ The man pages for rpc.tlsclntd(8) and rpc.tlsservd(8) options, but here are a few examples. For an NFS server: +(Although these examples show the daemons started via a command line, the + options should normally be specified via the tls[clnt|serv]d_flags line + in /etc/rc.conf and then they are started upon boot. + To start them without use of the /etc/rc.d scripts, you will need to + add "/usr/ktls/lib" to your ldconfig_paths via rc.conf or similar. + Otherwise it will complain it cannot find the correct ssl library.) - An NFS server where no clients have certificates. # rpc.tlsservd @@ -344,9 +350,11 @@ Once you have set things up, you can add line(s) to yo for the daemon(s): For the client: tlsclntd_enable="YES" +tlsclntd_env="LD_LIBRARY_PATH=/usr/ktls/lib" For the server: tlsservd_enable="YES" +tlsservd_env="LD_LIBRARY_PATH=/usr/ktls/lib" - plus tlsclntd_flags and/or tlsservd_flags if you are using command line options for these (see below).