diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-07 23:58:39 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-08 00:26:02 -0500 |
commit | 5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495 (patch) | |
tree | 02c335ab89deb9819750208ceb9336fcc4fea1e5 /gnu/services | |
parent | be3908fa145b72da9fd53a30751383a69fbedcb0 (diff) | |
download | guix-5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495.tar guix-5fdc5b2d57d2e7ab04dbaf9c85e7f34eebe81495.tar.gz |
services: nfs: Run rpc.mountd in foreground.
Fixes <https://bugs.gnu.org/39708>.
Shepherd doesn't keep track of processes that fork themselves and would
disable the process after restarting it a couple times.
* gnu/services/nfs.scm (nfs-shepherd-services): Invoke rpc.mountd with the
'--foreground' option.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/nfs.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/nfs.scm b/gnu/services/nfs.scm index ddc9e2c47e..140a11856a 100644 --- a/gnu/services/nfs.scm +++ b/gnu/services/nfs.scm @@ -299,6 +299,7 @@ (start #~(make-forkexec-constructor (list #$(file-append nfs-utils "/sbin/rpc.mountd") + "--foreground" #$@(if (member 'mountd debug) '("--debug" "all") '()) |