Install on TrueNAS scale?

Hello everyone,

I want to do some vulnerability scanning om my home lan. I’m running TrueNAS scale with kubernetes for docker.

I’ve tried to install the docker image several times, but i think i might be missing some environment tables or something, because it seems to be stuck on deploying the whole time.

Did someone already succeed in running the docker image on TrueNAS Scale?

Application Name:openvas-scannerPod Name:openvas-scanner-ix-chart-5447697fd8-j76mdContainer Name:ix-chart

2023-07-28 06:56:17.936618+00:00thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LoadError(NotFound("/var/lib/openvas/plugins/plugin_feed_info.inc does not exist or is not accessible."))', openvasd/src/controller/context.rs:94:63
2023-07-28 06:56:17.936667+00:00stack backtrace:
2023-07-28 06:56:17.936812+00:00e[2m2023-07-28T06:56:17.936367Ze[0m e[33m WARNe[0m e[2mopenvasde[0me[2m:e[0m OSPD socket /var/run/ospd/ospd.sock does not exist. Some commands will not work until the socket is created!
2023-07-28 06:56:17.944652+00:000: rust_begin_unwind
2023-07-28 06:56:17.944704+00:00at ./rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:593:5
2023-07-28 06:56:17.944714+00:001: core::panicking::panic_fmt
2023-07-28 06:56:17.944737+00:00at ./rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/panicking.rs:67:14
2023-07-28 06:56:17.944745+00:002: core::result::unwrap_failed
2023-07-28 06:56:17.944752+00:00at ./rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/result.rs:1651:5
2023-07-28 06:56:17.944760+00:003: openvasd::controller::context::ContextBuilder<S,T>::feed_config
2023-07-28 06:56:17.944772+00:004: tokio::runtime::park::CachedParkThread::block_on
2023-07-28 06:56:17.944780+00:005: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
2023-07-28 06:56:17.944787+00:006: tokio::runtime::runtime::Runtime::block_on
2023-07-28 06:56:17.944795+00:007: openvasd::main
2023-07-28 06:56:17.945009+00:00note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

That’s very likely your issue. Take a look at our docker compose file to understand the required setup. The architecture consists of several daemons and files that are required to run a vulnerability scan. It’s not possible to use just the openvas-scanner container image.

2 Likes

Ah i see :slight_smile:

Isn’t it an option to create a true charts application for this? To support it on TrueNAS and make it generally more available for more security minder end-users?

Otherwise I have to install docker alongside kubernetes or create VM solely for this purpose?

There was some discussion around Kubernetes here:

1 Like