From dev-return-6295-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Sep 08 17:06:22 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 14146 invoked from network); 8 Sep 2009 17:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 17:06:22 -0000 Received: (qmail 45588 invoked by uid 500); 8 Sep 2009 17:06:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 45500 invoked by uid 500); 8 Sep 2009 17:06:21 -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 45490 invoked by uid 99); 8 Sep 2009 17:06:21 -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 17:06:21 +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 17:06:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74F43234C044 for ; Tue, 8 Sep 2009 10:05:57 -0700 (PDT) Message-ID: <98676739.1252429557473.JavaMail.jira@brutus> Date: Tue, 8 Sep 2009 10:05:57 -0700 (PDT) From: "Adam Kocoloski (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=12752607#action_12752607 ] Adam Kocoloski commented on COUCHDB-498: ---------------------------------------- mmm, note that patch was against trunk, so it may not apply cleanly to 0.10 > .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 > > Attachments: background_start_config_reset.patch > > > 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.