Red Hat Bugzilla – Bug 237663
mock chroot environment has broken /etc/resolv.conf
Last modified: 2013-01-09 23:16:54 EST
Description of problem:
Mock creates a chroot environment with the nameserver in /etc/resolv.conf
hard-coded to 192.168.1.1. Why is this?
For sites that don't use that as a default LAN configuration, it causes builds
for software bits that require networking to fail. A good example is emacs and
its dependent packages -- starting emacs in any form triggers a lookup on the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
*** Bug 238937 has been marked as a duplicate of this bug. ***
I don't know why that gets created.
We're looking at adding an option such as:
config_opts['use_ost_resolv'] = True
To trigger a copy of resolv.conf from /etc to <chroot>/etc
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
*** This bug has been marked as a duplicate of 238101 ***
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.