commit 62ee652c588858ded1aa02261510f1c05234795a Author: Georg Koppen gk@torproject.org Date: Fri Jan 26 07:27:42 2018 +0000
Bug 23766: Document error during debootstrap
Patch provided by kkuehl, thanks --- README.BUILD_ERRORS | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
diff --git a/README.BUILD_ERRORS b/README.BUILD_ERRORS index 0562f93..68333d5 100644 --- a/README.BUILD_ERRORS +++ b/README.BUILD_ERRORS @@ -28,3 +28,30 @@ nopat $ qvm-pref --set [vmname] kernelopts 'nopat vsyscall=emulate' ----
+ +Error during debootstrap image creation +--------------------------------------- + +If the debootstrap-image-.log contains errors similar to the following: +W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty/InRelease + Temporary failure resolving 'archive.ubuntu.com' + +Check /etc/resolv.conf on the host to see if the nameserver is set to +127.0.0.1. This can happen when runc performs a bind mount of +/etc/resolv.conf and the host system is running systemd-resolved. + +sudo systemctl disable systemd-resolved.service +sudo service systemd-resolved stop + +Put the following line in the [main] section of your +/etc/NetworkManager/NetworkManager.conf: + +dns=default + +Delete the symlink /etc/resolv.conf + +rm /etc/resolv.conf + +Restart network-manager + +sudo service network-manager restart
tbb-commits@lists.torproject.org