Greenbone-security-assistant.service missing

Hi, after upgrade to 21.4.3 under Kali, this greenbone-security-assistant.service has gone…thus I cannot access GVM from anywhere. How to setup access GVM from anywhere?

1 Like

Hi @pierrestone and welcome to the forum :slight_smile:

I’ve moved your post to a new topic and it looks like it’s similar to this report Failed to start greenbone-security-assistant.service: Unit greenbone-security-assistant.service not found. · Issue #3368 · greenbone/gsa · GitHub

which appears to be a packaging issue in Kali. The Kali bug reporting system is here at My View - Kali Linux Bug Tracker

2 Likes

Hey @pierrestone,

Have you found a solution for this just yet by chance?

That is our of the control of this forum, please contact the Kali Maintainer.

Thanks @Lukas and I totally understand. I know a few others are going to land on this thread, however, as it’s pretty much the first thing that comes up in Google from recent mentions of this.

For me, I was able to get it fixed by re-creating the service file which is missing in the latest Kali. You can add the following contents in the /usr/lib/systemd/system/greenbone-security-assistant.service file:

[Unit]
Description=Greenbone Security Assistant (gsad)
Documentation=man:gsad(8) https://www.greenbone.net
After=network.target gvmd.service
Wants=gvmd.service

[Service]
Type=forking
User=_gvm
Group=_gvm
ExecStart=/usr/sbin/gsad --listen=127.0.0.1 --port=9392
Restart=always
TimeoutStopSec=10

[Install]
WantedBy=multi-user.target
Alias=gsad.service

Hope this helps others who will run into these same issue.

Thank you for that investigation. I will close the topic here.