Skip to content

Commit b67fcc8

Browse files
author
Julio Montes
committed
agent: support read-only rootfs
mount /run as a tmpfs to support read-only rootfs. fixes kata-containers#495 Signed-off-by: Julio Montes <julio.montes@intel.com>
1 parent fe5572f commit b67fcc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ var initRootfsMounts = []initMount{
6262
{"devtmpfs", "dev", "/dev", []string{"nosuid"}},
6363
{"tmpfs", "tmpfs", "/dev/shm", []string{"nosuid", "nodev"}},
6464
{"devpts", "devpts", "/dev/pts", []string{"nosuid", "noexec"}},
65+
{"tmpfs", "tmpfs", "/run", []string{"nosuid", "nodev"}},
6566
}
6667

6768
type process struct {

0 commit comments

Comments
 (0)