Difference between revisions of "Talk:NFS"

From ArchWiki
Jump to: navigation, search
(Standardize the script placement)
Line 11: Line 11:
  # systemctl reenable auto_share.service
  # systemctl reenable auto_share.service
[[User:Blippy|Blippy]] ([[User talk:Blippy|talk]]) 19:32, 8 September 2013 (UTC)
--[[User:Blippy|Blippy]] ([[User talk:Blippy|talk]]) 19:32, 8 September 2013 (UTC)

Revision as of 19:32, 8 September 2013

I think that /etc/systemd/system/auto_share.service should contain the following line after Description:


The rationale for it is that you need to wait for the network to be up and running before attempting an NFS connect from client-side. You need to enable that service like so:

# systemctl enable NetworkManager-wait-online

I can't help thinking that this is a bit of a kludge in any event, and is a scenario that should be handled automatically by systemd.

--Blippy (talk) 18:32, 8 September 2013 (UTC)

/etc/systemd/system/auto_share.service is a bad place to create the file. Instead, do it in the standard way by creating it as /lib/systemd/system/auto_share.service and re-enabling it using the command

# systemctl reenable auto_share.service

--Blippy (talk) 19:32, 8 September 2013 (UTC)