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

runtime leaves mounts around after container shutdown #924

@jodh-intel

Description

@jodh-intel

As noted by @grahamwhaley:

$ sudo docker run -ti busybox true
$ mount|grep /run/hyper/shared/pods
/dev/mapper/zesty--vg-root on /run/hyper/shared/pods/a31e028e712b0710cf0373e418729b5fd8df782ab3463d47faab8e582ad89064/a31e028e712b0710cf0373e418729b5fd8df782ab3463d47faab8e582ad89064-44262945da62c2d6-hostname type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/mapper/zesty--vg-root on /run/hyper/shared/pods/a31e028e712b0710cf0373e418729b5fd8df782ab3463d47faab8e582ad89064/a31e028e712b0710cf0373e418729b5fd8df782ab3463d47faab8e582ad89064-25d8a0dc5936aa0a-hosts type ext4 (rw,relatime,errors=remount-ro,data=ordered)

The commit that introduced this issue is the virtcontainers re-vendor commit cec1b6f.

$ git log --format="%B" -1 cec1b6f4d8b9bc71887bc687ed39dc2502ccf9e8|grep mount
4c2c9a4 mounts: Fix bug while checking if /dev was bind-mounted
b3da3de mount: Fix tests for bindMountContainerRootfs function
c4a4be4 mount: Gather the entire bind mount API

c4a4be4 looks like a likely suspect but need to dig into that...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions