On Tue, 2022-11-08 at 08:12 -0800, Doug Herr wrote:
On Mon, Nov 7, 2022, at 9:08 AM, Jonathan Ryshpan wrote:The machine *OaklandWeather* is set up to export some directories tothe machine *amito*. But when OaklandWeather is restarted the export islost. Running "# exportfs -a" restores the export and the desired filescan be seen by amito.Some Details:root@OaklandWeather# cat /etc/exports# /etc/exportfs created by Jon : Fri 2021-11-05 02:33:51 PM PDT# edited by Jon : Tue Nov 16 10:30:08 AM PST 2021# / amito(rw,no_subtree_check,no_root_squash)/ amito(rw)/home amito(rw)The problem seems to happen because nfs is started before amito can beresolved:Do you have "NetworkManager-wait-online.service" enabled?Not sure if this would fix it, but it *seems* like it should.
I believe that I do. Here is the result of a query:
$ systemctl status NetworkManager-wait-online.service
● NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; preset: enabled)
Active: active (exited) since Wed 2022-12-21 08:25:36 PST; 2 days ago
Docs: man:nm-online(1)
Process: 1278 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=0/SUCCESS)
Main PID: 1278 (code=exited, status=0/SUCCESS)
CPU: 45ms
● NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; preset: enabled)
Active: active (exited) since Wed 2022-12-21 08:25:36 PST; 2 days ago
Docs: man:nm-online(1)
Process: 1278 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=0/SUCCESS)
Main PID: 1278 (code=exited, status=0/SUCCESS)
CPU: 45ms
BTW: I have adopted the suggestion of Tom Horsley to put "amito" in /etc/hosts, which seems to work well. However this could fail if my dns server changes amito's IP address -- unlikely but possible. I apologize for the late reply.
--
Sincerely Jonathan Ryshpan <jonrysh@xxxxxxxxxxx> The object of computation is not numbers but understanding. -- Hamming
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue