PDA

View Full Version : Reboot weirdness on Debian etch


happyfunball
06-06-2007, 10:20 AM
I'm noticing some strange behavior in my Debian server on reboot.

The /etc/motd and /etc/hosts file is being reset after every reboot. This is a bit confusing for my server and very confusing for me :) .

I could write a script to rewrite these files after reboot, but I'd really like to know why its happening.

Rick
06-06-2007, 11:13 AM
managing these files in the VE context is part of the VZ framework. If you need to customize them, you should populate them using a script called in rc.local or any boot script.

also resolv.conf

http://wiki.rapidvps.com/index.php/resolv.conf

happyfunball
06-06-2007, 11:49 AM
Good enough solution. Thanks for the info.