OpenVZ Forum


Home » General » Support » almaconvert8 and lsof return code weirdness
Re: almaconvert8 and lsof return code weirdness [message #53872 is a reply to message #53870] Sun, 01 December 2024 13:36 Go to previous messageGo to previous message
wsap is currently offline  wsap
Messages: 81
Registered: March 2018
Location: Halifax, NS
Member
I still have no explanation for the return code being 0 when I run it, yet a 1 when almaconvert8 runs it.

There are two workarounds:

1. Stop all daemons using ports (systemctl stop sshd, for example) -- lsof -Pi returns nothing. This has not worked consistently for me.
2. Modify almaconvert8 so it no longer reports on ports by always returning an empty array:

sed -i '/def get_open_ports/a \ \ \ \ return []' /usr/bin/almaconvert8

[Updated on: Fri, 06 December 2024 17:19]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: OpenVZ9 still developed or EOL?
Next Topic: OpenVZ bug tracker at bugs.openvz.org no longer allows login
Goto Forum:
  


Current Time: Thu Aug 28 02:52:45 GMT 2025

Total time taken to generate the page: 0.10477 seconds