Bug 1545850
| Summary: | rhel-guest-image contains a resolv.conf with an address | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Schultz <aschultz> |
| Component: | rhel-guest-image | Assignee: | Nobody <nobody> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.5 | CC: | aschultz, fdeutsch, gkadam, jgreguske, lkocman, msufiyan, sukulkar, wshi, yturgema |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-18 11:18:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alex Schultz
2018-02-15 17:20:13 UTC
Yuval, can you please check if this affects also rhvm-appliance? Alex, 192.168.122.1 is the dns provided by libvirt, used during the image compose. Almost every existing cloud image contains an /etc/resolv.conv with that nameserver, including CentOS images for example. I would suggest to revert the change in https://github.com/fedora-sysv/initscripts because I think almost everybody relies on the file being written by NetworkManager / ifup when the DHCP replies to network activation. Moving to networking sst. We've updated the openstack image build process to remove these lines in the mean time. I do think we shouldn't be shipping any content in /etc/resolv.conf as it's something that should be specific to the deployed environment. I'd assume this would fall under similar categories as /etc/machine-id or other things that can be cleaned out by running virt-sysprep on the image. One solution is to revert the initscript change, but I think the correct solution would be to ensure we properly clean images after building them. Removing the sst_networking setting since it affects Bugzilla-Jira mirroring.. Need to move this to the correct group in networking. -Sushil *** This bug has been marked as a duplicate of bug 1623913 *** |