Nathan spotted this one:
# netstat -tulnp | grep pmcd
tcp 0 0 0.0.0.0:44321 0.0.0.0:* LISTEN
21341/pmcd
tcp6 0 0 :::44321 :::* LISTEN
21341/pmcd
# vi /etc/sysconfig/pmcd
(uncomment PMCD_LOCAL=1 )
# service pmcd restart
Redirecting to /bin/systemctl restart pmcd.service
# netstat -tulnp | grep pmcd
tcp 0 0 127.0.0.1:44321 0.0.0.0:* LISTEN
6595/pmcd
tcp6 0 0 :::44321 :::* LISTEN
6595/pmcd
The listening address of ipv6 with PMCD_LOCAL=1 should be ::1:44321.
OpenRequestSocket() was not setting up the listening address properly.
Fixed by this commit which has been pushed.
Dave
----------------------------------------------------
Changes committed to git://git.pcp.io/pcp.git master
Dave Brolley (1):
OpenRequestSocket(): Initialize INADDR_LOOPBACK properly for ipv6.
src/libpcp/src/auxconnect.c | 4 +++-
src/libpcp/src/auxserver.c | 32 +++++++++++++++++++++-----------
2 files changed, 24 insertions(+), 12 deletions(-)
|