Whenever one opens network-admin, and then clicks on the "Host" tab, all
entries on /etc/hosts are lumped into as few lines as possible, causing
problems such as bug 386791.
To reproduce:
1- Create or download a long /etc/hosts file, with many entries pointing to the
same IP (adblocking files are good for that purpose).
2- Run network-admin *as root*, and click on the Hosts tab. You don't need to
actually make any change.
3- Close network-admin.
What I expect to happen:
/etc/hosts has not changed.
What really does happen:
All entries on /etc/hosts that point to the same IP are now in the same line,
thus creating extremely long lines, and segfaults in getaddrinfo.
It's surprising to see that after 2+ years, this has still not been
fixed.
** Changed in: gnome-system-tools (Ubuntu)
Status: Invalid => New
--
System->Admin->Networking Change hostname trashes hosts file
https://bugs.launchpad.net/bugs/103960
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs