GNU bug report logs -
#39708
nfs-service-type broken: rpc.mountd respawns too quickly
Previous Next
Full log
Message #17 received at 39708 <at> debbugs.gnu.org (full text, mbox):
I think I've gathered a clue!
scheme@(guix-user)> ,m (shepherd service)
scheme@(shepherd service)> (system "pidof rpc.mountd")
413 408 406 404 399 389 387
$1 = 0
scheme@(shepherd service)> (system "killall rpc.mountd")
$2 = 0
scheme@(shepherd service)> (system "pidof rpc.mountd")
$3 = 256
[...]
scheme@(shepherd service)> (make-forkexec-constructor
(list "/gnu/store/qyz1bncxlkxv44c03sva2akfsyqzkzh5-nfs-utils-2.4.2/sbin/rpc.mountd" "--debug" "all"))
$5 = #<procedure 7f67f82862a0 at shepherd/service.scm:930:8 args>
scheme@(shepherd service)> ($5)
$6 = 816
scheme@(shepherd service)> (system "pidof rpc.mountd")
warning: 'waitpid' -1 failed unexpectedly: No child processes
817
warning: 'waitpid' -1 failed unexpectedly: No child processes
$7 = 0
[...]
scheme@(shepherd service)> (system "pgrep rpc.mountd")
817
warning: 'waitpid' -1 failed unexpectedly: No child processes
$10 = 0
scheme@(shepherd service)>
That warning thrown by Guile/Shepherd is our clue. To be continued :-).
Maxim
This bug report was last modified 5 years and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.