Maksymilian Kowalik wrote:
So the workaround was as simple as creating etc directory inside chroot and putting resolv.conf there. But still don't know whose bug it is glibc's or stunnel's?
It's not really a bug. It's rather an inherent property of chrooted environments. They often require some files and/or devices to work properly.
Pozdrowienia z Polski, Mike