Skip to content

Commit

Permalink
steam_support: allow mounting of snap and hostfs directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu authored and Meulengracht committed Mar 11, 2024
1 parent c57901e commit 05d2d5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interfaces/builtin/steam_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ mount options=(rw, rbind) /bindfile* -> /newroot/run/host/container-manager,
# Allow mounting Nvidia drivers into the sandbox
mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/usr/lib/@{multiarch}/** -> /newroot/var/lib/snapd/hostfs/usr/lib/@{multiarch}/**,
mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/usr/share/** -> /newroot/**,
mount options=(rw, rbind) /oldroot/var/lib/snapd/hostfs/ -> /newroot/var/lib/snapd/hostfs/,
mount options=(rw, rbind) /oldroot/snap/ -> /newroot/snap/,
# Allow masking of certain directories in the sandbox
mount fstype=tmpfs options=(rw, nosuid, nodev) tmpfs -> /newroot/**,
Expand Down

0 comments on commit 05d2d5b

Please sign in to comment.