View Issue Details

IDProjectCategoryView StatusLast Update
0000350Kali LinuxKali Package Bugpublic2013-08-09 21:53
Reportercompuwar Assigned Tomuts  
PriorityurgentSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Platformx64OSKaliOS Version1.0
Summary0000350: Update broke OpenVAS
Description

OpenVAS no longer functions after update.

Steps To Reproduce

Run system update.

Additional Information

After update, openvas-nvt-sync produced:

openvas-nvt-sync
[i] This script synchronizes an NVT collection with the 'OpenVAS NVT Feed'.
[i] The 'OpenVAS NVT Feed' is provided by 'The OpenVAS Project'.
[i] Online information about this feed: 'http://www.openvas.org/openvas-nvt-feed.html'.
[i] NVT dir: /var/lib/openvas/plugins
[i] Will use rsync
[i] Using rsync: /usr/bin/rsync
[i] Configured NVT rsync feed: rsync://feed.openvas.org:/nvt-feed
[w] Private directory '/var/lib/openvas/plugins/private' not found.
[w] Non-feed NVTs not migrated there will be deleted by rsync.
Run migration now ([y/n], any other input aborts)? y

[i] Migrating non-OpenVAS files to private sub-directory 'private' of NVT directory '/var/lib/openvas/plugins'. This can take a few minutes.
[i] Migration done.

After migration, trying to load openvassd produces:

Loading the plugins... 29682 (out of 30607)Segmentation fault

Syslog contains:

openvassd[31442]: segfault at 0 ip 00007fe4acdfffd0 sp 00007fff00566cb8 error 4 in libglib-2.0.so.0.3200.4[7fe4acdc5000+f5000]

Activities

compuwar

compuwar

2013-05-10 15:03

reporter   ~0000447

Additional information:

openvas-check-setup 2.2.1
Test completeness and readiness of OpenVAS-6
(add '--v4', '--v5' or '--v7'
if you want to check for another OpenVAS version)

Please report us any non-detected problems and
help us to improve this check routine:
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Send us the log-file (/tmp/openvas-check-setup.log) to help analyze the problem.

Use the parameter --server to skip checks for client tools
like GSD and OpenVAS-CLI.

Step 1: Checking OpenVAS Scanner ...
OK: OpenVAS Scanner is present in version 3.4.0.
OK: OpenVAS Scanner CA Certificate is present as /var/lib/openvas/CA/cacert.pem.
OK: NVT collection in /var/lib/openvas/plugins contains 30607 NVTs.
WARNING: Signature checking of NVTs is not enabled in OpenVAS Scanner.
SUGGEST: Enable signature checking (see http://www.openvas.org/trusted-nvts.html).
Step 2: Checking OpenVAS Manager ...
OK: OpenVAS Manager is present in version 4.0.0.
OK: OpenVAS Manager client certificate is present as /var/lib/openvas/CA/clientcert.pem.
OK: OpenVAS Manager database found in /var/lib/openvas/mgr/tasks.db.
OK: Access rights for the OpenVAS Manager database are correct.
ERROR: No OpenVAS SCAP database found. (Tried: /var/lib/openvas/scap-data/scap.db)
FIX: Run a SCAP synchronization script like openvas-scapdata-sync or greenbone-scapdata-sync.

ERROR: Your OpenVAS-6 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.

compuwar

compuwar

2013-05-10 15:41

reporter   ~0000448

Ran openvas-scapdata-sync and openvas-certdata-sync

openvas-check-setup shows:

WARNING: No Greenbone Security Desktop (gsd) found or too old.
SUGGEST: Please install Greenbone Security Desktop 1.2.

still getting a segfault try8ing to start the scanner (openvassd.)

compuwar

compuwar

2013-05-10 16:05

reporter   ~0000449

strace shows:

stat("/var/lib/openvas/plugins/GSHB/EL11/GSHB_M5_021.nasl", {st_mode=S_IFREG|0664, st_size=8277, ...}) = 0
stat("/var/cache/openvas/GSHB/EL11/GSHB_M5_021.nasl.nvti", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/var/cache/openvas/GSHB/EL11/GSHB_M5_021.nasl.nvti", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
read(4, "", 4096) = 0
close(4) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

rhertzog

rhertzog

2013-06-04 10:19

administrator   ~0000505

Do you still have the problem? At some point in may, the packages in "kali" were not perfectly in sync, the remaining packages were waiting in kali-proposed-updates. Maybe it was related?

What version of "gsd" do you have? Please paste the output of "dpkg -s gsd".

muts

muts

2013-08-09 21:53

reporter   ~0000673

Closed due to lack of response and inability to replicate,

Issue History

Date Modified Username Field Change
2013-05-10 14:03 compuwar New Issue
2013-05-10 15:03 compuwar Note Added: 0000447
2013-05-10 15:41 compuwar Note Added: 0000448
2013-05-10 16:05 compuwar Note Added: 0000449
2013-06-04 10:19 rhertzog Note Added: 0000505
2013-06-04 10:19 rhertzog Status new => feedback
2013-08-09 21:53 muts Note Added: 0000673
2013-08-09 21:53 muts Status feedback => closed
2013-08-09 21:53 muts Assigned To => muts
2013-08-09 21:53 muts Resolution open => no change required