kubernetes/pkg/util/mount
Kubernetes Submit Queue 74f2305c4f
Merge pull request #57967 from jsafrane/fix-nfs-root-squash
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fixed TearDown of NFS with root squash.

NFS plugin should not use `IsLikelyNotMountPoint()`, as it uses `lstat()` / `stat()` to determine if the NFS volume is still mounted - NFS server may use root_squash and kubelet may not be allowed to do `lstat()` / `stat()` there.

It must use slower `IsNotMountPoint()` instead, including in `TearDown()` function.

**Release note**:

```release-note
NONE
```

/assign @gnufied @rootfs
2018-01-17 13:32:03 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
exec.go Add Exec interface to VolumeHost 2017-08-14 12:16:25 +02:00
exec_mount.go Add ExecMounter 2017-11-10 13:14:40 +01:00
exec_mount_test.go Add ExecMounter 2017-11-10 13:14:40 +01:00
exec_mount_unsupported.go Fix cross-compliation of mount_exec.go 2017-11-14 16:30:00 +01:00
fake.go RBD Plugin: Prepare to implement Attacher/Detacher interfaces. 2017-10-25 17:07:27 +08:00
mount.go Fixed TearDown of NFS with root squash. 2018-01-08 14:01:33 +01:00
mount_linux.go Implement file system resizing support on kubelet start 2017-11-22 16:06:10 -05:00
mount_linux_test.go Share /var/lib/kubernetes on startup 2017-08-30 16:45:04 +02:00
mount_unsupported.go Tmpdir can be a symlink, also fake mount needs to call nested mounter 2017-11-03 22:21:29 -04:00
mount_windows.go Merge pull request #53629 from andyzhangx/azurefile-improve 2017-11-01 04:38:12 -07:00
mount_windows_test.go Merge pull request #53629 from andyzhangx/azurefile-improve 2017-11-01 04:38:12 -07:00
nsenter_mount.go use GetFileType per mount.Interface to check hostpath type 2017-09-26 09:57:06 +08:00
nsenter_mount_test.go Fix findmnt parsing in containerized kubelet 2017-07-18 13:35:44 +02:00
nsenter_mount_unsupported.go use GetFileType per mount.Interface to check hostpath type 2017-09-26 09:57:06 +08:00
OWNERS Add jsafrane as util/mount approver. 2018-01-08 14:19:22 +01:00
safe_format_and_mount_test.go RBD Plugin: Prepare to implement Attacher/Detacher interfaces. 2017-10-25 17:07:27 +08:00