mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
optional ro mount /etc/pki in nsjail (#519)
contents of /etc/ssl symlink to /etc/pki on my system (Fedora) so some programs (like pip) fail without /etc/pki
This commit is contained in:
@@ -50,6 +50,13 @@ mount {
|
||||
is_bind: true
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/pki"
|
||||
dst: "/etc/pki"
|
||||
is_bind: true
|
||||
mandatory: false
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/ca-certificates"
|
||||
dst: "/etc/ca-certificates"
|
||||
|
||||
@@ -85,6 +85,13 @@ mount {
|
||||
is_bind: true
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/pki"
|
||||
dst: "/etc/pki"
|
||||
is_bind: true
|
||||
mandatory: false
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/resolv.conf"
|
||||
dst: "/etc/resolv.conf"
|
||||
|
||||
@@ -96,6 +96,13 @@ mount {
|
||||
is_bind: true
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/pki"
|
||||
dst: "/etc/pki"
|
||||
is_bind: true
|
||||
mandatory: false
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/etc/resolv.conf"
|
||||
dst: "/etc/resolv.conf"
|
||||
|
||||
Reference in New Issue
Block a user