On Freitag, 5. März 2010, Michael Meyer wrote:
> *** Yungwei Chen <[email protected]> wrote:
>
> > When I scan a remote host using nmap as the port scanner, I see the
> > following in /var/log/openvas/openvasd.dump. In this case, port
> > scans were skipped.
> > [18520](/usr/lib/openvas/plugins/nmap.nasl)
> > unlink(/var/lib/openvas/tmp/nmap-..........-879976709): No such
> > file or directory
>
> Does "/var/lib/openvas/tmp/" exist?
>
> > How can I fix this?
>
> If "/var/lib/openvas/tmp/" does not exist, create it.
> Whatever. That should not happen. I'll fix nmap.nasl today.
> Then nmap should run even if the tmpdir does not exist.
IMHO we should strictly avoid anything going into /var/lib/openvas/tmp.
Better use the glib method to get temporary files under /tmp
Eventually it would be good to get rid of the openvas-specific tmp directory.
Best
Jan
--
Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss