GNU bug report logs - #43257
[PATCH] services: nfs: Require file-systems to be mounted before starting NFS shepherd service.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Danny Milosavljevic <dannym@HIDDEN>; Keywords: patch; dated Mon, 7 Sep 2020 16:48:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 43257 <at> debbugs.gnu.org:


Received: (at 43257) by debbugs.gnu.org; 10 Sep 2020 13:20:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 10 09:20:48 2020
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>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: [bug#43257] [PATCH] services: nfs: Require file-systems to be
 mounted before starting NFS shepherd service.
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-Debbugs-Envelope-To: 43257
Cc: 43257 <at> debbugs.gnu.org
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--




Information forwarded to guix-patches@HIDDEN:
bug#43257; Package guix-patches. Full text available.

Message received at 43257 <at> debbugs.gnu.org:


Received: (at 43257) by debbugs.gnu.org; 10 Sep 2020 07:43:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 10 03:43:14 2020
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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: [bug#43257] [PATCH] services: nfs: Require file-systems to be
 mounted before starting NFS shepherd service.
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-Debbugs-Envelope-To: 43257
Cc: 43257 <at> debbugs.gnu.org
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.




Information forwarded to guix-patches@HIDDEN:
bug#43257; Package guix-patches. Full text available.

Message received at 43257 <at> debbugs.gnu.org:


Received: (at 43257) by debbugs.gnu.org; 9 Sep 2020 10:13:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 09 06:13:34 2020
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>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: [bug#43257] [PATCH] services: nfs: Require file-systems to be
 mounted before starting NFS shepherd service.
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-Debbugs-Envelope-To: 43257
Cc: 43257 <at> debbugs.gnu.org
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--




Information forwarded to guix-patches@HIDDEN:
bug#43257; Package guix-patches. Full text available.

Message received at 43257 <at> debbugs.gnu.org:


Received: (at 43257) by debbugs.gnu.org; 9 Sep 2020 08:27:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 09 04:27:46 2020
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: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: [bug#43257] [PATCH] services: nfs: Require file-systems to be
 mounted before starting NFS shepherd service.
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-Debbugs-Envelope-To: 43257
Cc: 43257 <at> debbugs.gnu.org
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.




Information forwarded to guix-patches@HIDDEN:
bug#43257; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Sep 2020 16:47:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 07 12:47:57 2020
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>
To: guix-patches@HIDDEN
Subject: [PATCH] services: nfs: Require file-systems to be mounted before
 starting NFS shepherd service.
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-Debbugs-Envelope-To: submit
Cc: Danny Milosavljevic <dannym@HIDDEN>
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")))




Acknowledgement sent to Danny Milosavljevic <dannym@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#43257; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 10 Sep 2020 13:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.