The openvasmd service from openvas-manager-6.0.8_2 does not start correctly. It fails with a socket bind error (from openvasmd.log): md main:WARNING:2016-04-12 17h58.17 utc :1744: Failed to bind manager socket: Invalid argument This is on 10.3-RELEASE. Steps to reproduce: 1. Start openvasmd service. 2. Note that service is not running.
Created attachment 169261 [details] patch Can you try this patch for security/openvas-manager?
This solved the issue. The service is now running and listening on the appropriate socket.
A commit references this bug: Author: tijl Date: Wed Apr 13 18:43:11 UTC 2016 New revision: 413228 URL: https://svnweb.freebsd.org/changeset/ports/413228 Log: Add a patch to pass the size of struct sockaddr_in or sockaddr_in6 to bind(2) instead of sockaddr_storage. It doesn't accept the latter even though it's big enough. PR: 208753 Tested by: kwinkelman@mcclatchy.com Changes: head/security/openvas-manager/Makefile head/security/openvas-manager/files/patch-src-openvasmd.c