Skip to content
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

CloudLinux returns blank values #368

Closed
NebularNerd opened this issue Aug 19, 2024 · 3 comments
Closed

CloudLinux returns blank values #368

NebularNerd opened this issue Aug 19, 2024 · 3 comments

Comments

@NebularNerd
Copy link

My potato powered GoDaddy server running CloudLinux 8does not return any sensible information, using uname -a I get:

Linux node_name_redacted 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

But using distro I get:

Name:
Version:
Codename:

Equally calling inside python as a module produces the same results.

Is this a CloudLinux 8 issue, a distro issue, or would running it inside a python venv be the issue?

@HorlogeSkynet
Copy link
Member

Hello, this looks related to #240.

@NebularNerd
Copy link
Author

I searched for CloudLinux and could not find that, maybe I mistyped. I tried hostnamectl but the comes back as:
-bash: hostnamectl: command not found

GoDaddy do lock these servers right down, I imagine it's something they've down by the looks of it.

@HorlogeSkynet
Copy link
Member

No worries, I'm closing here as "duplicate", and invite you to pursue the discussion in #240.
FYI, we are in the (stale) process of finding a way to retrieve this specific piece of information without adding another subprocess call (to hostnamectl).
Moreover, if it's unavailable in your environment (it's one of systemd binaries), I guess it's even important we find another workaround to this issue (and if you're OK to spend some time with us on the matter, we'll take it 🙂).

Thanks, see you on #240 !

@HorlogeSkynet HorlogeSkynet closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants