Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

kernel: Update kernel to 4.9.54 #144

Merged
merged 1 commit into from
Oct 10, 2017

Conversation

gorozco1
Copy link

This update includes patches added in #110 and #133

Fixes: #143

Signed-off-by: Geronimo Orozco [email protected]

Copy link
Contributor

@miguelinux miguelinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@gorozco1
Copy link
Author

gorozco1 commented Oct 10, 2017

@miguelinux do you need that we merge this PR before you update the linux container kernel in clearlinux?

This update includes patches added in clearcontainers#110 and clearcontainers#133

Fixes: clearcontainers#143

Signed-off-by: Geronimo Orozco <[email protected]>
@erick0z erick0z merged commit 66daeda into clearcontainers:master Oct 10, 2017
egernst pushed a commit to egernst/cc-packaging that referenced this pull request Nov 26, 2018
Fixes clearcontainers#144

Current kata containers can't run with kernel 4.1 built from current x86 config,
it will report error:

```
$ docker run -ti --runtime kata busybox sh
docker: Error response from daemon: oci runtime error: rpc error: code = Internal
 desc = Could not run process: container_linux.go:348: starting container process
 caused "process_linux.go:402: container init caused \"open /dev/ptmx: no such
file or directory\"".
```

This is caused by bogus devpts mount options. When run container with docker,
docker will assign a default devpts mount for every container which equals to
command below:

```
$ mount -t devpts -o nosuid,noexec,newinstance,ptmxmode=0666,mode=0620,gid=5 \
devpts /dev/pts
```

This requires kernel config `CONFIG_DEVPTS_MULTIPLE_INSTANCES=y` to work properly
under kernel-4.1, but this option is already removed from latest kernel.

It's better to add it back for support older kernel than current 4.14.

Signed-off-by: Wei Zhang <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants