From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dvzra-0002N7-J2 for garchives@archives.gentoo.org; Fri, 22 Jul 2005 15:55:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6MFrvTl006926; Fri, 22 Jul 2005 15:53:57 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6MFqF0t010013 for ; Fri, 22 Jul 2005 15:52:15 GMT Received: by wproxy.gmail.com with SMTP id 71so381853wri for ; Fri, 22 Jul 2005 08:52:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=c/9n8s/axuB75htCha3GXOox4pdfBxXHCCCJj0b8NWHIQbIn3dOqyXSBSEtS3zw0RICif/+MmXs/8ujtwAkbZoHlvjJ6MrXJR6L9+e1ivV6iI6dNcHPuWJADvfaJ2Qit33ud5fVMAqahF24XolQAuUav18rvExHs7FPiBVLlTuo= Received: by 10.54.113.13 with SMTP id l13mr1304940wrc; Fri, 22 Jul 2005 08:52:17 -0700 (PDT) Received: from ?192.168.1.10? ([24.30.171.44]) by mx.gmail.com with ESMTP id 26sm1864921wrl.2005.07.22.08.52.17; Fri, 22 Jul 2005 08:52:17 -0700 (PDT) Message-ID: <42E11632.8040606@gmail.com> Date: Fri, 22 Jul 2005 08:52:18 -0700 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: upgrade's and rc-scripts References: <20050720215440.GD13808@exodus> <200507201823.15864.vapier@gentoo.org> <42DF90B1.9030806@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e8f89d9e-2759-4b67-b602-4255d98d2a1d X-Archives-Hash: 0b5b48f479c2cf20cf97f5c0c0655037 Duncan wrote: > Zac Medico posted <42DF90B1.9030806@gmail.com>, excerpted below, on Thu, > 21 Jul 2005 05:10:25 -0700: > > >>This could be an optional feature such as FEATURES="restartservices". The >>CONFIG_PROTECT functionality could remain as is. Portage could use a >>special ebuild variable to determine whether the previous and new ebuilds >>have compatible configuration file formats (similar to EAPI) and only >>restart the service if they are compatible. > > > Interesting. Something like PKG_CONFIG_VER, individualized for each > package. Portage would know not to restart the service between major > versions, and would know it could if the version stayed the same. The > question would be what to do for minor config version changes (which would > equate to compatible in general, but with one or more changes). I'd say > that should mean a safe restart as well. If it wouldn't be safe, and > since the config version would be a Gentoo-only arbitrary number, I'd say > make that a major version change. > I mentioned this mostly just because the idea popped into my head and thought others might be interested ;-). Upon further inspection, it does seem like a "opening can of worms". I'm not sure that the benefits of this feature would justify the costs of implementing it. Zac -- gentoo-dev@gentoo.org mailing list