From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IMELNkdkVl+PdwAA0tVLHw (envelope-from ) for ; Mon, 07 Sep 2020 16:48:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qOnhMUdkVl9mHwAAB5/wlQ (envelope-from ) for ; Mon, 07 Sep 2020 16:48:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 092889400C7 for ; Mon, 7 Sep 2020 16:48:07 +0000 (UTC) Received: from localhost ([::1]:34232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFKJJ-0000nU-S4 for larch@yhetil.org; Mon, 07 Sep 2020 12:48:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFKJG-0000mh-A7 for guix-patches@gnu.org; Mon, 07 Sep 2020 12:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFKJG-00015N-1C for guix-patches@gnu.org; Mon, 07 Sep 2020 12:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFKJG-0005gd-01 for guix-patches@gnu.org; Mon, 07 Sep 2020 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Sep 2020 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43257@debbugs.gnu.org Cc: Danny Milosavljevic X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159949727721846 (code B ref -1); Mon, 07 Sep 2020 16:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2020 16:47:57 +0000 Received: from localhost ([127.0.0.1]:50633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFKJA-0005gH-Pb for submit@debbugs.gnu.org; Mon, 07 Sep 2020 12:47:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:56828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFKJ9-0005gA-DG for submit@debbugs.gnu.org; Mon, 07 Sep 2020 12:47:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFKJ9-0000fT-5W for guix-patches@gnu.org; Mon, 07 Sep 2020 12:47:55 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:42934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFKJ7-000151-1S for guix-patches@gnu.org; Mon, 07 Sep 2020 12:47:54 -0400 Received: from dayas.lan (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 959443362EEF; Mon, 7 Sep 2020 18:47:48 +0200 (CEST) From: Danny Milosavljevic Date: Mon, 7 Sep 2020 18:47:45 +0200 Message-Id: <20200907164745.15932-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Tags: patch Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/07 12:47:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: gYvBZTHqHWjT * gnu/services/nfs.scm (nfs-shepherd-services): Require file-systems to be mounted before starting NFS shepherd service. --- gnu/services/nfs.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/services/nfs.scm b/gnu/services/nfs.scm index 859097e788..24f746485b 100644 --- a/gnu/services/nfs.scm +++ b/gnu/services/nfs.scm @@ -292,7 +292,7 @@ (shepherd-service (documentation "Run the NFS statd daemon.") (provision '(rpc.statd)) - (requirement '(/proc/fs/nfsd rpcbind-daemon)) + (requirement '(/proc/fs/nfsd rpcbind-daemon file-systems)) (start #~(make-forkexec-constructor (list #$(file-append nfs-utils "/sbin/rpc.statd") @@ -311,7 +311,7 @@ (shepherd-service (documentation "Run the NFS mountd daemon.") (provision '(rpc.mountd)) - (requirement '(/proc/fs/nfsd rpc.statd)) + (requirement '(/proc/fs/nfsd rpc.statd file-systems)) (start #~(make-forkexec-constructor (list #$(file-append nfs-utils "/sbin/rpc.mountd") @@ -326,7 +326,7 @@ (shepherd-service (documentation "Run the NFS daemon.") (provision '(rpc.nfsd)) - (requirement '(/proc/fs/nfsd rpc.statd networking)) + (requirement '(/proc/fs/nfsd rpc.statd networking file-systems)) (start #~(lambda _ (zero? (apply system* #$(file-append nfs-utils "/sbin/rpc.nfsd") @@ -352,7 +352,7 @@ (shepherd-service (documentation "Run the NFS mountd daemon and refresh exports.") (provision '(nfs)) - (requirement '(/proc/fs/nfsd rpc.nfsd rpc.mountd rpc.statd rpcbind-daemon)) + (requirement '(/proc/fs/nfsd rpc.nfsd rpc.mountd rpc.statd rpcbind-daemon file-systems)) (start #~(lambda _ (let ((rpcdebug #$(file-append nfs-utils "/sbin/rpcdebug")))