Bug#546746: openvas-server: wrong plugin directory

2009-09-15 Thread Andreas Putzo
Package: openvas-server
Version: 2.0.3-2
Severity: normal

Hi,

openvas-nvt-sync downloads plugins to /var/openvas/plugins/ (hardcoded
in the script) while in openvasd.conf 
 plugins_folder = /var/lib/openvas/plugins/

Thus, openvas cannot find any plugins in the default configuration.


Thanks,
Andreas



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#546746: [Openvas-distro-deb] Bug#546746: openvas-server: wrong plugin directory

2009-09-15 Thread Jan Wagner
tags 546746 + pending confirmed
Thanks

Hi Andreas,

thanks for the bugreport.

On Tuesday, 15. September 2009, Andreas Putzo wrote:
 openvas-nvt-sync downloads plugins to /var/openvas/plugins/ (hardcoded
 in the script) while in openvasd.conf
  plugins_folder = /var/lib/openvas/plugins/

it's true the directory set in openvas-nvt-sync is wrong, but you can easily 
adjust the patch while editing the file with you favorite editor.

Just change:

NVT_DIR=$localstatedir/openvas/plugins

into:

NVT_DIR=$localstatedir/lib/openvas/plugins

Anyways .. I commited a fix to the svn and it will be hit unstable shortly, 
but there are some remaining issues with the plugin sync stuff, which should 
be fixed first.

Thanks and with kind regards, Jan.
-- 
Never write mail to w...@spamfalle.info, you have been warned!
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
--END GEEK CODE BLOCK--


signature.asc
Description: This is a digitally signed message part.