-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Ubuntu from 22.04 LTS to 24.04 LTS #168
base: master
Are you sure you want to change the base?
Conversation
Thanks for merging #167, here's another one, a bit more complex than simply updating a version number somewhere. Building the Nagios container works fine even without netcat and the MySQL/MariaDB library. I suppose these are included to be used by plug-ins and/or end users? |
I am not anywhere remotely close to being a Python developer, but while building this myself I am seeing an issue with the VENV that Plugins do not see the modules that were installed via PIP. Not sure what needs to be done here to maintain the correct approach or if using the Also, pymssql is listed twice in the pip install line. |
Debian 12 and recent Ubuntu mandate using venv and discourage installing Python packages system-wide, so working without venv isn't actually an option these days I'm afraid ... Not sure what you mean by Double |
Right, I understand that, but what script would that go in to activate it for the Nagios user for all plugins container-wide? You can use |
I see what you mean now. Don't know if there's a way to activate a venv system-wide; don't think there is because that would kind of defeat the purpose of having a venv in the first place. The "proper way" as of Debian 12 is to run every Python application in a venv. I understand you've got Nagios plug-ins that no longer work with the venv-based Python installation? That would be a reason to use So, your choice :-) venv or not? |
Using |
Ok, that's what I thought too. The installation of |
Ok, will remove the venv and use |
Background and rationale: JasonRivers#168
Done. Any further wishes, or can it be merged? |
Background and rationale: JasonRivers#168
Hello, when is this going to be merged? |
Hello, is anyone reading this? Is this repo still being maintained? |
No description provided.