From: Michael Tokarev Date: Fri, 5 Jun 2009 09:33:58 +0000 (+0400) Subject: try outgoing connections before chroot/drop_privs X-Git-Tag: release-1.0.10~54 X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=591c38eb38dbf0851bdebdd50b08d1bcbf6d7b0f;hp=591c38eb38dbf0851bdebdd50b08d1bcbf6d7b0f try outgoing connections before chroot/drop_privs When chrooted, we either need to force-initialize resolver and/or nsswitch somehow (no clean way) or resolve all the names we want before entering chroot jail. The latter looks cleaner, easier and it is actually safe because we still don't talk with the remote nodes there, only initiating outgoing connections. ---