Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify sharenfs=on default behavior #9425

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Conversation

behlendorf
Copy link
Contributor

Motivation and Context

Issue #9397

Description

While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior. Align the
default behavior with the Linux NFS server defaults. To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

How Has This Been Tested?

Minimal. Manual testing required to verify the default behavior is as
expected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

@behlendorf behlendorf added Component: Share "zfs share" feature Status: Code Review Needed Ready for review and testing labels Oct 7, 2019
While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior.  Align the
default behavior with the Linux NFS server defaults.  To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

Signed-off-by: Brian Behlendorf <[email protected]>
Issue openzfs#9397
@codecov
Copy link

codecov bot commented Oct 8, 2019

Codecov Report

Merging #9425 into master will increase coverage by 0.44%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9425      +/-   ##
==========================================
+ Coverage   78.95%    79.4%   +0.44%     
==========================================
  Files         410      410              
  Lines      122499   122498       -1     
==========================================
+ Hits        96723    97273     +550     
+ Misses      25776    25225     -551
Flag Coverage Δ
#kernel 79.9% <ø> (+0.14%) ⬆️
#user 67.29% <ø> (+1.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94bcf6f...0ebae16. Read the comment docs.

@behlendorf behlendorf requested review from rlaager and loli10K October 11, 2019 17:14
@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Oct 14, 2019
@behlendorf behlendorf merged commit d292307 into openzfs:master Oct 14, 2019
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 26, 2019
While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior.  Align the
default behavior with the Linux NFS server defaults.  To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

Reviewed-by: loli10K <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#9397
Closes openzfs#9425
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Dec 27, 2019
While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior.  Align the
default behavior with the Linux NFS server defaults.  To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

Reviewed-by: loli10K <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#9397
Closes openzfs#9425
tonyhutter pushed a commit that referenced this pull request Jan 23, 2020
While it may sometimes be convenient to export an NFS filesystem with
no_root_squash it should not be the default behavior.  Align the
default behavior with the Linux NFS server defaults.  To restore
the previous behavior use 'zfs set sharenfs="no_root_squash,..."'.

Reviewed-by: loli10K <[email protected]>
Reviewed-by: Richard Laager <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #9397
Closes #9425
@behlendorf behlendorf deleted the issue-9397 branch April 19, 2021 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Share "zfs share" feature Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants