X-Loop: help-debbugs@HIDDEN Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Danny Milosavljevic <dannym@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Mon, 07 Sep 2020 16:48:01 +0000 Resent-Message-ID: <handler.43257.B.159949727721846 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43257 <at> debbugs.gnu.org Cc: Danny Milosavljevic <dannym@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kFKJA-0005gH-Pb for submit <at> 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 <dannym@HIDDEN>) id 1kFKJ9-0005gA-DG for submit <at> 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 <dannym@HIDDEN>) id 1kFKJ9-0000fT-5W for guix-patches@HIDDEN; 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 <dannym@HIDDEN>) id 1kFKJ7-000151-1S for guix-patches@HIDDEN; 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 <dannym@HIDDEN> Date: Mon, 7 Sep 2020 18:47:45 +0200 Message-Id: <20200907164745.15932-1-dannym@HIDDEN> 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@HIDDEN; 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) * 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")))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Danny Milosavljevic <dannym@HIDDEN> Subject: bug#43257: Acknowledgement ([PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service.) Message-ID: <handler.43257.B.159949727721846.ack <at> debbugs.gnu.org> References: <20200907164745.15932-1-dannym@HIDDEN> X-Gnu-PR-Message: ack 43257 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43257 <at> debbugs.gnu.org Date: Mon, 07 Sep 2020 16:48:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 43257 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 43257: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43257 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 09 Sep 2020 08:28:02 +0000 Resent-Message-ID: <handler.43257.B43257.159964006629304 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic <dannym@HIDDEN> Cc: 43257 <at> debbugs.gnu.org Received: via spool by 43257-submit <at> debbugs.gnu.org id=B43257.159964006629304 (code B ref 43257); Wed, 09 Sep 2020 08:28:02 +0000 Received: (at 43257) by debbugs.gnu.org; 9 Sep 2020 08:27:46 +0000 Received: from localhost ([127.0.0.1]:57115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kFvSD-0007ca-TW for submit <at> debbugs.gnu.org; Wed, 09 Sep 2020 04:27:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kFvSA-0007cM-Sf for 43257 <at> debbugs.gnu.org; Wed, 09 Sep 2020 04:27:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57895) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kFvS5-0005Mj-6i; Wed, 09 Sep 2020 04:27:37 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54572 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kFvS4-0000b6-LA; Wed, 09 Sep 2020 04:27:36 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <20200907164745.15932-1-dannym@HIDDEN> Date: Wed, 09 Sep 2020 10:27:30 +0200 In-Reply-To: <20200907164745.15932-1-dannym@HIDDEN> (Danny Milosavljevic's message of "Mon, 7 Sep 2020 18:47:45 +0200") Message-ID: <87imcnmk25.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hey! Danny Milosavljevic <dannym@HIDDEN> skribis: > * gnu/services/nfs.scm (nfs-shepherd-services): Require file-systems to be > mounted before starting NFS shepherd service. [...] > +++ 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)) Why do we need all of =E2=80=98file-systems=E2=80=99 rather than just the s= tate file systems? Curiously, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Danny Milosavljevic <dannym@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Wed, 09 Sep 2020 10:14:01 +0000 Resent-Message-ID: <handler.43257.B43257.159964641423948 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 43257 <at> debbugs.gnu.org Received: via spool by 43257-submit <at> debbugs.gnu.org id=B43257.159964641423948 (code B ref 43257); Wed, 09 Sep 2020 10:14:01 +0000 Received: (at 43257) by debbugs.gnu.org; 9 Sep 2020 10:13:34 +0000 Received: from localhost ([127.0.0.1]:57279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kFx6c-0006EC-Jx for submit <at> debbugs.gnu.org; Wed, 09 Sep 2020 06:13:34 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:43224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kFx6a-0006E3-L1 for 43257 <at> debbugs.gnu.org; Wed, 09 Sep 2020 06:13:33 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 004AF3363616; Wed, 9 Sep 2020 12:13:30 +0200 (CEST) Date: Wed, 9 Sep 2020 12:13:22 +0200 From: Danny Milosavljevic <dannym@HIDDEN> Message-ID: <20200909121313.321a18d5@HIDDEN> In-Reply-To: <87imcnmk25.fsf@HIDDEN> References: <20200907164745.15932-1-dannym@HIDDEN> <87imcnmk25.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/7alOE_DuBqPPF__gyrcDTFD"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_/7alOE_DuBqPPF__gyrcDTFD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Wed, 09 Sep 2020 10:27:30 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > Why do we need all of =E2=80=98file-systems=E2=80=99 rather than just the= state file > systems? It really depends on what one uses it for, but for me it's this use case: * I have an extra hard drive that contains things I want to serve via NFS (it has nothing to do with the root file system). * The extra hard drive has to be mounted when NFS service starts up, otherwise exportfs errors out: If I don't require "file-systems", even if that drive is listed in the operating-system's file-systems list, it won't be mounted in time. I ran into this problem when merging Stefan's=20 new "nfs-root-fs" system test into gnu/tests/nfs.scm . Does this make sense or is it the wrong solution? --Sig_/7alOE_DuBqPPF__gyrcDTFD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9YqsIACgkQ5xo1VCww uqUHCggAhKmzN5oBbY3176t57kRoQrdCKX3e0g/8szUNbpjn08HfkVmlwwdEwvws uj22uyuyuxEH6QfXH9swwVLSEUXEreuCWEK2WGzFoGXgI5bOHIBDso3gbgMCRZXr meWyNTXwo1HCORHXhnvFZrwxMTA/lxZoK5+9AnImzJ2Q2ECd8eQoN5xwg9+H0i1G OzAzLcffTVdw2VLeEiQHPZDUc/vYa8em1uRTrxHdAkAGZkQOx6Gx6XgBlcI6A/3l TOkwOJ8VyLOGBnryx35wywyM3iJGY2Z8ZIQ13i57PYG4g0hHcrvxBEuX7mI0BSen OfZZifBEPOZzvc0o8CrohYaFOY2+Yg== =v5fM -----END PGP SIGNATURE----- --Sig_/7alOE_DuBqPPF__gyrcDTFD--
X-Loop: help-debbugs@HIDDEN Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Thu, 10 Sep 2020 07:44:02 +0000 Resent-Message-ID: <handler.43257.B43257.159972379413818 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic <dannym@HIDDEN> Cc: 43257 <at> debbugs.gnu.org Received: via spool by 43257-submit <at> debbugs.gnu.org id=B43257.159972379413818 (code B ref 43257); Thu, 10 Sep 2020 07:44:02 +0000 Received: (at 43257) by debbugs.gnu.org; 10 Sep 2020 07:43:14 +0000 Received: from localhost ([127.0.0.1]:35860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kGHEg-0003ao-7s for submit <at> debbugs.gnu.org; Thu, 10 Sep 2020 03:43:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1kGHEe-0003aY-Am for 43257 <at> debbugs.gnu.org; Thu, 10 Sep 2020 03:43:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52329) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1kGHEY-0006t3-Jw; Thu, 10 Sep 2020 03:43:06 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40128 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1kGHEY-0006il-3V; Thu, 10 Sep 2020 03:43:06 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <20200907164745.15932-1-dannym@HIDDEN> <87imcnmk25.fsf@HIDDEN> <20200909121313.321a18d5@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Fructidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 10 Sep 2020 09:42:58 +0200 In-Reply-To: <20200909121313.321a18d5@HIDDEN> (Danny Milosavljevic's message of "Wed, 9 Sep 2020 12:13:22 +0200") Message-ID: <87wo12jcvx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Danny, Danny Milosavljevic <dannym@HIDDEN> skribis: > On Wed, 09 Sep 2020 10:27:30 +0200 > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > >> Why do we need all of =E2=80=98file-systems=E2=80=99 rather than just th= e state file >> systems? > > It really depends on what one uses it for, but for me it's this use case: > > * I have an extra hard drive that contains things I want to serve via > NFS (it has nothing to do with the root file system). > * The extra hard drive has to be mounted when NFS service starts up, > otherwise exportfs errors out: > If I don't require "file-systems", even if that drive is listed in the > operating-system's file-systems list, it won't be mounted in time. Oh, I see. > I ran into this problem when merging Stefan's=20 > new "nfs-root-fs" system test into gnu/tests/nfs.scm . > > Does this make sense or is it the wrong solution? I just realized that these services should just all depend on =E2=80=98user-processes=E2=80=99 (which depends on =E2=80=98file-systems=E2= =80=99). So you should probably just do that. You can double-check with =E2=80=98guix system shepherd-graph=E2=80=99 that= the dependency graph looks good. Thanks, Ludo=E2=80=99.
X-Loop: help-debbugs@HIDDEN Subject: [bug#43257] [PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service. Resent-From: Danny Milosavljevic <dannym@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Thu, 10 Sep 2020 13:21:01 +0000 Resent-Message-ID: <handler.43257.B43257.159974404825881 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 43257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 43257 <at> debbugs.gnu.org Received: via spool by 43257-submit <at> debbugs.gnu.org id=B43257.159974404825881 (code B ref 43257); Thu, 10 Sep 2020 13:21:01 +0000 Received: (at 43257) by debbugs.gnu.org; 10 Sep 2020 13:20:48 +0000 Received: from localhost ([127.0.0.1]:37670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kGMVM-0006jN-CN for submit <at> debbugs.gnu.org; Thu, 10 Sep 2020 09:20:48 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:42906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1kGMVL-0006jD-AL for 43257 <at> debbugs.gnu.org; Thu, 10 Sep 2020 09:20:47 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F3E4B33606BF; Thu, 10 Sep 2020 15:20:45 +0200 (CEST) Date: Thu, 10 Sep 2020 15:20:42 +0200 From: Danny Milosavljevic <dannym@HIDDEN> Message-ID: <20200910152042.4b33a84f@HIDDEN> In-Reply-To: <87wo12jcvx.fsf@HIDDEN> References: <20200907164745.15932-1-dannym@HIDDEN> <87imcnmk25.fsf@HIDDEN> <20200909121313.321a18d5@HIDDEN> <87wo12jcvx.fsf@HIDDEN> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/b.gBxQFRLhb.+_HQdA8VGih"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --Sig_/b.gBxQFRLhb.+_HQdA8VGih Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, On Thu, 10 Sep 2020 09:42:58 +0200 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > I just realized that these services should just all depend on > =E2=80=98user-processes=E2=80=99 (which depends on =E2=80=98file-systems= =E2=80=99). So you should > probably just do that. Okay. Thanks. > You can double-check with =E2=80=98guix system shepherd-graph=E2=80=99 th= at the > dependency graph looks good. $ ./pre-inst-env guix system shepherd-graph -e '(@@ (gnu tests nfs) %nfs-os= )' gnu/tests/nfs.scm:162:4: error: missing root file system I can probably work around it somehow--but just logging this not-nice user interface here. --Sig_/b.gBxQFRLhb.+_HQdA8VGih Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9aKCoACgkQ5xo1VCww uqUagAf6AxGg/QJJaKmg1DsrZNCpcYJvO4aD3j7sKRLcbWlJjJCPBHSBmqdgy4Ff Vp25kOECf8MrtYc+O7Z+Ln/aJ6GmOtYOouFfRssTDkHSTyYmhnxu/CoJMDuvGeAT v6111rw+DW+++uu9gHapXZ+VHeJZmg9grKtakx+rycKHUNHB+4IhFyWmTfZQfgSL jVKJQQXxnRNRDWhCjEo0dtOQFbaVflCbHlI6/35WncjKNVRJ7amwkm4dqlDEfUs3 162WxXflWbEqp2rEhdTETx6FB5WCS4ytNQ0UqWjyWxrdzGXsFCvOY0M/Zz/dL5ju uGQm6xHFjMzMR7RvCri2qMv6Mnp2bg== =OZHl -----END PGP SIGNATURE----- --Sig_/b.gBxQFRLhb.+_HQdA8VGih--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.