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

linux_ns_itype.t fails due to improper mountpoint cleaning #698

Open
CajuM opened this issue Jul 31, 2019 · 0 comments
Open

linux_ns_itype.t fails due to improper mountpoint cleaning #698

CajuM opened this issue Jul 31, 2019 · 0 comments

Comments

@CajuM
Copy link

CajuM commented Jul 31, 2019

When running sudo ./linux_ns_itype.t it produces the following output, then hangs.

ok 1 - inherit namespace cgroup without type
ok 2 - inherit namespace ipc without type
ok 3 - inherit namespace mnt without type
ok 4 - inherit namespace net without type
ok 5 - inherit namespace pid without type
ok 6 - inherit namespace user without type
ok 7 - inherit namespace uts without type

When Runtime.Clean is called it stumbles upon the container's proc mount. Which was not cleaned up since runc relies on the kernel's mechanism to automatically unmount all mountpoints in a namespace when it gets deleted. Since in this configuration the host and guest share the mount namespace, this never happens. And the test hangs.

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

No branches or pull requests

1 participant