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 1DvN0K-0002qD-0i for garchives@archives.gentoo.org; Wed, 20 Jul 2005 22:25:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6KMORNQ014396; Wed, 20 Jul 2005 22:24:27 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6KMMopV000083 for ; Wed, 20 Jul 2005 22:22:50 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DvMxx-0007e7-4Q for gentoo-dev@lists.gentoo.org; Wed, 20 Jul 2005 22:23:01 +0000 Received: (qmail 24133 invoked from network); 20 Jul 2005 18:21:04 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 20 Jul 2005 18:21:04 -0400 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] upgrade's and rc-scripts Date: Wed, 20 Jul 2005 18:23:15 -0400 User-Agent: KMail/1.8.1 References: <20050720215440.GD13808@exodus> In-Reply-To: <20050720215440.GD13808@exodus> 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 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507201823.15864.vapier@gentoo.org> X-Archives-Salt: d55cd754-28d8-4460-a813-9cc94c3766c8 X-Archives-Hash: bfc09224a784e452bf1703c27f5b5f8f On Wednesday 20 July 2005 05:54 pm, Brian D. Harring wrote: > Out of curiousity, has any put any thought into some automated method > or hook for allowing restarting of rc-scripts on upgrade/re-emerge of > a package? such a completely automated thing is a bad idea ... detecting and warning though isnt a bad idea ... too many issues such as config files may need to be upgraded or maybe a config file was edited but admin doesnt want to restart the service just yet, etc... this probably falls under the pkg_{pre,post}inst gathering code bug ... but at the very end of an emerge process, i think that there should be a summary of packages which were upgraded and have a running init script ... detecting whether a given init script is running is trivial, just ask us base folk on irc and we can point you in the right direction -mike -- gentoo-dev@gentoo.org mailing list