Personal tools
You are here: Home Fedora Solved Network Solutions Fix problems of miscellaneous network services

Fix problems of miscellaneous network services

by tobiasoed last modified Jan 30, 2008 03:46 AM
— filed under:

A bug in anaconda and another in system-config-network can lead to a broken /etc/hosts file. This results in various networking services not starting or otherwise missbehaving.

Applicable to Fedora Versions

  • Fedora Core 6

Doing the Work

  1. Open a terminal and check if you are affected by the problem
    ping -c 1 localhost
    If the output is
    ping: unknown host localhost

    you're suffering from the problem. If not you may still want to follow this howto (skipping step 5) so this bug doesn't bite you later.

  2. Become root
    su -
  3. Change to the /etc directory
    cd /etc
  4. Create a backup file of the hosts file
    cp hosts hosts.orig
  5. Open the hosts file in your favourite editor and add this enty    localhost.localdomain localhost
  6. Modify the entry
    ::1          localhost.localdomain localhost
    so it reads
    ::1          localhost6.localdomain localhost6
  7. Save the modifications and exit your editor
  8. Give up root priviledges


How to test

See step 1 of Doing the work

More Information


We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on

Added Reading

Document Actions
Log in

Forgot your password?
New user?