google/gvisor

Implement /dev/kmsg inside gVisor

Open

#2.290 geöffnet am 31. März 2020

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (1.061 Forks)batch import
area: compatibilityarea: filesystemgood first issuestatus: help wantedtype: enhancement

Repository-Metriken

Stars
 (12.713 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 22h) (184 gemergte PRs in 30 T)

Beschreibung

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?

Contributor Guide