Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 8309 invoked from network); 8 Sep 2009 16:44:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 16:44:22 -0000 Received: (qmail 15099 invoked by uid 500); 8 Sep 2009 16:44:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 15020 invoked by uid 500); 8 Sep 2009 16:44:22 -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 15010 invoked by uid 99); 8 Sep 2009 16:44:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 16:44:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 16:44:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D9501234C4AA for ; Tue, 8 Sep 2009 09:43:57 -0700 (PDT) Message-ID: <165223418.1252428237889.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 09:43:57 -0700 (PDT) From: "Noah Slater (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-498) .ini file chaining not properly reset by -n switch In-Reply-To: <1368741154.1252426558129.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752599#action_12752599 ] Noah Slater commented on COUCHDB-498: ------------------------------------- My last comment was so hilariously wrong, I just deleted it. Pretend I said nothing. > .ini file chaining not properly reset by -n switch > -------------------------------------------------- > > Key: COUCHDB-498 > URL: https://issues.apache.org/jira/browse/COUCHDB-498 > Project: CouchDB > Issue Type: Bug > Affects Versions: 0.10 > Environment: Ubuntu Linux 09.10 (karmic) unreleased > Reporter: eric casteleijn > Fix For: 0.10 > > > I've added as line 220 in /usr/bin/couchdb: > echo "startarguments: $start_arguments" > Now, when I do: > /usr/bin/couchdb -n -a /tmp/tmp871WkT/xdg_config/desktop-couch/desktop-couchdb.ini -p /tmp/tmp871WkT/xdg_cache/desktop-couch/desktop-couchdb.pid -o /tmp/tmp871WkT/xdg_cache/desktop-couch/desktop-couchdb.stdout -e /tmp/tmp871WkT/xdg_cache/desktop-couch/desktop-couchdb.stderr -b > I get: > Apache CouchDB has started, time to relax. > eric@thelog:~$ startarguments: \"/etc/couchdb/default.ini\", \"/etc/couchdb/local.ini\", \""/etc/couchdb/default.ini"\", \""/tmp/tmp871WkT/xdg_config/desktop-couch/desktop-couchdb.ini"\" > which suggests to me that the -n switch in this case does not actually reset the .ini chain. > This came to light when I noticed that any admin users I added in my system CouchDB also affected any other CouchDB I ran on the same machine. Which seems logical if my analysis of the bug is correct, since the admin users would be stored in /etc/couchdb/local.ini which is always picked up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.