Skip to content

mxmount: Add option --noexport #71

Merged
merged 1 commit into from
Jan 30, 2019
Merged

mxmount: Add option --noexport #71

merged 1 commit into from
Jan 30, 2019

Conversation

donald
Copy link
Collaborator

@donald donald commented Jan 30, 2019

When mxmount is called by mxmount.service during boot, we do want to
mount the filesystems and produce /etc/exports, but we do not need
to call exportfs -ra. This is done by the startup of nfsd.service
anyway.

When exportfs -ra is used, the hostnames in /etc/exports are looked
up via DNS. This might be a problem, if DNS is not yet available.

Add option --noexport and use it in mxmount.service.

When mxmount is called by mxmount.service during boot, we do want to
mount the filesystems and produce /etc/exports, but we do not need
to call `exportfs -ra`. This is done by the startup of nfsd.service
anyway.

When `exportfs -ra` is used, the hostnames in /etc/exports are looked
up via dns. This might be a problem, if dns is not yet available.

Add option --noexport and use it in mxmount.service.
@pmenzel pmenzel merged commit c4cb6d2 into master Jan 30, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants