Red Hat Bugzilla – Bug 198898
system-config-network needs a new backend for /etc/hosts
Last modified: 2008-05-01 11:38:06 EDT
Tracker bug for all /etc/hosts related s-c-network bugs.
Description of problem:
The currently used rhpl.Conf.ConfEHosts and rhpl.Conf.ConfFHosts classes which
access host entries by their IP addresses or host names apparently can't handle
e.g. IPv6 entries which need a second line per host, or host name changes.
Version-Release number of selected component (if applicable):
I propose a new backend that in one way or another stores (see e.g.
system-config-nfs and how it handles unknown NFS options) everything in
/etc/hosts, regardless of whether it knows about it or not (this would ideally
allow preservation of comments, whitespace, new features like IPv6 entries even
if they're not handled by the application yet, ...). If you need info about
specific host names, IP addresses, there would be methods to do this which give
you objects that when manipulated translate back into actual changes in the conf
file object and finally the file.
system-config-network-1.4.7-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update system-config-network'
system-config-network-1.4.7-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.