Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Franco on February 22, 2003, 12:59:31 AM

Title: Conf files not updating after reboot
Post by: Franco 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
Title: Re: Conf files not updating after reboot
Post by: eric 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.
Title: Re: Conf files not updating after reboot
Post by: Mark 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
Title: Re: Conf files not updating after reboot
Post by: Bill Talcott 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.