jail: move /tmp/resolv.conf.d to /dev/resolv.conf.d
authorDaniel Golle <daniel@makrotopia.org>
Sun, 19 Jul 2020 19:21:33 +0000 (20:21 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 20 Jul 2020 00:06:10 +0000 (01:06 +0100)
commitf5f305e2973876e6f324127ed697a849dc6736e2
treed16c142d16505a54d1c6320a613db3f387e09dc2
parent76adac5ef4a0b5078a813d1a470a5408cf618d5f
jail: move /tmp/resolv.conf.d to /dev/resolv.conf.d

OCI spec implicitely intends /dev to be used as tmpfs mounted by
default while /tmp may not be mounted or may not even exist.
Hence move /tmp/resolv.conf.d to /dev/resolv.conf.d inside
container.

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