Configuration Files (Feature Request / Question)
Hello -
It is my understanding that the configuration files located in $HOBBITROOT/etc are not overwritten during an upgrade. Where would I find the configuration files that would have been installed had this been a new installation? (A few of the admins are looking for them...)
Any chance that the installer can be modified to save the default configuration files to $HOBBITROOT/etc/DIST (or some other directory) in the event of an upgrade installation?
Thanks -
-- --==[ Bob Gordon ]==--
hmm, RPM built with the spec bundled actually does
- overwrite some, saving original ones to blah.cfg.rpmsave
- leave some alone, saving the new config to blah.cfg.rpmorig
So, I'd think the 'problem' and/or solution is/should-be specific to the distro and ways of installation (compile/make/install, or standard packaging like pkg/rpm/deb, etc.)
On 8/8/06, Bob Gordon <rgordonjr at gmail.com> wrote:
Hello -
It is my understanding that the configuration files located in $HOBBITROOT/etc are not overwritten during an upgrade. Where would I find the configuration files that would have been installed had this been a new installation? (A few of the admins are looking for them...)
Any chance that the installer can be modified to save the default configuration files to $HOBBITROOT/etc/DIST (or some other directory) in the event of an upgrade installation?
Thanks -
-- --==[ Bob Gordon ]==--
On Tue, Aug 08, 2006 at 10:06:54AM -0700, Bob Gordon wrote:
It is my understanding that the configuration files located in $HOBBITROOT/etc are not overwritten during an upgrade.
If you use one of the package managers (probably Linux specific - but then either RPM or Debian's dpkg), then it's up to the package manager to decide what files get overwritten, updated or just left alone.
If you just compile Hobbit from source and do a "make install", it will attempt to merge your current configuration with any new settings. This applies to hobbitserver.cfg, hobbitlaunch.cfg, hobbitcgi.cfg and hobbitgraph.cfg. The webserver templates - *_header, *_footer, *_form - are updated if you haven't modified them yourself.
Where would I find the configuration files that would have been installed had this been a new installation? (A few of the admins are looking for them...)
In the hobbitd/etcfiles/ directory after "make" completes.
Any chance that the installer can be modified to save the default configuration files to $HOBBITROOT/etc/DIST (or some other directory) in the event of an upgrade installation?
You're free to copy them over. Personally I keep my Hobbit config-files checked into a revision-control system (just plain rcs) - that lets me keep check on what changes have been made, and why.
Regards, Henrik
participants (3)
-
henrik@hswn.dk
-
jjj863@gmail.com
-
rgordonjr@gmail.com