Files
kubernetes/pkg/util
Kubernetes Submit Queue aa1ec693c3 Merge pull request #62951 from dims/support-nsenter-better-in-non-systemd-envs
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>.

Support nsenter in non-systemd environments

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

In our CI, we run kubekins image for most of the jobs. This is a
debian image with upstart and does not enable systemd. So we should

* Bailout if any binary is missing other than systemd-run.
* SupportsSystemd should check the binary path to correctly
  identify if the systemd-run is present or not
* Pass the errors back to the callers so kubelet is forced to
  fail early when there is a problem. We currently assume
  that all binaries are in the root directory by default which
  is wrong.


**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**:

**Release note**:

```release-note
NONE
```
2018-04-25 01:08:10 -07:00
..
2018-02-16 13:43:01 -08:00
2018-02-27 11:18:11 -08:00
2018-02-16 13:43:01 -08:00
2018-02-16 13:43:01 -08:00
2018-02-16 13:43:01 -08:00
2018-02-15 18:04:04 -05:00
2017-12-23 13:12:11 -08:00
2018-02-16 13:43:01 -08:00
2017-10-15 18:18:13 -07:00
2018-03-08 21:00:13 +08:00
2018-03-27 11:31:37 +08:00
2018-04-08 16:56:06 +08:00
2017-10-15 18:18:13 -07:00
2018-02-27 11:18:11 -08:00
2018-02-16 13:43:01 -08:00
2018-02-16 13:43:01 -08:00
2018-02-16 13:43:01 -08:00
2018-03-05 09:14:44 +01:00
2017-12-23 13:12:11 -08:00
2017-12-23 13:12:11 -08:00
2018-02-16 13:43:01 -08:00
2017-10-15 18:18:13 -07:00
2017-12-23 13:12:11 -08:00
2017-10-15 18:18:13 -07:00
2018-02-22 23:34:42 -08:00