Received: with ECARTIS (v1.0.0; list pcp); Wed, 04 Jul 2007 00:15:43 -0700 (PDT) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with SMTP id l647FatL006112 for ; Wed, 4 Jul 2007 00:15:37 -0700 Received: from snort.melbourne.sgi.com (snort.melbourne.sgi.com [134.14.54.149]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id RAA09754; Wed, 4 Jul 2007 17:15:27 +1000 Received: from snort.melbourne.sgi.com (localhost [127.0.0.1]) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5) with ESMTP id l647FOeW10917213; Wed, 4 Jul 2007 17:15:25 +1000 (AEST) Received: from localhost (kimbrr@localhost) by snort.melbourne.sgi.com (SGI-8.12.5/8.12.5/Submit) with ESMTP id l647FN2s10971664; Wed, 4 Jul 2007 17:15:23 +1000 (AEST) X-Authentication-Warning: snort.melbourne.sgi.com: kimbrr owned process doing -bs Date: Wed, 4 Jul 2007 17:15:23 +1000 From: Michael Newton X-X-Sender: kimbrr@snort.melbourne.sgi.com To: Mark Goodwin , Nathan Scott cc: pcp@oss.sgi.com Subject: Re: PCP start/stop script regression In-Reply-To: <1180066020.6273.593.camel@edge> Message-ID: References: <1180062348.6273.575.camel@edge> <1180066020.6273.593.camel@edge> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1300 X-ecartis-version: Ecartis v1.0.0 Sender: pcp-bounce@oss.sgi.com Errors-to: pcp-bounce@oss.sgi.com X-original-sender: kimbrr@sgi.com Precedence: bulk X-list: pcp On Fri, 25 May 2007, Nathan Scott wrote: > On Fri, 2007-05-25 at 13:45 +1000, Michael Newton wrote: > > On Fri, 25 May 2007, Nathan Scott wrote: > > > It looks like the pcp start script (src/pmcd/rc_pcp) has been > > > changed post pcp-2.5.x to use the file /var/run/pcp/pmcd.pid > > > for decisions about whether pmcd is running or not. Can you > > > send details about the problem being solved by this change? > > > > * rpm -e pcp stops pcp > > * kill by name means removing pcp in a chroot stops global pcp > > ..so make clean in mangrove would stop pcp on the build machine [..the famous serial killer..] > Ah, now it makes more sense. Thanks. > > Would changing the mangrove build to do "rpm -e pcp --noscripts" > resolve this and also allow the upgrade issue to be fixed? this rang a bell, so now i finally had a minute to check back thru the mail, i see ivan asked a similar qn. We should probably pursue this but it means a change in linuxmeister/build/init_buildsystem -- which is actually part of SuSE's build stuff. There is no current facility for passing in --noscripts specifically, nor extra args in general. Mark do you know how to go about getting such a change into linuxmeister? Or recommend me someone to talk to? Im assuming we cant just change it in our own copy? (in addition of course to suggesting same to SuSE) 2 possible stopgaps: * restore the fallback to killall in oss, but not mangrove * have pmcd log creation of the pidfile. Only call killall if there is a log file and it does *not* show creation of the pid file. Dr.Michael("Kimba")Newton kimbrr@sgi.com