diff --git a/env/mount_linux.go b/env/mount_linux.go index 2400ef4..86350f5 100644 --- a/env/mount_linux.go +++ b/env/mount_linux.go @@ -76,7 +76,7 @@ func getDefaultMount(tmpFsConf string) *mount.Builder { // ghc wants /var/lib/ghc WithBind("/var/lib/ghc", "var/lib/ghc", true). // javaScript wants /dev/urandom - WithBind("/dev/urandom", "dev/urandom", true). + WithBind("/dev/urandom", "dev/urandom", false). // work dir WithTmpfs("w", tmpFsConf). // tmp dir diff --git a/mount.yaml b/mount.yaml index eabd1e5..9f2bc7d 100644 --- a/mount.yaml +++ b/mount.yaml @@ -39,7 +39,6 @@ mount: - type: bind source: /dev/urandom target: /dev/urandom - readonly: true # work dir - type: tmpfs target: /w