Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
agent: support read-only rootfs
Browse files Browse the repository at this point in the history
mount /run as a tmpfs to support read-only rootfs.

fixes #495

Signed-off-by: Julio Montes <julio.montes@intel.com>
  • Loading branch information
Julio Montes committed Mar 20, 2019
1 parent fe5572f commit b67fcc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ var initRootfsMounts = []initMount{
{"devtmpfs", "dev", "/dev", []string{"nosuid"}},
{"tmpfs", "tmpfs", "/dev/shm", []string{"nosuid", "nodev"}},
{"devpts", "devpts", "/dev/pts", []string{"nosuid", "noexec"}},
{"tmpfs", "tmpfs", "/run", []string{"nosuid", "nodev"}},
}

type process struct {
Expand Down

0 comments on commit b67fcc8

Please # to comment.