#5331 network manager seems to be rewriting fix made by fix_resolv_conf task
Closed: Fixed None Opened 8 years ago by mkubik.

In the integration tests, part of a setup of a replica or a client is to change resolv.conf to point to the master that serves as the DNS server for the testing topology.

Currently, the task reads resolv.conf directly, appends IP address of the master and comments out the other entries.
As of Fedora 22, this task does not have any effect (at least in our CI infrastructure), blocking the execution of integration tests.


We should probably set dns=none in [main] in /etc/NetworkManager/NetworkManager.conf.

There are several approaches. So far I've tried to edit {{{/etc/sysconfig/network-scripts/ifcfg-eth0}}} and disable {IPV6_}PEERDNS directives and it seems to work (assuming eth0 device exists).

master:

  • c22c60b ipatests: configure Network Manager not to manage resolv.conf

Patch for ipa-4-2 needs rebase, do not close ticket.

ipa-4-2:

  • 7a90baf ipatests: configure Network Manager not to manage resolv.conf

Metadata Update from @mkubik:
- Issue assigned to mkubik
- Issue set to the milestone: FreeIPA 4.2.2

7 years ago

Login to comment on this ticket.

Metadata