Return-Path: X-Original-To: apmail-trafficserver-dev-archive@www.apache.org Delivered-To: apmail-trafficserver-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 276941071D for ; Fri, 6 Dec 2013 17:15:30 +0000 (UTC) Received: (qmail 39901 invoked by uid 500); 6 Dec 2013 17:15:27 -0000 Delivered-To: apmail-trafficserver-dev-archive@trafficserver.apache.org Received: (qmail 39785 invoked by uid 500); 6 Dec 2013 17:15:21 -0000 Mailing-List: contact dev-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@trafficserver.apache.org Delivered-To: mailing list dev@trafficserver.apache.org Received: (qmail 39764 invoked by uid 99); 6 Dec 2013 17:15:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 17:15:19 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [17.151.62.51] (HELO mail-out.apple.com) (17.151.62.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 17:15:11 +0000 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Received: from relay4.apple.com ([17.128.113.87]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0MXE00EUKAKLOO20@mail-out.apple.com> for dev@trafficserver.apache.org; Fri, 06 Dec 2013 09:14:50 -0800 (PST) X-AuditID: 11807157-b7ff46d000001540-77-52a2060ada06 Received: from marigold.apple.com (marigold.apple.com [17.128.115.132]) (using TLS with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by relay4.apple.com (Apple SCV relay) with SMTP id B2.45.05440.A0602A25; Fri, 06 Dec 2013 09:14:50 -0800 (PST) Received: from [17.198.37.252] (unknown [17.198.37.252]) by marigold.apple.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPSA id <0MXE002MYAKPNY40@marigold.apple.com> for dev@trafficserver.apache.org; Fri, 06 Dec 2013 09:14:49 -0800 (PST) Subject: Re: [07/11] git commit: TS-2401: Remove global system_runtime_dir From: James Peach In-reply-to: <1747569613.279843.1386346532605.JavaMail.zimbra@brainsware.org> Date: Fri, 06 Dec 2013 09:14:46 -0800 Content-transfer-encoding: quoted-printable Message-id: References: <912d6c0e463046c99d72ca216cbce195@git.apache.org> <3275c8a3840e4215b33a0d43cf3195a6@git.apache.org> <1747569613.279843.1386346532605.JavaMail.zimbra@brainsware.org> To: dev X-Mailer: Apple Mail (2.1827) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGLMWRmVeSWpSXmKPExsUi2FDcosvFtijI4MgdCYsbjfOZHRg9nm/9 xxbAGMVlk5Kak1mWWqRvl8CVcXdPK1PBEY6KDz0bWRoYm9i7GDk5JARMJBbcvcIEYYtJXLi3 nq2LkYtDSGASk8SeayuhnHVMEjfWf2DsYuTgYBZQl5gyJRekgVdAT2LjvNnMILawgJdE5/Er YEPZBFQldu87wghicwr4Sjy8dBMszgIU//9tK5jNLKAt8eTdBVaIObYSM1Y+AKsXEtjCKPGp sRRklYiAmsTcibEgpoSArMT806UTGPlnIdwwC8kNs5DMXMDIvIpRoCg1J7HSRC+xoCAnVS85 P3cTIzi0CsN3MP5bZnWIUYCDUYmHN2HNgiAh1sSy4srcQ4wSHMxKIrxH7iwMEuJNSaysSi3K jy8qzUktPsQozcGiJM77xwIoJZCeWJKanZpakFoEk2Xi4JRqYGSdGd7F/vVBpjV7btcszR6W X4+ZZ72pWvPhuUq+WMwCzXuK7/smPJf+9vytXYN6gGzbmQdVDYL6k3zumL3rOVVZ9D1o37v6 +Rwy59o6V/Lr79dL45vqmdQS8JjZLldYKPboj43PNst+7oxMNbqUHVH6ZZX32vC7IekyP748 WnzsHd+hSKXbV5VYijMSDbWYi4oTAXPAUZopAgAA X-Virus-Checked: Checked by ClamAV on apache.org On Dec 6, 2013, at 8:15 AM, Igor Gali=C4=87 = wrote: >=20 >=20 > ----- Original Message ----- >> TS-2401: Remove global system_runtime_dir >>=20 >> Introduce RecConfigReadRuntimeDir() to centralize overriding >> Layout::runtimedir with proxy.config.local_state_dir. Use this to >> replace all the instances of system_runtime_dir. >=20 > Do I understand it correctly that we can now (or always could?) > easily relocate a trafficserver installation, and run multiple = instances > by simply setting a different proxy.config.local_state_dir ? This feature was always present, but inconsistently applied. It should = work correctly now. You have always been able to use $TS_ROOT to = relocate $PREFIX and I've used that for test suites. Soon I'll post a = patch that uses it ;) >=20 > Analogous to = https://httpd.apache.org/docs/current/mod/core.html#defaultruntimedir ) >=20 > I'm aware that this isn't useful for most users, but it may well be > useful to developers. Probably useful to ops in certain deployment environments. J=