Skip to content

Commit

Permalink
Reapply "Disable gVisor's DirectFS feature.""
Browse files Browse the repository at this point in the history
This reverts commit 68f8338.

Fixes #982
  • Loading branch information
almet committed Nov 20, 2024
1 parent 4a1d9d8 commit 227a11d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ since 0.4.1, and this project adheres to [Semantic Versioning](https://semver.or

## [Unreleased](https://github.com/freedomofpress/dangerzone/compare/v0.8.0...HEAD)

### Added

- Disable gVisor's DirectFS feature ([#226](https://github.com/freedomofpress/dangerzone/issues/226)).
Thanks [EtiennePerot](https://github.com/EtiennePerot) for the contribution.

## [0.8.0](https://github.com/freedomofpress/dangerzone/compare/v0.8.0...0.7.1)

### Added
Expand Down
3 changes: 3 additions & 0 deletions dangerzone/gvisor_wrapper/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ def log(message: str, *values: typing.Any) -> None:
"--rootless=true",
"--network=none",
"--root=/home/dangerzone/.containers",
# Disable DirectFS for to make the seccomp filter even stricter,
# at some performance cost.
"--directfs=false",
]
if os.environ.get("RUNSC_DEBUG"):
runsc_argv += ["--debug=true", "--alsologtostderr=true"]
Expand Down

0 comments on commit 227a11d

Please sign in to comment.