Skip to content

Remove merged directory when it is unmounted#390

Merged
rhatdan merged 1 commit intocontainers:masterfrom
rhatdan:unlink
Jul 18, 2019
Merged

Remove merged directory when it is unmounted#390
rhatdan merged 1 commit intocontainers:masterfrom
rhatdan:unlink

Conversation

@rhatdan
Copy link
Member

@rhatdan rhatdan commented Jul 17, 2019

This should cause the kernel to clear any leaked mount points into other
containers.

Also create the merged directory every time you attempt to create it.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

This should cause the kernel to clear any leaked mount points into other
containers.

Also create the merged directory every time you attempt to create it.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@rhatdan
Copy link
Member Author

rhatdan commented Jul 17, 2019

I believe @rhvgoyal suggests this as a fix for containers/podman#3540

@rhvgoyal
Copy link
Contributor

This sounds like the right thing to do to help with unintentional leaking of container rootfs mount point.

Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

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

LGTM assuming happy tests.

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@rhatdan rhatdan merged commit a227972 into containers:master Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants