Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock has disabled networking by default since be4b13a ("Add "rpmbuild_networking" key (False by default) for nspawn backend", 2015-07-27). When using a systemd-nspawn chroot (the default), the host resolv.conf is copied to the container by nspawn when 'use_host_resolv' is True, which causes spurious network timeouts as noted in RHBZ#1514028. When the variable is unset, mock avoids populating it since 3f93978 ("do not populate /etc/resolv.conf when networking is disabled (RHBZ#1514028)", 2018-05-30). Disabling 'use_host_resolv' by default provides a better out-of-the-box experience. The variable will be enabled when '--enable-network' option is used, similar to the 'rpmbuild_networking' variable.
- Loading branch information
1 parent
180315a
commit 39d9b55
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters