Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7362F73C7 for ; Mon, 15 Aug 2011 17:32:42 +0000 (UTC) Received: (qmail 58663 invoked by uid 500); 15 Aug 2011 17:32:41 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 58581 invoked by uid 500); 15 Aug 2011 17:32:41 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 58571 invoked by uid 99); 15 Aug 2011 17:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2011 17:32:41 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.244.253.218] (HELO mail.traeumt.net) (80.244.253.218) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2011 17:32:31 +0000 Received: from jans-macbook-air.fritz.box (brln-4dbc0e87.pool.mediaWays.net [77.188.14.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.traeumt.net (Postfix) with ESMTPSA id 825AD3C13E for ; Mon, 15 Aug 2011 19:32:11 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1244.3) Subject: Re: Configuration Load Order From: Jan Lehnardt In-Reply-To: <89C1BF6C-93EA-45E8-AE66-6B8067A1B6F2@apache.org> Date: Mon, 15 Aug 2011 19:32:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <64A8B61A-E27D-4AD4-9D1A-81E64B6C4F2B@apache.org> References: <775360A4-E5B2-464C-AC78-3AF44B7B2F64@apache.org> <3E9869BA-22E7-4645-9FE8-4CE0F31A5C57@apache.org> <591473D8-47C4-486E-84F0-D837D577D0C3@apache.org> <915624D6-228D-48D9-81A0-956FA2B37361@apache.org> <89C1BF6C-93EA-45E8-AE66-6B8067A1B6F2@apache.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1244.3) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 19, 2011, at 5:28 PM, Noah Slater wrote: >=20 > On 19 Jul 2011, at 09:22, Matt Goodall wrote: >=20 >> This makes sense to me. Personally, I don't think a >> generated.ini/generated.d pair is needed - just a single = generated.ini would >> do. >>=20 >> As well as ensuring changes are written to the last .ini file in the >> configuration chain a generated.ini would act very nicely as a = per-instance >> configuration for when multiple CouchDB instances are run from the = same, >> read-only installation, i.e. >>=20 >> default.ini/default.d -- CouchDB default config, system-wide (R) >> local.ini/local.d -- local sysadmin's config, system-wide (R) >> generated.ini -- per-instance config (RW) >>=20 >> As such, I would suggest naming generated.ini something more like >> instance.ini. >=20 > I am +1 on all of this. This doesn't solve the problem that spawned this discussion: 1. Write admin =3D password to local.ini 2. Restart CouchDB 3. Hash gets persisted to generated.ini 4. Plain text password remains in local.ini Cheers Jan --=20