Bug 238101
| Summary: | /etc/mock/defaults.cfg is missing setting for chroot resolv.conf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Fedora Hosted Projects | Reporter: | Tuomo Soini <tis> | ||||
| Component: | mock | Assignee: | Clark Williams <williams> | ||||
| Status: | CLOSED ERRATA | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | dcantrell, roth | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.7.1-1.fc7 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-06-21 20:04:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Tuomo Soini
2007-04-27 06:57:37 UTC
Created attachment 153581 [details]
add setting for resolv.conf contents into defaults.cfg
How about we add an option to copy in the host /dev/resolv.conf? Something like: config_opts['use_host_resolv'] = True Which would trigger a copy of resolv.conf from /etc/ to the chroot? Very good idea. Other files needing same config treatment are: /etc/hosts, sometimes resolver is not available on build host /etc/localtime, time in mock root is several hours different from system time. 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. I can confirm that there is in fact a setting and if enabled (it is by default) the host resolve.conf is indeed placed into the chroot and is functional. *** Bug 237663 has been marked as a duplicate of this bug. *** 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. |