I’m trying to create a systemd unit file in order to start ospd-openvas service at system bootup. However, I saw that temporary files are stored in /tmp/ when doing scapdata and certdata synchronisation. These files are the following : /tmp/scapdata-sync and /tmp/certdata-sync.
When my system reboot, these files are obviously deleted and ospd-openvas service can not start because it “can not found /tmp/scapdata-sync and /tmp/certdata-sync”.
Is there a way to change location of these files ?
When I try lo launch ospd-openvas, it still stuck in “loading nvt…” indefinitely and every 10 secondes an error log “can not find /tmp/…” is generated. I trying to start ospd-openvas on a slave side, so I only start ospd-openvas binary. I don’t start gvmd manually but it starts automatically when running ospd-openvas.
This is what I did :
Do you know how can I solve this issue? Do I have an issue with gvmd?