On 30.5.2018 16:48, Todd Zullinger wrote:
This works: touch /etc/mock/empty echo "config_opts['nspawn_args'] = ['--bind=/etc/mock/empty:/etc/resolv.conf']" \ >> /etc/mock/site-defaults.cfg <mock-chroot> sh-4.4# time curl http://example.com/ curl: (6) Could not resolve host: example.com real 0m0.016s user 0m0.005s sys 0m0.008s A proper patch for mock will pass the --bind option to systemd-nspawn automatically when use_host_resolv is not set.
Thank you! -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/6WEBBVZOGM2V7WBJGRHF6453M7BU3G4M/