Skip to content

Commit

Permalink
fix: remove host bind mount for /tmp for trustd
Browse files Browse the repository at this point in the history
Not sure why this mount was needed, but it was added long time ago, and
I believe it's no longer needed.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Jul 10, 2024
1 parent ce4c404 commit 398151e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/app/machined/pkg/system/services/trustd.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ func (t *Trustd) Runner(r runtime.Runtime) (runner.Runner, error) {

// Set the mounts.
mounts := []specs.Mount{
{Type: "bind", Destination: "/tmp", Source: "/tmp", Options: []string{"rbind", "rshared", "rw"}},
{Type: "bind", Destination: filepath.Dir(constants.TrustdRuntimeSocketPath), Source: filepath.Dir(constants.TrustdRuntimeSocketPath), Options: []string{"rbind", "ro"}},
}

Expand Down

0 comments on commit 398151e

Please sign in to comment.