Fix DNS resolution by including /etc/resolv.conf in jail
This commit is contained in:
parent
6aa4adae8f
commit
bf0c1d588a
@ -16,6 +16,7 @@ nsjail -Mo
|
|||||||
--bindmount_ro /bin --bindmount_ro /sbin \
|
--bindmount_ro /bin --bindmount_ro /sbin \
|
||||||
--bindmount_ro /usr --bindmount_ro /lib --bindmount_ro /lib64 \
|
--bindmount_ro /usr --bindmount_ro /lib --bindmount_ro /lib64 \
|
||||||
--bindmount_ro /dev/null --bindmount_ro /dev/urandom --bindmount_ro /dev/random \
|
--bindmount_ro /dev/null --bindmount_ro /dev/urandom --bindmount_ro /dev/random \
|
||||||
|
--bindmount_ro /etc/resolv.conf \
|
||||||
--env HOME=/home/proton \
|
--env HOME=/home/proton \
|
||||||
--env PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin \
|
--env PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin \
|
||||||
-- ${BIN}
|
-- ${BIN}
|
||||||
|
Loading…
Reference in New Issue
Block a user