From 157d83ebaed300488bc20ab4e39569f1b2c4aa72 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Wed, 2 Feb 2022 14:44:10 +0100 Subject: [PATCH 1/7] profiles: remove mask for gcc-config 2 As we need to update gcc-config to 2.5, we have to remove the old mask that prevents gcc-config 2 from being installed. --- .../profiles/coreos/base/package.accept_keywords | 3 +-- .../coreos-overlay/profiles/coreos/base/package.mask | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 2faf3803a0..b29a92c4f8 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -40,9 +40,8 @@ dev-util/checkbashisms # All versions are ~amd64 and not enabled on arm64 =sys-apps/nvme-cli-1.1 ** -# Upgrade to GCC 9.3.0 to support latest glibc builds +# Upgrade to GCC 10.3.0 to support latest glibc builds =sys-devel/binutils-2.37_p1 ~amd64 ~arm64 -=sys-devel/gcc-config-1.9.1 ~amd64 ~arm64 =sys-libs/binutils-libs-2.37_p1 ~amd64 ~arm64 =sys-fs/cryptsetup-2.4.1-r1 ~amd64 ~arm64 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.mask b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.mask index 8b3218484c..b6be334a2d 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.mask +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.mask @@ -11,10 +11,6 @@ # certificate store provided in NSS rather than the Gentoo/Debian package. >=app-misc/ca-certificates-20000000 -# Since version 2, it tries to write liblto symlinks with absolute paths that -# don't work when building for the board root directories. ->=sys-devel/gcc-config-2 - # Overwrite portage-stable mask. We are delaying the transition to # libxcrypt, because we need to figure out how to solve the dep loop # that results from the migration (python -> virtual/libcrypt -> From 7d24586b468346eb9e70e04971d2add452ce1a4f Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Thu, 3 Feb 2022 09:13:12 +0100 Subject: [PATCH 2/7] profiles: Update versions of iasl, kexec-tools Update sys-power/iasl to 20200326 for arm64. Update sys-apps/kexec-tools to 2.0.22 for arm64. --- .../profiles/coreos/arm64/package.accept_keywords | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/arm64/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/arm64/package.accept_keywords index 2c12431ceb..24e7d8a4d5 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/arm64/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/arm64/package.accept_keywords @@ -51,7 +51,7 @@ dev-util/patchelf * =sys-apps/man-db-2.7.6.1-r2 ~arm64 =sys-apps/policycoreutils-3.1-r3 ~arm64 -=sys-apps/kexec-tools-2.0.17-r1 ~arm64 +=sys-apps/kexec-tools-2.0.22 ~arm64 # needed to force enable rng-tools for arm64 =sys-apps/rng-tools-5-r2 ** @@ -73,7 +73,7 @@ dev-util/patchelf * =sys-libs/libselinux-3.1-r2 ~arm64 =sys-libs/libsemanage-3.1-r1 ~arm64 =sys-libs/libsepol-3.1 ~arm64 -=sys-power/iasl-20161222 ~arm64 +=sys-power/iasl-20200326 ~arm64 =sys-process/tini-0.18.0 ~arm64 =virtual/krb5-0-r1 ~arm64 =virtual/libusb-1-r2 ~arm64 From fad4ba41b8bb4d3d04e5c48bff895c5a4aadcb45 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Thu, 3 Feb 2022 12:16:17 +0100 Subject: [PATCH 3/7] net-fs/nfs-utils: update to 2.5.4-r3 Update net-fs/nfs-utils to 2.5.4-r3, as needed by gcc 10. Without that update, build fails like: ``` /usr/libexec/gcc/x86_64-cros-linux-gnu/ld: ../../support/export/libexport.a(xtab.o):.../support/export/xtab.c:32: multiple definition of `v4root_needed'; mountd-v4root.o:.../utils/mountd/v4root.c:31: first defined here ``` --- .../coreos-overlay/net-fs/nfs-utils/Manifest | 2 +- .../net-fs/nfs-utils/files/exports | 1 + .../files/nfs-utils-1.1.4-mtab-sym.patch | 39 --- .../files/nfs-utils-1.2.8-cross-build.patch | 48 ---- ...ls-2.3.1-svcgssd_undefined_reference.patch | 40 ---- .../files/nfs-utils-2.5.2-no-werror.patch | 68 ++++++ .../nfs-utils-2.5.4-kernel-5.3-nfsv4.patch | 32 +++ .../net-fs/nfs-utils/files/nfs-utils.conf | 9 - .../net-fs/nfs-utils/files/nfs.confd | 38 +++ .../net-fs/nfs-utils/files/nfs.initd | 156 ++++++++++++ .../net-fs/nfs-utils/files/nfsclient.confd | 18 ++ .../net-fs/nfs-utils/files/nfsclient.initd | 33 +++ .../nfs-utils/files/nfsmount.initd-1.3.1 | 26 ++ .../net-fs/nfs-utils/files/rpc.gssd.initd | 23 ++ .../net-fs/nfs-utils/files/rpc.idmapd.initd | 25 ++ .../net-fs/nfs-utils/files/rpc.pipefs.initd | 32 +++ .../net-fs/nfs-utils/files/rpc.statd.initd | 32 +++ .../net-fs/nfs-utils/files/rpc.svcgssd.initd | 23 ++ .../net-fs/nfs-utils/metadata.xml | 3 +- .../nfs-utils/nfs-utils-2.3.1-r3.ebuild | 140 ----------- .../nfs-utils/nfs-utils-2.5.4-r3.ebuild | 222 ++++++++++++++++++ 21 files changed, 731 insertions(+), 279 deletions(-) create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/exports delete mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch delete mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch delete mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.2-no-werror.patch create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.4-kernel-5.3-nfsv4.patch delete mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils.conf create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs.confd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfsclient.confd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfsclient.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfsmount.initd-1.3.1 create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/rpc.gssd.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/rpc.idmapd.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/rpc.pipefs.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/rpc.statd.initd create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/rpc.svcgssd.initd delete mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/nfs-utils-2.3.1-r3.ebuild create mode 100644 sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/nfs-utils-2.5.4-r3.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/Manifest b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/Manifest index 1c3cfc61e7..c36c94e4db 100644 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/Manifest +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/Manifest @@ -1 +1 @@ -DIST nfs-utils-2.3.1.tar.bz2 854899 BLAKE2B f9541b9dc103d978f21d57d8ba0c14a3b30f6ba874b112239d014076c1c72b6654e8e02b4bfea686e658dac84d1e896b872bc2054591275ef1713ae4e7b7d005 SHA512 de3e70f8656bc5b5aa98262685a9e80929c6314234d9bbb74d4c7efcb7a8b2640d48d2100850b403157ebefc8f0eb48598b48238fae795f64c7a0e9a8bff93e3 +DIST nfs-utils-2.5.4.tar.bz2 943373 BLAKE2B 72ed871613701f5b035941a7aed957771fe3b6a19fefee203130442c292bbbefde35721f2287fef19046d2d837faeda43b06a93a5acdb8ac6240eef90e6dd12c SHA512 b1395c5b06a06246666c48174594b1e08b71cf40b8f94b533497bd92625401a669e2c40e48dbd665891ad2247bc94d7d604d0c5d0f0b66bfe957b03d42e5d305 diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/exports b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/exports new file mode 100644 index 0000000000..5102ef27c1 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/exports @@ -0,0 +1 @@ +# /etc/exports: NFS file systems being exported. See exports(5). diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch deleted file mode 100644 index c9e60afc74..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.1.4-mtab-sym.patch +++ /dev/null @@ -1,39 +0,0 @@ -ripped from Debian - ---- nfs-utils-1.1.4/utils/mount/fstab.c -+++ nfs-utils-1.1.4/utils/mount/fstab.c -@@ -57,7 +57,7 @@ mtab_does_not_exist(void) { - return var_mtab_does_not_exist; - } - --static int -+int - mtab_is_a_symlink(void) { - get_mtab_info(); - return var_mtab_is_a_symlink; ---- nfs-utils-1.1.4/utils/mount/fstab.h -+++ nfs-utils-1.1.4/utils/mount/fstab.h -@@ -7,6 +7,7 @@ - #define _PATH_FSTAB "/etc/fstab" - #endif - -+int mtab_is_a_symlink(void); - int mtab_is_writable(void); - int mtab_does_not_exist(void); - void reset_mtab_info(void); ---- nfs-utils-1.1.4/utils/mount/mount.c -+++ nfs-utils-1.1.4/utils/mount/mount.c -@@ -230,6 +230,13 @@ create_mtab (void) { - int flags; - mntFILE *mfp; - -+ /* Avoid writing if the mtab is a symlink to /proc/mounts, since -+ that would create a file /proc/mounts in case the proc filesystem -+ is not mounted, and the fchmod below would also fail. */ -+ if (mtab_is_a_symlink()) { -+ return EX_SUCCESS; -+ } -+ - lock_mtab(); - - mfp = nfs_setmntent (MOUNTED, "a+"); diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch deleted file mode 100644 index 7317115a0e..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-1.2.8-cross-build.patch +++ /dev/null @@ -1,48 +0,0 @@ -this is kind of hacky, but automake doesn't make this easy -for us atm, so hack away :( - -(recent autotools will always add $(CFLAGS)/etc... to the compile) - ---- a/tools/locktest/Makefile.am -+++ b/tools/locktest/Makefile.am -@@ -1,12 +1,11 @@ - ## Process this file with automake to produce Makefile.in - - CC=$(CC_FOR_BUILD) --LIBTOOL = @LIBTOOL@ --tag=CC -+CFLAGS=$(CFLAGS_FOR_BUILD) -+CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -+LDFLAGS=$(LDFLAGS_FOR_BUILD) - - noinst_PROGRAMS = testlk - testlk_SOURCES = testlk.c --testlk_CFLAGS=$(CFLAGS_FOR_BUILD) --testlk_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) --testlk_LDFLAGS=$(LDFLAGS_FOR_BUILD) - - MAINTAINERCLEANFILES = Makefile.in ---- a/tools/rpcgen/Makefile.am -+++ b/tools/rpcgen/Makefile.am -@@ -1,7 +1,9 @@ - ## Process this file with automake to produce Makefile.in - - CC=$(CC_FOR_BUILD) --LIBTOOL = @LIBTOOL@ --tag=CC -+CFLAGS=$(CFLAGS_FOR_BUILD) -+CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -+LDFLAGS=$(LDFLAGS_FOR_BUILD) - - noinst_PROGRAMS = rpcgen - rpcgen_SOURCES = rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c \ -@@ -9,10 +11,6 @@ - rpc_util.c rpc_sample.c rpc_output.h rpc_parse.h \ - rpc_scan.h rpc_util.h - --rpcgen_CFLAGS=$(CFLAGS_FOR_BUILD) --rpcgen_CPPLAGS=$(CPPFLAGS_FOR_BUILD) --rpcgen_LDFLAGS=$(LDFLAGS_FOR_BUILD) --rpcgen_LDADD=$(LIBTIRPC) - - MAINTAINERCLEANFILES = Makefile.in - - EXTRA_DIST = rpcgen.new.1 diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch deleted file mode 100644 index 77c902f272..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.3.1-svcgssd_undefined_reference.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 1451d7585bf1c622658ccc04abac7e79ffe40263 Mon Sep 17 00:00:00 2001 -From: Justin Mitchell -Date: Mon, 8 Jan 2018 09:14:11 -0500 -Subject: [PATCH] svcgssd: Update svcgssd so that it builds - -Since a15bd948 the --enable-svcgss option no longer builds -as svcgssd references functions which were changed at that time. -Fix those, and other function changes since then. - -Signed-off-by: Justin Mitchell -Signed-off-by: Steve Dickson ---- - utils/gssd/svcgssd.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c -index 3514ae1..23f0c0b 100644 ---- a/utils/gssd/svcgssd.c -+++ b/utils/gssd/svcgssd.c -@@ -63,6 +63,8 @@ - #include "err_util.h" - #include "conffile.h" - -+struct state_paths etab; -+ - void - sig_die(int signal) - { -@@ -101,7 +103,7 @@ main(int argc, char *argv[]) - char *principal = NULL; - char *s; - -- conf_init(NFS_CONFFILE); -+ conf_init_file(NFS_CONFFILE); - - s = conf_get_str("svcgssd", "principal"); - if (!s) --- -1.8.3.1 - diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.2-no-werror.patch b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.2-no-werror.patch new file mode 100644 index 0000000000..a7226db249 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.2-no-werror.patch @@ -0,0 +1,68 @@ +From 6ab8c7c186bd4a547a0ca435ecabe10ee50039c5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Thu, 22 Oct 2020 19:44:34 +0200 +Subject: [PATCH] Don't build with -Werror flags + +https://bugs.gentoo.org/656984 + +Signed-off-by: Lars Wendler +--- + configure.ac | 34 +--------------------------------- + 1 file changed, 1 insertion(+), 33 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 50847d8a..6bc18e93 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -631,47 +631,15 @@ AC_SUBST(CPPFLAGS_FOR_BUILD) + AC_SUBST(LDFLAGS_FOR_BUILD) + + my_am_cflags="\ +- -pipe \ + -Wall \ + -Wextra \ + $rpcgen_cflags \ +- -Werror=missing-prototypes \ +- -Werror=missing-declarations \ +- -Werror=format=2 \ +- -Werror=undef \ +- -Werror=missing-include-dirs \ +- -Werror=strict-aliasing=2 \ +- -Werror=init-self \ +- -Werror=implicit-function-declaration \ +- -Werror=return-type \ +- -Werror=switch \ +- -Werror=overflow \ +- -Werror=parentheses \ +- -Werror=aggregate-return \ +- -Werror=unused-result \ + -fno-strict-aliasing \ + " + +-AC_DEFUN([CHECK_CCSUPPORT], [ +- my_save_cflags="$CFLAGS" +- CFLAGS="-Werror $1" +- AC_MSG_CHECKING([whether CC supports $1]) +- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], +- [AC_MSG_RESULT([yes])] +- [$2+=$1], +- [AC_MSG_RESULT([no])] +- ) +- CFLAGS="$my_save_cflags" +-]) +- +-CHECK_CCSUPPORT([-Werror=format-overflow=2], [flg1]) +-CHECK_CCSUPPORT([-Werror=int-conversion], [flg2]) +-CHECK_CCSUPPORT([-Werror=incompatible-pointer-types], [flg3]) +-CHECK_CCSUPPORT([-Werror=misleading-indentation], [flg4]) +-CHECK_CCSUPPORT([-Wno-cast-function-type], [flg5]) + AX_GCC_FUNC_ATTRIBUTE([format]) + +-AC_SUBST([AM_CFLAGS], ["$my_am_cflags $flg1 $flg2 $flg3 $flg4 $flg5"]) ++AC_SUBST([AM_CFLAGS], ["$my_am_cflags"]) + + # Make sure that $ACLOCAL_FLAGS are used during a rebuild + AC_SUBST([ACLOCAL_AMFLAGS], ["-I $ac_macro_dir \$(ACLOCAL_FLAGS)"]) +-- +2.29.0 + diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.4-kernel-5.3-nfsv4.patch b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.4-kernel-5.3-nfsv4.patch new file mode 100644 index 0000000000..c9a543191b --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils-2.5.4-kernel-5.3-nfsv4.patch @@ -0,0 +1,32 @@ +https://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commitdiff;h=feb3dfc7127cf1337530ccb06ed90e818b026a07#patch1 +https://bugzilla.redhat.com/show_bug.cgi?id=1979816 +https://bugs.gentoo.org/808183 + +Slightly rebased by sam@ to account for version.h moving around. + +From feb3dfc7127cf1337530ccb06ed90e818b026a07 Mon Sep 17 00:00:00 2001 +From: Steve Dickson +Date: Wed, 22 Sep 2021 11:31:56 -0400 +Subject: [PATCH] mountd: only do NFSv4 logging on supported kernels. + +Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1979816 +Signed-off-by: Steve Dickson +--- a/support/export/v4clients.c ++++ b/support/export/v4clients.c +@@ -10,6 +10,7 @@ + #include + #include + #include "export.h" ++#include "../../utils/mount/version.h" + + /* search.h declares 'struct entry' and nfs_prot.h + * does too. Easiest fix is to trick search.h into +@@ -23,6 +24,8 @@ static int clients_fd = -1; + + void v4clients_init(void) + { ++ if (linux_version_code() < MAKE_VERSION(5, 3, 0)) ++ return; + if (clients_fd >= 0) + return; + clients_fd = inotify_init1(IN_NONBLOCK); diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils.conf b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils.conf deleted file mode 100644 index 02737e2f51..0000000000 --- a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs-utils.conf +++ /dev/null @@ -1,9 +0,0 @@ -d /var/lib/nfs/rpc_pipefs -d /var/lib/nfs/v4recovery -d /var/lib/nfs/v4root -C /var/lib/nfs/etab - - - - /usr/lib64/nfs/etab -C /var/lib/nfs/rmtab - - - - /usr/lib64/nfs/rmtab -C /var/lib/nfs/sm - - - - /usr/lib64/nfs/sm -C /var/lib/nfs/sm.bak - - - - /usr/lib64/nfs/sm.bak -C /var/lib/nfs/state - - - - /usr/lib64/nfs/state -C /var/lib/nfs/xtab - - - - /usr/lib64/nfs/xtab diff --git a/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs.confd b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs.confd new file mode 100644 index 0000000000..9dc14058c1 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/net-fs/nfs-utils/files/nfs.confd @@ -0,0 +1,38 @@ +# /etc/conf.d/nfs + +# If you wish to set the port numbers for lockd, +# please see /etc/sysctl.conf + +# Optional services to include in default `/etc/init.d/nfs start` +# For NFSv4 users, you'll want to add "rpc.idmapd" here. +NFS_NEEDED_SERVICES="" + +# Options to pass to rpc.nfsd +OPTS_RPC_NFSD="8" + +# Options to pass to rpc.mountd +# ex. OPTS_RPC_MOUNTD="-p 32767" +OPTS_RPC_MOUNTD="" + +# Options to pass to rpc.statd +# ex. OPTS_RPC_STATD="-p 32765 -o 32766" +OPTS_RPC_STATD="" + +# Options to pass to rpc.idmapd +OPTS_RPC_IDMAPD="" + +# Options to pass to rpc.gssd +OPTS_RPC_GSSD="" + +# Options to pass to rpc.svcgssd +OPTS_RPC_SVCGSSD="" + +# Options to pass to rpc.rquotad (requires sys-fs/quota) +OPTS_RPC_RQUOTAD="" + +# Timeout (in seconds) for exportfs +EXPORTFS_TIMEOUT=30 + +# Options to set in the nfsd filesystem (/proc/fs/nfsd/). +# Format is