k3s/pkg
Kubernetes Submit Queue 881c3cf508
Merge pull request #64324 from cofyc/fix62102
Automatic merge from submit-queue (batch tested with PRs 64399, 64324, 64404, 64406, 64396). 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>.

Should use `hostProcMountinfoPath` constant in nsenter_mount.go.

**What this PR does / why we need it**:

In nsenter mounter implementation, we should read mountinfo from `/rootfs/proc/1/mountinfo` instead of `/proc/self/mountinfo`.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

`/proc/self/mountinfo` will prefix `/rootfs` on mount point path, see

```
$ mkdir /mnt/test
$ mount -t tmpfs tmpfs /mnt/test/
$ docker run -it --volume=/:/rootfs:ro,rslave --net=host --pid=host --privileged=true busybox:latest cat /rootfs/proc/1/mountinfo | grep '\/mnt\/test'
442 25 0:80 / /mnt/test rw,relatime shared:70 - tmpfs tmpfs rw
$ docker run -it --volume=/:/rootfs:ro,rslave --net=host --pid=host --privileged=true busybox:latest cat /proc/self/mountinfo | grep '\/mnt\/test'
1075 985 0:80 / /rootfs/mnt/test rw,relatime master:70 - tmpfs tmpfs rw
```

**Release note**:

```release-note
NONE
```
2018-05-28 15:06:17 -07:00
..
api remove API dependency on printers 2018-05-21 13:46:53 -04:00
apis Merge pull request #64126 from mtaufen/remove-old-todos 2018-05-22 22:14:13 -07:00
auth add myself as an approver in various auth related directories 2018-05-17 11:32:37 -07:00
capabilities
client Autogenerated code 2018-05-15 21:38:54 +02:00
cloudprovider Merge pull request #64343 from MrHohn/security-policy-wrapper 2018-05-26 02:11:04 -07:00
controller Merge pull request #63232 from lichuqiang/provision_plumbing 2018-05-25 07:58:53 -07:00
credentialprovider Use new clients in Azure credential provider 2018-04-26 09:38:48 +08:00
features Merge pull request #64288 from gnufied/take-volume-resize-beta 2018-05-26 01:34:17 -07:00
fieldpath
generated Generated 2018-05-12 02:01:09 -04:00
kubeapiserver Merge pull request #64326 from andrewsykim/default-disable-pvl 2018-05-28 03:19:17 -07:00
kubectl remove unnecessary factory delegation for RESTClientGetter method 2018-05-28 15:12:41 +02:00
kubelet Merge pull request #64352 from Random-Liu/clean-limit-writer 2018-05-27 04:08:09 -07:00
kubemark Remove signal handler registration from pkg/kubelet 2018-05-24 20:44:12 +01:00
master Merge pull request #64174 from liggitt/correct-openapi-extensions 2018-05-24 09:41:09 -07:00
printers kubectl: Use apps/v1 Deployment/ReplicaSet. 2018-05-22 13:43:06 -07:00
probe
proxy Merge pull request #63964 from islinwb/update_ipvs_docs 2018-05-28 04:24:30 -07:00
quota
registry Merge pull request #64349 from nicksardo/fix-nodeport-alloc 2018-05-28 02:21:43 -07:00
routes
scheduler Merge pull request #64278 from silveryfu/master 2018-05-26 12:46:57 -07:00
security Replace UserIDRange/GroupIDRange by IDRange in internal type to reduce difference with external type. 2018-05-04 18:31:42 +02:00
securitycontext
serviceaccount add myself as an approver in various auth related directories 2018-05-17 11:32:37 -07:00
ssh Use Dial with context 2018-05-19 08:14:37 +10:00
util Should use `hostProcMountinfoPath` constant in nsenter_mount.go. 2018-05-26 00:09:25 +08:00
version
volume fix azure file size grow issue 2018-05-28 02:46:18 +00:00
watch/json
windows/service
.import-restrictions
BUILD
OWNERS