On 11 Feb 2014 22:20, "Jonathan Ryshpan" <jonrysh@xxxxxxxxxxx> wrote:
> As often happens, Ed has got to the root of the problem. The last line
> of the transcript is the important one.:
>
> # systemctl status nfs.service
> nfs-server.service - NFS Server
> Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
> Active: failed (Result: exit-code) since Tue 2014-02-11 13:36:33 PST; 1min 27s ago
> Process: 1316 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=1/FAILURE)
> Process: 1313 ExecStartPre=/usr/libexec/nfs-utils/scripts/nfs-server.preconfig (code=exited, status=0/SUCCESS)
>
> Feb 11 13:36:33 localhost.localdomain exportfs[1316]: exportfs: Failed to resolve amito
> Feb 11 13:36:33 localhost.localdomain exportfs[1316]: exportfs: Failed to resolve amito
> Feb 11 13:36:33 localhost.localdomain exportfs[1316]: exportfs: Failed to resolve amito
> Feb 11 13:36:33 localhost.localdomain exportfs[1316]: exportfs: Failed to resolve amito
> Feb 11 13:36:33 localhost.localdomain systemd[1]: nfs-server.service: control process exited, code=exited status=1
> Feb 11 13:36:33 localhost.localdomain systemd[1]: Failed to start NFS Server.
> Feb 11 13:36:33 localhost.localdomain systemd[1]: Unit nfs-server.service entered failed state.
>
> # systemctl start nfs-server.service
>
> # systemctl status nfs-server.service
> nfs-server.service - NFS Server
> Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
> Active: active (exited) since Tue 2014-02-11 13:46:00 PST; 17s ago
> Process: 1525 ExecStartPost=/usr/libexec/nfs-utils/scripts/nfs-server.postconfig (code=exited, status=0/SUCCESS)
> Process: 1510 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT (code=exited, status=0/SUCCESS)
> Process: 1507 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
> Process: 1504 ExecStartPre=/usr/libexec/nfs-utils/scripts/nfs-server.preconfig (code=exited, status=0/SUCCESS)
> Main PID: 1510 (code=exited, status=0/SUCCESS)
> CGroup: /system.slice/nfs-server.service
>
> Feb 11 13:46:00 localhost.localdomain systemd[1]: Starting NFS Server...
> Feb 11 13:46:00 localhost.localdomain systemd[1]: Started NFS Server.
>
> # systemctl enable NetworkManager-wait-online.service #<Fixes the problem; nfs starts at boot time.>
>
With all this discussion of NFS and systemd you may find this lwn article interesting...
https://lwn.net/Articles/584175/
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org