Skip to content
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

bugfix: execute remount rootfs before prestart hook #1622

Merged

Conversation

HusterWan
Copy link
Contributor

Signed-off-by: Michael Wan zirenwan@gmail.com

Ⅰ. Describe what this PR did

when execute prestart hook, if container's rootfs not mounted will cause start failed. so, we should mount the rootfs before excute prestart hook.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: Michael Wan <zirenwan@gmail.com>
@pouchrobot pouchrobot added kind/bug This is bug report for project size/S labels Jul 4, 2018
@codecov-io
Copy link

Codecov Report

Merging #1622 into master will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1622      +/-   ##
==========================================
+ Coverage   41.96%   41.98%   +0.01%     
==========================================
  Files         270      270              
  Lines       17597    17597              
==========================================
+ Hits         7385     7388       +3     
+ Misses       9303     9299       -4     
- Partials      909      910       +1
Impacted Files Coverage Δ
daemon/mgr/container.go 50.19% <0%> (-0.16%) ⬇️
ctrd/image.go 79.42% <0%> (+2.85%) ⬆️

@rudyfly
Copy link
Collaborator

rudyfly commented Jul 4, 2018

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Jul 4, 2018
@rudyfly rudyfly merged commit d55ca09 into AliyunContainerService:master Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants