Update resolv.conf handling to properly support /run (see issue984).