Skip to content

Commit 4d04d87

Browse files
committed
landlock: Allow ro access to /var/lib/ca-certificates
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 3e70027 commit 4d04d87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/landlock/landlock.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func EnforceOrDie() {
5656
landlock.RODirs(
5757
"/proc/self",
5858
"/etc/ssl", // Root CA bundles to establish TLS.
59+
"/var/lib/ca-certificates", // Root CA bundles to establish TLS.
5960
filepath.Join(home, ".docker"), // Docker config to access OCI/registries.
6061
),
6162
landlock.ROFiles(

0 commit comments

Comments
 (0)