Open pieterhouwen opened 3 years ago
I was able to duplicate this behavior on the previous release however Greenbone released a bunch of component updates 2 weeks ago that appear to correct whatever the issue was. I'm going to go ahead and close this issue - pull the most current image build from docker hub and if that does not correct, let me know and we will re-open and troubleshoot further.
I pulled the latest image using the default docker-compose file but when I re-ran the scan it showed the same behavior.
Maybe some things that can be helpful details:
I use the GVM on Docker for Windows (WSL2). NVT's are loaded in properly after I do the update twice (the first time fails because of hash mismatch)
When running the build script on an Ubuntu VM I'm getting the following errors in install-pkgs.sh:
Setting up libglib2.0-cil (2.12.40-3) ...
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x0000f] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.File.Exists (System.String path) [0x00058] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00031] in <c1f3f44c980c4c748aff61945c8f618f>:0
at Mono.Tools.Driver.Main (System.String[] args) [0x00347] in <c1f3f44c980c4c748aff61945c8f618f>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: System.Native assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x0000f] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.File.Exists (System.String path) [0x00058] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at Mono.Tools.Driver.LoadConfig (System.Boolean quiet) [0x00031] in <c1f3f44c980c4c748aff61945c8f618f>:0
at Mono.Tools.Driver.Main (System.String[] args) [0x00347] in <c1f3f44c980c4c748aff61945c8f618f>:0
E: installing Assembly /usr/share/cli-common/policies.d/libglib2.0-cil/policy.2.8.glib-sharp.dll failed
E: Installation of policy.2.8.glib-sharp with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing package libglib2.0-cil (--configure):
installed libglib2.0-cil package post-installation script subprocess returned error exit status 1
Setting up libmono-security4.0-cil (6.8.0.105+dfsg-2) ...
Setting up mono-gac (6.8.0.105+dfsg-2) ...
update-alternatives: using /usr/bin/gacutil to provide /usr/bin/cli-gacutil (global-assembly-cache-tool) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/cli-gacutil.1.gz because associated file /usr/share/man/man1/gacutil.1.gz (of link group global-assembly-cache-tool) doesn't exist
Setting up mono-runtime-common (6.8.0.105+dfsg-2) ...
dpkg: dependency problems prevent configuration of libglib2.0-cil-dev:
libglib2.0-cil-dev depends on libglib2.0-cil (= 2.12.40-3); however:
Package libglib2.0-cil is not configured yet.
dpkg: error processing package libglib2.0-cil-dev (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Errors were encountered while processing:
libglib2.0-cil
libglib2.0-cil-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm not sure if this will impact the ability to run properly but it doesn't seem good
Reopening issue as problem still present in most recent build
After scanning a host with GVM the scan shows results where there are no ports found open, no applications, tls certs etc.
My docker stats show a steady CPU usage of ~0.2%
I have a webserver running on the scanned host but it doesn't seem to pick it up. This is my partially redacted docker log
Is there anything I'm doing wrong?