I had some stuttering on network playback and saw that it would be a good idea to mount nfs shares in /etc/fstab.
Playback works great but my Pi takes a long time to shut down now.
It gives me this message: “A stop job is running for /mnt/Macbook (1s / 1min 30s)”
I have tried changing all the parameters in the fstab entry but I cannot get it to stop,
This is my fstab:
I made it using the ‘Customise Home Menu’ option under Appearance - Skin - Settings.
I added a menu item and chose a ‘Custom Item’ under ‘Change Action’. I call the script via System.Exec(/path-to-your-script/)
OK, I see from your system log that you are networking via a WLAN. I suspect that the problem may be that for a WLAN bringing down connman causes you to lose your network connection immediately so the connnection is down before the NFS mount(s) are unmounted, and the umount blocks for 90s.
I think for ethernet connman will not tear down the connection right away - it only goes when target networking.service is stopped, so I don’t have this problem.
Okay, that makes a lot of sense.
Thank you for looking into it.
I am actually quite happy with my shortcut solution so it doesn’t matter much anyway.
Thank you again.