-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
mount.mounted does not completely unmount NFS mounts when options change #18907
Comments
Thanks for the report @BABILEN. @garethgreenaway - I think you've been doing the most work with mount lately. Just wanted to ping you here in case you wanted to check this one out, too. If not, we can take a look as well. |
Once I get the other mount issue resolved I should be ale to take a look at this one. |
Hope to have a pull request for this sometime tomorrow. |
Awesome! Thanks @garethgreenaway! |
Hi, it seems that this problems is not fixed yet. Perhaps you can done a lazy unmount for NFS mountpoints ?
|
+1 for fixing this, still seeing this issue with 2016.3.5+ds-1 Debian, Jessie |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Nice how prooved bugs are not fixed for over three years and stale bot automatically closes them "silently" ... |
Stalebot is closing the issue because there hasn't been any additional comments. Issues can always be reopened 😄 if you can provide some more specifics about how the state module fails on fuse based file systems, I can take a look. |
Thank you for updating this issue. It is no longer marked as stale. |
Bump ^ We need more information on how this is failing on fuse systems |
yes, reading this thread could help ;-) As I wrote ... let me check ... 8 years ago there is the problem that FUSE has only 2 possible tasks.
so your module which does a "mount -r" must fail... Quick research shows e.g. here similar answers / no "-r" mount option for FUSE mounts: |
As mentioned in #18474
mount.mounted
needs to unmount NFS mounts and then mount them again if their mount options change. This requires NFS to be special cased as it behaves differently than other filesystems in that regard.In particular the following code requires some tweaks to allow for a complete "mount cycle":
Here an additional check for the actual filesystem needs to be performed before
remount_result = __salt__['mount.remount'](...)
to usemount.unmount
andmount.mount
in lieu ofmount.remount
if NFS specific options changed.The text was updated successfully, but these errors were encountered: