jail: do not hack /etc/resolv.conf on container rootfs
authorDaniel Golle <daniel@makrotopia.org>
Mon, 12 Jul 2021 23:59:32 +0000 (00:59 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 15 Jul 2021 17:07:51 +0000 (18:07 +0100)
commitb0a8ea1c3fa844d1006764fae3f0d8382351313b
treeceb8f8010bb4a1573db10bd3bdf460c08536bcf2
parent0ee73b2c86a853ae3274c7080e2dcd36b81aa1fa
jail: do not hack /etc/resolv.conf on container rootfs

While useful for slim containers, this violates OCI spec and breaks
containers like pihole.

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