From patchwork Fri Jan 3 17:32:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 19555 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AEAD4179EA; Fri, 3 Jan 2020 17:35:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3698617979 for ; Fri, 3 Jan 2020 17:35:10 +0000 (GMT) Received: from localhost ([::1]:55218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inQqr-0006ZK-K1 for patchwork@mira.cbaines.net; Fri, 03 Jan 2020 12:35:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59750) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inQpp-0005UO-MC for guix-patches@gnu.org; Fri, 03 Jan 2020 12:34:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inQpn-0003kb-C0 for guix-patches@gnu.org; Fri, 03 Jan 2020 12:34:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inQpm-0003jN-FP for guix-patches@gnu.org; Fri, 03 Jan 2020 12:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inQpm-0008BP-Dm for guix-patches@gnu.org; Fri, 03 Jan 2020 12:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38902] [PATCH 0/9] Add NFS service Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Jan 2020 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38902@debbugs.gnu.org Cc: Ricardo Wurmus X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157807278331386 (code B ref -1); Fri, 03 Jan 2020 17:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2020 17:33:03 +0000 Received: from localhost ([127.0.0.1]:41379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inQon-00089q-Cs for submit@debbugs.gnu.org; Fri, 03 Jan 2020 12:33:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:43983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inQoj-00089e-9S for submit@debbugs.gnu.org; Fri, 03 Jan 2020 12:32:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56666) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inQog-0004NP-Cb for guix-patches@gnu.org; Fri, 03 Jan 2020 12:32:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inQoc-00072A-P6 for guix-patches@gnu.org; Fri, 03 Jan 2020 12:32:54 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inQoc-0006uL-7d for guix-patches@gnu.org; Fri, 03 Jan 2020 12:32:50 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1578072768; cv=none; d=zohomail.com; s=zohoarc; b=ITGqOs0foZ8p+E8knf/Hcl0E6skY9xDb8OCzGjzMsetpc89XRxmWqGDWLrYM6jh3qwAY7MwqByfmtWZUf0oil1+Ds/SbIAgkU3fnJsOR9mFSWalHmzAEX+y7lZ8SxsAJv3XtCgD3SuyOgso2Yhr8GlWg2CUaS/EM/jEHJS3erzg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578072768; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=74gxinGmLOkIGZw8+tHjwl10tMW5Np4RZKPsmJiL5O4=; b=WjtnoWlqDLts9gq6jIx4cVz6qvTJPDzyZuVFg6CY0jgkXHq7yT+fgNfwo2RNUTTR90s5UeZ1A2ZlosN7EEU/jMMse3KOs9Wna+O58a8FFXVB3FdWW0ImoJl2JQrxJ0q/hoM+ExA/k+Zc+syQdVswBrBJ0IF2y0GmvakadIAxc3E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1578072768; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=74gxinGmLOkIGZw8+tHjwl10tMW5Np4RZKPsmJiL5O4=; b=HWsOL56i+Tr2lHBmGQiAMFFteMv6T/eiunUQcUAUdvRIsyefS1NWWScfm1owqxj3 1MU6rvq1YJrZBUHv4zO+KITBvZCwXWpV4DRWh04heCkiv8VtMAVlm4cbfIoniMHNWtT 7ML/jnzWVmZ4MXoGlSLTpeEpOfr9xK2heIus0HEA= Received: from localhost (p54AD4FBF.dip0.t-ipconnect.de [84.173.79.191]) by mx.zohomail.com with SMTPS id 1578072764355151.7756600723244; Fri, 3 Jan 2020 09:32:44 -0800 (PST) From: Ricardo Wurmus Message-ID: <20200103173238.9598-1-rekado@elephly.net> Date: Fri, 3 Jan 2020 18:32:38 +0100 X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, this patch set adds a convenient nfs-service-type, a one-stop shop for setting up an NFS server. It takes care of starting and configuring all of the component services that are needed for NFS to function properly. I'm not sure the "Allow ... to be extended" changes are the best way to deal with service extension, so I'd be especially happy to receive comments on those patches. Ricardo Wurmus (9): gnu: nfs-utils: Update to 2.4.2. services: nfs: Fix name of package variable. services: nfs: Allow rpcbind-service-type to be extended. services: nfs: Allow pipefs-service-type to be extended. services: nfs: Fix indentation and typo. services: nfs: Allow idmap-service-type to be extended. services: nfs: Add verbosity control to idmap-service-type. services: nfs: Allow gss-service-type to be extended. services: nfs: Add nfs-service-type. doc/guix.texi | 77 +++- gnu/local.mk | 1 - gnu/packages/nfs.scm | 45 +- .../patches/nfs-utils-missing-headers.patch | 19 - gnu/services/nfs.scm | 422 ++++++++++++++---- gnu/tests/nfs.scm | 157 ++++++- 6 files changed, 583 insertions(+), 138 deletions(-) delete mode 100644 gnu/packages/patches/nfs-utils-missing-headers.patch