yu210148 / gvm_install

A script to install GVM 20 or 21 on Ubuntu 20.04 or Debian 10.
GNU General Public License v3.0
142 stars 71 forks source link

new dependency libxml2? #86

Open itiligent opened 2 years ago

itiligent commented 2 years ago

Hi,

I've been tweaking the script for a range of distributed deployments on raspi, and have been testing on (official) ubuntu 20.04 for raspi and raspian bullseye. Also testing with GVM 21.4.5

I suspect there is something not right when building the ospd-openvas lxml component.

On Raspian and Ubuntu there are always a few errors being logged with python setups ie Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/gvm/lib/python3.9/site-packages/ospd/main.py", line 83, in exit_cleanup server.close() File "/opt/gvm/lib/python3.9/site-packages/ospd/server.py", line 231, in close super().close() AttributeError: 'NoneType' object has no attribute 'shutdown' etc

Installing on raspi Ubuntu 20.04 I get more verbose errors relating to missing dependencies of libxml2 (this is not included in the script). I suspect the same issues have been occurring when installing on Ubuntu 20.04 x64 as well. say this becuase after adding libxml2 to the script, The installer (for the first time even after much play with this script) properly took its time to build lxml (setup.py) .. I'll test raspian another day but I exepect Raspian be the same.

yu210148 commented 2 years ago

Hi again, I could add it. That shouldn't be a problem. Is it something that could be added to one of the apt get commands? I'm not in front of my computer right now.

Kev.

On Wed, Jul 13, 2022, 11:50 AM itiligent @.***> wrote:

Hi,

I've been tweaking the script for a range of distributed deployments on raspi, and have been testing on (official) ubuntu 20.04 for raspi and raspian bullseye. Also testing with GVM 21.4.5

I suspect there is something not right when building the ospd-openvas lxml component.

On Raspian and Ubuntu there are always a few errors being logged with python setups ie Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/gvm/lib/python3.9/site-packages/ospd/main.py", line 83, in exit_cleanup server.close() File "/opt/gvm/lib/python3.9/site-packages/ospd/server.py", line 231, in close super().close() AttributeError: 'NoneType' object has no attribute 'shutdown' etc

Installing on raspi Ubuntu 20.04 I get more verbose errors relating to missing dependencies of libxml2 (this is not included in the script). I suspect the same issues have been occurring when installing on Ubuntu 20.04 x64 as well. say this becuase after adding libxml2 to the script, The installer (for the first time even after much play with this script) properly took its time to build lxml (setup.py) .. I'll test raspian another day but I exepect Raspian be the same.

— Reply to this email directly, view it on GitHub https://github.com/yu210148/gvm_install/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4KTAEJXHGBSBUSUOKLVT3QSRANCNFSM53PGV4SQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yu210148 commented 2 years ago

It looks like libxml2-dev get's installed on line 117. I'll add in libxml2 there as well but it looks like it got pulled in somewhere along the way on my instance running on 20.04.

kev.

On Wed, Jul 13, 2022 at 7:40 PM Kevin Lucas @.***> wrote:

Hi again, I could add it. That shouldn't be a problem. Is it something that could be added to one of the apt get commands? I'm not in front of my computer right now.

Kev.

On Wed, Jul 13, 2022, 11:50 AM itiligent @.***> wrote:

Hi,

I've been tweaking the script for a range of distributed deployments on raspi, and have been testing on (official) ubuntu 20.04 for raspi and raspian bullseye. Also testing with GVM 21.4.5

I suspect there is something not right when building the ospd-openvas lxml component.

On Raspian and Ubuntu there are always a few errors being logged with python setups ie Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/gvm/lib/python3.9/site-packages/ospd/main.py", line 83, in exit_cleanup server.close() File "/opt/gvm/lib/python3.9/site-packages/ospd/server.py", line 231, in close super().close() AttributeError: 'NoneType' object has no attribute 'shutdown' etc

Installing on raspi Ubuntu 20.04 I get more verbose errors relating to missing dependencies of libxml2 (this is not included in the script). I suspect the same issues have been occurring when installing on Ubuntu 20.04 x64 as well. say this becuase after adding libxml2 to the script, The installer (for the first time even after much play with this script) properly took its time to build lxml (setup.py) .. I'll test raspian another day but I exepect Raspian be the same.

— Reply to this email directly, view it on GitHub https://github.com/yu210148/gvm_install/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFY4KTAEJXHGBSBUSUOKLVT3QSRANCNFSM53PGV4SQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>