google/gvisor

Implement /dev/kmsg inside gVisor

开放

#2,290 创建于 2020年3月31日

 (5 条评论) (0 个反应) (1 位负责人)Go (1,061 个派生)batch import
area: compatibilityarea: filesystemgood first issuestatus: help wantedtype: enhancement

仓库指标

星标
 (12,713 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I am trying to run ltp(https://github.com/linux-test-project), while it seems to run fine with runc in the docker privileged mode. I am getting error when I do the same with runsc.

image

Basically, ltp needs access to /dev/kmsg which I enabled in runc by running it with --privileged flag but the same is not working with runsc-kvm. I know runsc have stricter boundaries when it comes to giving access. I was wondering is there any way I can disable this in the build or by any other way?

贡献者指南