You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Impact:
This causes delays when resolving hosts.
For example, sudo will hang for an extended period of time if there is a mismatch in hostname and /etc/hosts.
Steps to reproduce (if you know):
Install Pop!_OS and choose any hostname that is not "pop-os". OR change hostname through System Settings.
Connect to internet. Optional: connect to internet and a VPN.
Run sudo. (this should hang for some amount of time before returning).
Expected behavior:
When hostname is updated, /etc/hosts should also be updated to reflect change (see above /etc/hosts output suggestion).
Other Notes:
The sudo command will sometimes not hang, however, it would always hang when also connected to a VPN.
The text was updated successfully, but these errors were encountered:
Distribution (run
cat /etc/os-release
):NAME="Pop!_OS"
VERSION="21.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 21.04"
VERSION_ID="21.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
LOGO=distributor-logo-pop-os
Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):hostname
/etc/hosts
Issue/Bug Description:
When choosing a hostname that is not "pop-os", /etc/hosts is not updated and continues to use the default "pop-os" hostname.
Output of mismatch after fresh install (or changing hostname via settings ui):
$ hostname
$ cat /etc/hosts
should be
$ cat /etc/hosts
Impact:
This causes delays when resolving hosts.
For example, sudo will hang for an extended period of time if there is a mismatch in hostname and /etc/hosts.
Steps to reproduce (if you know):
Expected behavior:
When hostname is updated, /etc/hosts should also be updated to reflect change (see above /etc/hosts output suggestion).
Other Notes:
The sudo command will sometimes not hang, however, it would always hang when also connected to a VPN.
The text was updated successfully, but these errors were encountered: