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

NAS-129791 / 24.10 / Fix validation for homedir mountinfo #13944

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

anodos325
Copy link
Contributor

Users may receive spurious validation error messages if they bind mount their home dataset to another filesystem path readonly because we are looking up filesystem by dev_t and not the stx_mnt_id.

This commit converts a filesystem.mount_info call for path or parent path into a filesystem.statfs call (which performs correct looup) for the same.

Users may receive spurious validation error messages if they
bind mount their home dataset to another filesystem path readonly
because we are looking up filesystem by dev_t and not the stx_mnt_id.

This commit converts a filesystem.mount_info call for path or parent
path into a filesystem.statfs call (which performs correct looup)
for the same.
@anodos325 anodos325 requested a review from a team June 28, 2024 11:37
@bugclerk
Copy link
Contributor

@bugclerk bugclerk changed the title Fix validation for homedir mountinfo NAS-129791 / 24.10 / Fix validation for homedir mountinfo Jun 28, 2024
@anodos325 anodos325 merged commit 6eda7b9 into master Jul 1, 2024
3 checks passed
@bugclerk
Copy link
Contributor

bugclerk commented Jul 1, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jul 1, 2024
@yocalebo yocalebo deleted the fix-homedir-mountinfo-validation branch December 4, 2024 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants