Click to See Complete Forum and Search --> : Does Mandrake restore files on start-up?


MartinB
08-23-2002, 10:32 PM
I've been playing around with configuration files and have noticed something strange. It seems that when I edit some of my configuration files on my Mandrake system, they're restored to their defaults when I reboot the machine, even though I saved over the default.

For example, if I change the login message screen (/etc/issue) and it shows my message fine until I reboot, then the file changes back to the Mandrake one. I've noticed that the file doesn't change itself on my Linux From Scratch system, so I'm guessing it's something in Mandrake that's changing the file. Does anyone know what's changing the files and how I can prevent Mandrake from restoring them?

Thanks,
Martin

bwkaz
08-23-2002, 10:48 PM
re: /etc/issue: Read through the comments about 40 lines into /etc/rc.d/rc.local for a hint on that one.

Anything you change in /dev will get un-changed when the kernel unmounts devfs (Mandrake uses devfs) or shuts off. But there's also a /var/lib/dev-state directory (or something like that) that's supposed to save copies of your permission changes and stuff like that.

If you change /etc/X11/XF86Config-4, then run XFdrake, your changes are lost (but that only happens when you run XFdrake, not on every reboot).

Is it happening with other files too?