Permission changes in latest release?
GVM versions
gsad: 21.4.1~dev1
gvmd: 21.4.3~dev1~git-9005da2f-gvmd-21.04
openvas-scanner: 21.4.2~dev1~git-0534359a-openvas-21.04
gvm-libs: 21.4.1
Environment
Operating system: Ubuntu 20.04
Kernel: 5.4.0-65-generic
Installation method / source: https://www.libellux.com/openvas/
Dear GVM team,
I’ve followed the installation guide (i wrote myself which worked with the first 21.04 release). However, when I reach the step to install gvmd I receive the permission error that the GVM user doesn’t have permission to write to the /lib/systemd/system folder to create the gsad.service file.
I’ve tried the solution to add the gvm user to the sudoers file. I can proceed with the make install script this way but when trying to start the services I receive the following:
Process: 31313 ExecStart=/opt/gvm/sbin/gvmd --osp-vt-update=/opt/gvm/var/run/ospd.sock (code=exited, status=1/FAILURE)
The GSA opens but with the error message (obviously as its not running correctly):
“The Greenbone Vulnerability Manager service is not responding. This could be due to system maintenance. Please try again later, check the system status, or contact your system administrator.”
Any clue or feedback where the permission changes occured in the installation to prior release?
Update: Might have to update the cmake path for “Failed to connect to server at /run/gvm/gvmd.sock: No such file or directory”
However, still curious of the change to the permission when running make install
from prior version
Best regards,
Fredrik