Koozali.org: home of the SME Server

Conf files not updating after reboot

Franco

Conf files not updating after reboot
« on: February 22, 2003, 12:59:31 AM »
Hey,

I wanted to modify the proftpd.conf file.  I have added changes in the templates-custom directory; I have changed the original templates, but still no change.  Finally I blew away the /etc/proftpd.conf file and rebooted to if it rebuilt the proftpd.conf, but it didn't!

I'm using E-Smith v5.6...

Any ideas would be great...

Franco

eric

Re: Conf files not updating after reboot
« Reply #1 on: February 22, 2003, 01:57:53 AM »
Have you just tried editing the file manually?  I've done this with several files, not needing to do the expand-templates thing.  The changed survived a reboot as well.

Mark

Re: Conf files not updating after reboot
« Reply #2 on: February 22, 2003, 03:21:19 AM »
did you remember to do the /sbin/e-smith/expand-template  thing after making the custom fragment?

Mark

Bill Talcott

Re: Conf files not updating after reboot
« Reply #3 on: February 24, 2003, 06:16:54 PM »
Mark wrote:
>
> did you remember to do the /sbin/e-smith/expand-template
> thing after making the custom fragment?

Charlie Brady wrote:
>
> No templates are rebuilt just by rebooting the server.

What Mark said. Unless you tell the system to via some other method (console-save or something similar), the files will not be recreated automatically.

eric wrote:
>
> Have you just tried editing the file manually?  I've done
> this with several files, not needing to do the
> expand-templates thing.  The changed survived a reboot as well.

Again, rebooting alone doesn't rebuild the files. Your changes may be overwritten next time a user is added or modified, or when you apply an update, or some other time. If the file is templated, you should use a custom template to modify it. Simple as that.