Changes committed to git://oss.sgi.com/pcp/pcp.git dev
GNUmakefile | 3
build/mac/GNUmakefile | 2
build/rpm/fedora.spec | 2
build/rpm/pcp.spec.in | 2
configure | 694 ++++-----
configure.in | 38
man/man1/pmcd.1 | 35
man/man3/pmparsehostattrsspec.3 | 49
qa/023 | 50
qa/023.out.3 | 450 +++--
qa/023.out.4 | 465 ++++--
qa/051 | 61
qa/051.out.6 | 3018 ++++++++++++++++++++++++++-------------
qa/051.out.7 | 3021 ++++++++++++++++++++++++++--------------
qa/066 | 34
qa/066.out.6 | 258 ++-
qa/066.out.7 | 267 ++-
qa/067 | 34
qa/067.out.5 | 111 -
qa/067.out.6 | 114 +
qa/069 | 98 -
qa/069.out.10 | 216 +-
qa/069.out.7 | 216 +-
qa/069.out.8 | 219 +-
qa/069.out.9 | 222 +-
qa/243 | 3
qa/244 | 34
qa/244.out.3 | 330 ++--
qa/244.out.4 | 339 ++--
qa/254 | 2
qa/255 | 32
qa/255.out.6 | 804 +++++++---
qa/255.out.7 | 807 +++++++---
qa/365 | 33
qa/365.out.6 | 123 +
qa/365.out.7 | 126 +
qa/454 | 91 -
qa/546 | 49
qa/875 | 33
qa/common.filter | 2
qa/group | 1
qa/setup.051 | 1
src/include/builddefs.in | 4
src/include/pcp.conf.in | 5
src/include/pcp/impl.h | 25
src/libpcp/src/auxconnect.c | 553 +++++--
src/libpcp/src/auxserver.c | 594 +++++--
src/libpcp/src/check-statics | 13
src/libpcp/src/config.c | 14
src/libpcp/src/connect.c | 265 ++-
src/libpcp/src/internal.h | 33
src/libpcp/src/secureconnect.c | 220 ++
src/libpcp/src/spec.c | 164 +-
src/pmcd/rc_pmcd | 8
src/pmcd/src/pmcd.c | 94 -
55 files changed, 9682 insertions(+), 4799 deletions(-)
commit ebd38bc5b7513233d809082ceee21f412e50bce3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jul 5 16:17:56 2013 +1000
Add test 875 exercising local: and unix: hostspec parsing
Currently, no qualified output, may need some followup work
in libpcp to reach that point.
commit 1d83a0393ddbd04a5aa90331fd1fe4d114b59d7d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jul 5 15:44:23 2013 +1000
Series of small follow-up changes after unix socket merge
Remake configure script using autoconf 2.69 once again.
Update pmparsehostattr man page to use platform-independent
path names (/var/run is Linux-specific).
Fix typo in test 051 update, accidentally renamed $ipv6 to
$unix_ipv6 which changes the .out file setup.
Moved NPORTS_LOCAL and NPORTS_UNIX values into internal.h
as they're only used within libpcp, no need to expose via
impl.h to client programs (AFAICT).
Switch SO_PASSCRED references over to SO_PEERCRED, update a
comment or two to match (as a result, also removed a couple
of comment that no longer made sense re start-of-connection
sockopt), and the one call which (AIUI) is no longer needed
(wouldn't build on MacOSX like that too, nor on Win32, so a
bit of a rethink needed there).
Fix chmod error path to use strerror(), not netstrerror().
Update the pmcd(1) man page to document the new unix socket
option, and the pmcd usage message as well.
commit bc5205a9f6816dc8959a983e7bffc9f47a02ab9f
Merge: 8e1757b cdc28b6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jul 5 14:49:53 2013 +1000
Merge branch 'brolley/dev' of ../pcpfans into dev
commit cdc28b63af36476d8db7823449d7725aa167c249
Merge: 0720f1f 6cbf4d0
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu Jul 4 08:33:19 2013 -0400
Merge remote-tracking branch 'origin/dev' into brolley/dev
commit 0720f1f958a5a18da4cf4332948d5ac08501c981
Merge: f31ccfc 3d8d34f
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 3 21:20:56 2013 -0400
Merge remote-tracking branch 'origin/dev' into brolley/dev
commit f31ccfc82dfe79d444637b132feb71148458408c
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 3 21:19:16 2013 -0400
Make sure that $PCP_RUN_DIR is insatlled as '775 $PCP_USER $PCP_GROUP'.
commit fcbd8675e787724856e84826a95bacd092b51b00
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jul 3 21:05:25 2013 -0400
Some configuration variable renaming for clarity:
- PCP_OWNER, pcp_owner -> PCP_USER_INSTALL, pcp_user_install
- PCP_GROUP, pcp_group -> PCP_GROUP_INSTALL, pcp_group_install
- pcp_uname, --with-user-account -> pcp_user, --with-user
- pcp_gname, --with-group-account -> pcp_group, --with-group
commit 324340e6ca2d18ff303806312012d053bb7c750c
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Tue Jul 2 15:52:47 2013 -0400
Describe the unix:// and local:// host protocols.
commit 956b9e6e392d72ca18da9fcf3e876ae8569f64f6
Merge: c7a8111 eaeaae3
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 26 12:13:51 2013 -0400
Merge remote-tracking branch 'origin/dev' into brolley/dev
commit c7a81117499acc025e9d066e10aa04f836e4f708
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 26 12:10:03 2013 -0400
Call __pmServerCloseRequestPorts() from DontStart() in pmcd.
DontStart() is often called after the pmcd request ports have
already been opened. While the unix and tcp sockets will get closed when
the program exits, the unix socket file remain in the file system
cause "address alreadu in use" the next time pmcd starts.
Calling __pmServerCloseRequestPorts() cleanly closes any open
sockets and removes the unix socket file from the file system.
Some previous qa test output filters are no longer required (454 546).
commit 1b81106d7840de205219065b0b481c715c1a8d84
Merge: f869309 9e90d5f
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Tue Jun 25 16:25:13 2013 -0400
Merge remote-tracking branch 'origin/dev' into brolley/dev
Conflicts:
src/pmcd/src/pmcd.c
commit f8693093aa658e49e5a67348ff376127ba2392d0
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Tue Jun 25 16:22:20 2013 -0400
qa rework from unix domain sockets code review.
commit 5fa31b6665c024780b3b3ed066cf64087a882602
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Tue Jun 25 16:21:47 2013 -0400
Code review rework for unix domain sockets.
commit bb050d2ac202760ef6fdbbd4d2db292a6b10f6ba
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Jun 24 10:55:42 2013 -0400
Create $PCP_RUN_DIR with perms 775 and group $PCP_USER.
commit 3fa77b667097d1d5957df6ad28d7d087d62a5eba
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu Jun 20 12:29:09 2013 -0400
Update release required for unix domain sockets.
We missed 3.8.1. Threshold release is not 3.8.2.
commit ca91c235bb6e026cb9a1c619793756bde9e1f82c
Merge: 43d4d3a 5744897
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu Jun 20 12:02:50 2013 -0400
Merge remote-tracking branch 'origin/dev' into brolley/dev
commit 43d4d3a0b238268b5736b389e1d0311f738c5c08
Merge: 6b9a4d5 490041a
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 19 14:43:14 2013 -0400
Merge remote-tracking branch 'origin/brolley/dev' into brolley/dev
Conflicts:
src/include/pcp/impl.h
src/libpcp/src/auxconnect.c
src/libpcp/src/connect.c
src/pmcd/src/pmcd.c
commit 6b9a4d58f56937d179503ae6a202f81a53238827
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 19 14:33:18 2013 -0400
Implement new protocols to enable clients connecting to pmcd via unix
domain sockets.
unix:[//PATH] - connect to the unix domain socket at PATH. If no
PATH is specified, check $PMCD_SOCKET for a path. If PMCD_SOCKET
is not defined, use the default path: ${localstatedir}/pcp/pmcd.socket.
local:[//PATH] - Same as above, except that if the connection fails,
try connecting to localhost using the default tcp port.
commit 6c7ceb25a3d6fe8be51bb4c2c07020e4218e4475
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 16:24:11 2013 -0400
qa fallout from the the unix domain socket work.
Expect the unix domain socket to be listed in the request ports
section of the pmcd log.
commit cbf9f8e4a24c824b3302e42b930ef0e2f7bd53ad
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 14:50:05 2013 -0400
Add unix_domain-sockets={true,false] to __pmAPIConfig().
commit 1f21813d36f24cadbedd10280070285cb5f11578
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 14:10:29 2013 -0400
Test HAVE_STRUCT_SOCKADDR_UN instead of HAVE_SYS_UN_H when
protecting AF_UNIX code.
commit 29ea0777702b830a2e66f659de4ef5c7e42241ce
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 13:32:14 2013 -0400
Prototype API for client connecting to pmcd via unix domain sockets.
- New API function __pmAuxCOnnectPMCDUnixSocket().
- Pass negative port number to __pmConnectTo() to indicate no port.
- Try unix domain socket connection in __pmConnectPMCD() when the
host name is 'localhost' and PMCD_SOCKET is defined in the
environment.
- A few fixes in the previously committed API extension exposed
while testing this one.
commit d3319b9995e0a710dbafda27c4dee2786084d2b5
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Jun 10 14:19:55 2013 -0400
Use new __pmServerSetLocalSocket() API from pmcd.
commit 6633b93325f174b64a2db165969f2425c7130e80
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Jun 10 14:07:58 2013 -0400
Support servers listening on unix domain socket in libpcp.
- New API functions:
__pmCreateUnixSocket(), __pmSockAddrIsUnix(), __pmSockAddrSetPath(),
__pmServerSetLocalSocket()
- __pmInitSocket now takes address family argument.
- Don't set TCP_NODELAY for unix sockets in __pmInitSocket()
- Support AF_UNIX in otehr API functions where address families
are tested.
- Manage the unix socket file in OpenRequestSocket()
(permissions, deletion, etc), if requested.
- Manage the unix socket in OpenRequestPorts(),
__pmServerAddNewClients(), __pmServerCloseRequestPorts().
commit 490041abbe1e8a250d1da2cb2fc4ad542513c0f6
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 16:24:11 2013 -0400
qa fallout from the the unix domain socket work.
Expect the unix domain socket to be listed in the request ports
section of the pmcd log.
commit fff512aad6b9ccff6054b68bdeff7236e1269c06
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 14:50:05 2013 -0400
Add unix_domain-sockets={true,false] to __pmAPIConfig().
commit 9e1be93920b697a295f2ad663e91ef251e7de22f
Merge: 7b112c9 a34695e
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 14:13:46 2013 -0400
Merge remote-tracking branch 'origin/brolley/dev' into brolley/dev
commit 7b112c96df66f871b14ab9a62a4927fff0ea39dc
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 14:10:29 2013 -0400
Test HAVE_STRUCT_SOCKADDR_UN instead of HAVE_SYS_UN_H when
protecting AF_UNIX code.
commit 58ced6a24d562f0f0ea6e7d7fbed220b53c6047a
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Wed Jun 12 13:32:14 2013 -0400
Prototype API for client connecting to pmcd via unix domain sockets.
- New API function __pmAuxCOnnectPMCDUnixSocket().
- Pass negative port number to __pmConnectTo() to indicate no port.
- Try unix domain socket connection in __pmConnectPMCD() when the
host name is 'localhost' and PMCD_SOCKET is defined in the
environment.
- A few fixes in the previously committed API extension exposed
while testing this one.
commit c7001a8afd4c17bd6e3978e3b8bd4f3c33f393a6
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Jun 10 14:19:55 2013 -0400
Use new __pmServerSetLocalSocket() API from pmcd.
commit 52e46890c5d4bb5422501b1e93b3e469c827a084
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Mon Jun 10 14:07:58 2013 -0400
Support servers listening on unix domain socket in libpcp.
- New API functions:
__pmCreateUnixSocket(), __pmSockAddrIsUnix(), __pmSockAddrSetPath(),
__pmServerSetLocalSocket()
- __pmInitSocket now takes address family argument.
- Don't set TCP_NODELAY for unix sockets in __pmInitSocket()
- Support AF_UNIX in otehr API functions where address families
are tested.
- Manage the unix socket file in OpenRequestSocket()
(permissions, deletion, etc), if requested.
- Manage the unix socket in OpenRequestPorts(),
__pmServerAddNewClients(), __pmServerCloseRequestPorts().
commit a34695e24e21200ada976c7ee43c5d85066a8941
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri May 31 17:16:52 2013 -0400
Update ACCESS CONTROL section of pmcd.1 with IPv6 details.
|