jail: mount-bind /etc/resolv.conf for non-netns jails
authorDaniel Golle <daniel@makrotopia.org>
Thu, 12 Mar 2020 21:54:19 +0000 (22:54 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 12 Mar 2020 21:57:16 +0000 (22:57 +0100)
commit77a6782d6e4eba2c49e642672de134aff443ef72
treeb6d6283ea2fa9a6491259ca2712255c85b3ec127
parentc30b23e3657a2838a99daa8bd2d16909c027a261
jail: mount-bind /etc/resolv.conf for non-netns jails

Many applications won't work without name resolution and expect
/etc/resolv.conf in place. While this is already handled for
netns-jails, simply mount-bind /etc/resolv.conf for non-netns-jails.

Signed-off-by: Daniel Golle <daniel@makrotoia.org>
jail/jail.c