pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: nscott@xxxxxxxxxx
Date: Fri, 25 Apr 2008 14:34:37 +1000 (EST)
Cc: mward@xxxxxxxxxx
Importance: Normal
Sender: pcp-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.8-4.el4.centos
Changes committed to git://oss.sgi.com:8090/nathans/pcp.git

 src/pmcd/rc-proc.sh     |    2 +-
 src/pmcd/src/pmcd.c     |    3 ++-
 src/pmdas/jstat/jstat.c |    9 ++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

commit bc917fa42e08fb26b28ab8a9540fdd2a917a16b7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Apr 25 14:30:46 2008 +1000

    Tighten the pmcd-is-already-running error message, when bind fails.
    I saw EPERM here from Cygwin recently, when pmcd was not running at
    all, which resulted in a misleading diagnostic - we now guard on an
    EADDRINUSE.  The message was also changed to pmcd "may" be running
    instead of "is" running, as it may be something else bound to the
    requested port.

commit e563365fbeed09554fa354d1044a6551de0d7d03
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Apr 25 14:26:29 2008 +1000

    Fix two invalid uses of status/error variables in the jstat PMDA.

commit d76f9691a0ce999c29c16a19d9ac83bb0a770647
Author: Mikel Ward <mward@xxxxxxxxxx>
Date:   Fri Apr 25 14:21:44 2008 +1000

    /etc/init.d/pmie status fails if there's more than one PMIE running.

    The fix seems to be at line 372 of /usr/share/pcp/lib/rc-proc.sh.

    <        [ $_n -eq 1 ] && return 0
    >        [ $_n -ge 1 ] && return 0

    RC_CHECKPROC claims to confirm to the LSB definition of rc_checkproc,
    but LSB doesn't define an rc_checkproc or a checkproc.
    
http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html

    The closest thing there is is checkproc on SUSE, which says exit code 0
    means "process is running" without making it explicit whether than means
    one or many.
    
http://www.freebsd.org/cgi/man.cgi?query=checkproc&apropos=0&sektion=0&manpath=SuSE+Linux%2Fi386+8.2&format=html




<Prev in Thread] Current Thread [Next in Thread>