gvmd/ospd-openvas incomplete openrc config
I did an alpine sys install, changing the repositories to edge in the process and doing a full upgrade afterwards. Then following the great write-up at https://wiki.alpinelinux.org/wiki/Setting_up_GVM11, not everything worked out of the box.
@fcolista, I'm taking the liberty of notifying you directly as you seem to work with GVM at this time.
/etc/init.d/gvmd
I had to manually add postgresql
to both depend
and after
, otherwise gvmd did occasionally exit, being unable to connect to its database.
Also, I added the following section:
start_pre()
{
mkdir -p /run/gvmd
chown -Rc gvm /run/gvmd
}
This fixes errors about being unable to create the lockfile.
/etc/init.d/ospd-openvas
As above, I added the following to fix lock file issues:
start_pre()
{
mkdir -p /run/ospd
}