BUILD_ERRORS.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. This file lists some common build errors and their solutions.
  2. Error starting remote
  3. ---------------------
  4. If you have an error like this:
  5. ----
  6. Error: Error starting remote:
  7. could not synchronise with container process: no subsystem for mount
  8. ----
  9. You may be experiencing a similar but different problem. Anecdotally
  10. this occured on Ubuntu 18.04 Bionic, kernel 4.15.0-24-generic. You need
  11. to add systemd.legacy_systemd_cgroup_controller=1 to the kernel
  12. boot commandline in /etc/default/grub (followed by `sudo update-grub`).
  13. Error during debootstrap image creation
  14. ---------------------------------------
  15. If the debootstrap-image-.log contains errors similar to the following:
  16. W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/zesty/InRelease
  17. Temporary failure resolving 'archive.ubuntu.com'
  18. Check /etc/resolv.conf on the host to see if the nameserver is set to
  19. 127.0.0.1. This can happen when runc performs a bind mount of
  20. /etc/resolv.conf and the host system is running systemd-resolved.
  21. sudo systemctl disable systemd-resolved.service
  22. sudo service systemd-resolved stop
  23. Put the following line in the [main] section of your
  24. /etc/NetworkManager/NetworkManager.conf:
  25. dns=default
  26. Delete the symlink /etc/resolv.conf
  27. rm /etc/resolv.conf
  28. Restart network-manager
  29. sudo service network-manager restart