View Issue Details

IDProjectCategoryView StatusLast Update
0008162Kali LinuxKali Package Bugpublic2023-02-03 15:47
Reporterbsusta Assigned Tosbrun  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version2022.4 
Summary0008162: Openvas dont work after install because ospd-openvas.service failure
Description

File "/usr/bin/ospd-openvas", line 8, in <module>
sys.exit(main())
File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 1268, in main daemon_main('OSPD - openvas', OSPDopenvas, NotusParser())
File "/usr/lib/python3/dist-packages/ospd/main.py", line 164, in main daemon.init(server)
File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 549, in init
self.update_vts()
File "/usr/lib/python3/dist-packages/ospd_openvas/daemon.py", line 674, in update_vts self.notus.reload_cache()
File "/usr/lib/python3/dist-packages/ospd_openvas/notus.py", line 147, in reload_cache if self._verifier(f):
File "/usr/lib/python3/dist-packages/ospd_openvas/gpg_sha_verifier.py", line 121, in verify assumed_name = sha256sums().get(hash_sum)
File "/usr/lib/python3/dist-packages/ospd_openvas/gpg_sha_verifier.py", line 63, in internal_reload return config.on_verification_failure(None)
File "/usr/lib/python3/dist-packages/ospd_openvas/notus.py", line 50, in on_hash_sum_verification_failure raise Exception("GPG verification of notus sha256sums failed")
Exception: GPG verification of notus sha256sums failed Exception ignored in atexit callback: <function exit_cleanup at 0x7f217509fe20>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/ospd/main.py", line 86, in exit_cleanup
sys.exit()
SystemExit:
ospd-openvas.service: Main process exited, code=exited, status=1/FAILURE
ospd-openvas.service: Failed with result 'exit-code'.

Steps To Reproduce

sudo apt install openvas

gvm-setup

gvm-check-setup

sudo gvm-start

Tested with and without openvas feed update.

Openvas feed update:
sudo runuser -u _gvm -- greenbone-nvt-sync
sudo runuser -u _gvm -- greenbone-certdata-sync
sudo runuser -u _gvm -- greenbone-scapdata-sync
sudo greenbone-feed-sync --type GVMD_DATA

Scantask dont work whit error:
Failed to find config "...

and

ospd-openvas.service: Main process exited, code=exited, status=1/FAILURE

Activities

sbrun

sbrun

2023-01-30 09:54

manager   ~0017439

The fixed version is 22.4.5-0kali1. It is now available in kali-rolling.
Please update ospd-openvas.

Issue History

Date Modified Username Field Change
2023-01-26 22:22 bsusta New Issue
2023-01-30 09:53 sbrun Assigned To => sbrun
2023-01-30 09:53 sbrun Status new => assigned
2023-01-30 09:54 sbrun Note Added: 0017439
2023-02-03 15:47 g0tmi1k Status assigned => resolved
2023-02-03 15:47 g0tmi1k Resolution open => fixed