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:
sqwishy
2022-08-31 21:48:10 +02:00
committed by GitHub
parent 0deb31e6b6
commit 79b4c18c9a
3 changed files with 21 additions and 0 deletions
+7
View File
@@ -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"
+7
View File
@@ -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"
+7
View File
@@ -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"