Changing default configuration

Marek Skalický mskalick at redhat.com
Tue Feb 10 13:38:25 UTC 2015


Matthew Miller píše v Út 10. 02. 2015 v 06:19 -0500:
> On Tue, Feb 10, 2015 at 12:12:15PM +0100, Marek Skalický wrote:
> > does someone know what are Fedora Guidelines (or something similar)
> > saying about this bug
> > https://bugzilla.redhat.com/show_bug.cgi?id=1077369 ?
> > Is is possible to change default configuration file depending on
> > available free space?
> 
> Generally, making such a decision at install time is bad, because that
> might not reflect _runtime_. For example, in the cloud image, we use a
> / filesystem as small as Anaconda will allow, but that grows to fill
> available storage when the image is booted.
> 
> Is there a way to make this decision when mongodb runs?
> 

It should be possible to code this into sysv init script. But I am not
sure if it is possible to do the same in systemd service...?

My question was also about whether this should be done by mongoDB? Or
there should be default configuration and user can easily change it in
configuration file?

Marek



More information about the devel mailing list