Sudo gvm-start errors and root privileges

For the OP, I believe what @bricks is saying is that the system service file needs to be altered as per this post: Debian11 / gvm 22.4: gvmd.service: Can't open PID file /run/gvmd/gvmd.pid (yet?) after start: Operation not permitted - #2 by bricks

The steps would be:

  1. Edit the gvmd systems service file:
sudo nano /etc/systemd/system/gvmd.service
  1. Then:
  • Change Type=forking to Type=exec
  • Add -f to the ExecStart line
  1. Save the changes and restart the gvmd service.
sudo systemctl restart gvmd
2 Likes