Having had some issues with playback of files from a locally mounted NFS-share (on /mnt/media
) I came across the below. Not sure if this is a problem, but it bothers me.
After a reboot this shows up in the journal:
Nov 25 17:36:43 osmc kernel: FS-Cache: Netfs 'nfs' registered for caching
Nov 25 17:36:43 osmc nfs-common[163]: Starting NFS common utilities: statd
Nov 25 17:36:43 osmc nfs-common[163]: Not starting: portmapper is not running ... (warning).
Nov 25 17:36:47 osmc systemd[1]: Starting LSB: RPC portmapper replacement...
Nov 25 17:36:47 osmc systemd[1]: Started LSB: RPC portmapper replacement.
which seems very unfortunate. Because when I do systemctl restart nfs-common
, this gets added:
Nov 25 17:41:03 osmc sudo[946]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/systemctl restart nfs-common
Nov 25 17:41:03 osmc nfs-common[949]: Stopping NFS common utilities: idmapd statd.
Nov 25 17:41:03 osmc kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Nov 25 17:41:03 osmc nfs-common[958]: Starting NFS common utilities: statd idmapd.
So, by default idmapd
doesn’t get started because portmapper
starts after nfs-common
. This could potentially cause problems for some people. Not sure if it affects my issues, as they tend to be sporadic. But, it might be something you might want to look into.
Hope this helps.
P.S. Pending a fix in OSMC/Kodi I plan on restarting the nfs-common
service after reboot using a cron job to reanimate idmapd
.