Alright, it takes me all day long...
Turns out to be inappropriate configuration.
When I yum installed openvas in CentOS 6.5,
 the LOCALSTATEDIR macro seems to be /var,
 and the DATADIR macro seems to be /usr/share,
that means one of them is not set as default, 
they don't follow the same CMAKE_INSTALL_PREFIX macro.

related section in openvas-libraries/CMakeFiles.txt is:
if (NOT LOCALSTATEDIR)
set (LOCALSTATEDIR "${CMAKE_INSTALL_PREFIX}/var")
endif (NOT LOCALSTATEDIR)

if (NOT INCLUDEDIR)
set (INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include")
endif (NOT INCLUDEDIR)

if (NOT DATADIR)
set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
endif (NOT DATADIR)

Didn't know that.



[email protected]
 
From: flymolon
Date: 2015-02-02 22:51
To: openvas-discuss
Subject: weird problem
Hi all,
I compiled openvasmd 5.0.7 and replaced the older one in CentOS 6.5 (the older 
version is 5.0.7 too).
Gsad cannot get the reports of the tasks scanned previously, too pity I forgot 
to remember the description.
Then I created a new task and did the scan.
And now I can get the reports of the older tasks in gsad, but the 
vulnerabilities' names don't show normally,
some of them disappeared.
And if I use omp to get tasks, the older tasks disappear too....

Andbody explain why?

Thanks!



[email protected]
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to