On Mon, 30 Jul 2018 10:40:35 -0400
Bob Goodwin wrote:
Fedora 27 and 28 that do not mount the nfs server
at boot.
I always fix this using the big hammer work-around: mount them
from rc.local after a delay long enough to make sure the network
is really "up". This got more complicated when systemd screwed up
the ability to background things in rc.local, so now I have
/etc/rc.d/rc.local which contains:
/usr/bin/at -M now <<'HERE' > /dev/null 2>&1
/etc/rc.d/the-real-rc.local
HERE
Then I have /etc/rc.d/the-real-rc.local which contains the stuff
I used to put directly in rc.local:
/bin/bash -c 'sleep 25 ; mount -t nfs -a' > /dev/null 2>&1 <
/dev/null &
So 25 seconds after the boot is "finished", this mounts all nfs
filesystems. Seems pretty reliable. Certainly more reliable than
systemd doing the mounts.