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

vc: bind destination should be removed when unmounting #1974

Closed
darfux opened this issue Aug 19, 2019 · 0 comments · Fixed by #1975
Closed

vc: bind destination should be removed when unmounting #1974

darfux opened this issue Aug 19, 2019 · 0 comments · Fixed by #1975
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@darfux
Copy link
Contributor

darfux commented Aug 19, 2019

Description of problem

virtcontainers.ensureDestinationExists will create the bind destination directory/file, which should be removed properly when unmounting.

Expected result

When a container is stopped, the created bind destinations are removed as well.

Actual result

The files/directories still leaves in kataHostSharedDir

@darfux darfux added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Aug 19, 2019
darfux added a commit to darfux/runtime that referenced this issue Aug 19, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974
darfux added a commit to darfux/runtime that referenced this issue Aug 19, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
darfux added a commit to darfux/runtime that referenced this issue Aug 19, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
darfux added a commit to darfux/runtime that referenced this issue Aug 20, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
darfux added a commit to darfux/runtime that referenced this issue Aug 20, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
darfux added a commit to darfux/runtime that referenced this issue Aug 20, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
darfux added a commit to darfux/runtime that referenced this issue Aug 23, 2019
`virtcontainers.ensureDestinationExists` will create the bind
destination directory/file, which should be removed properly when
unmounting.

Fixes: kata-containers#1974

Signed-off-by: Li Yuxuan <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant