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.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/S4B2Z44X5W5ME3QQDVWMAFKZ33YY4TCK/

Reply via email to