#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    152
    Rep Power
    40

    FreeBSD /etc/hosts file gets rewritten after reboot


    Hi,

    I'm running FreeBSD 7.1 as a virtual appliance on Vmware workstation. When I add entries to my /etc/hosts file, the name resolution works fine for that session. But when I reboot, the /etc/hosts file gets re-written to what it was before I edited it. Does anyone know why this is happenning? Thanks.
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    Is it possible that you've got VMWare setup to restore some files on startup? FreeBSD shouldn't normally overwrite /etc/hosts on boot.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo