commit | 719011139238fcf13486c20d59360c77c72bda18 | [log] [download] |
---|---|---|
author | Andrey Vagin <avagin@openvz.org> | Wed Jan 22 14:37:37 2014 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Jan 22 14:54:50 2014 -0800 |
tree | 97174af194121de6c6289a70344e48f2ce16eb08 | |
parent | 8304da98c628fee2253135fd72b2914f459e08ac [diff] |
hook_ct: mount devtmpfs in CT All modern distributions require devtmpfs in /dev. devtmpfs can't be mounted from userns. This patch bind-mounts the host /dev. It's secure, because permissions are handled according with uid and gid maps for the user namespace. This patch removes old hacks about devices. They are not required any more. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>