question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

uname parser on Devuan fails

See original GitHub issue

Hi,

I’m running Devuan GNU/Linux on a virtual machine, and the uname parser fails. The “processor” and “machine” attributes pick up parts of the kernel version.

I’m guessing there are two problems here:

  • The kernel version is pretty messed up. 😳
  • The processor and hardware platform are unknown (because it’s on a virtual machine), and thus omitted from the output.
traal@soya 07:02 ~ 0$ uname -a
Linux soya.ita.chalmers.se 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
traal@soya 07:03 ~ 0$ uname --kernel-name
Linux
traal@soya 07:03 ~ 0$ uname --nodename
soya.ita.chalmers.se
traal@soya 07:03 ~ 0$ uname --kernel-release
4.19.0-17-amd64
traal@soya 07:03 ~ 0$ uname --kernel-version
#1 SMP Debian 4.19.194-3 (2021-07-18)
traal@soya 07:03 ~ 0$ uname --machine
x86_64
traal@soya 07:03 ~ 0$ uname --processor
unknown
traal@soya 07:03 ~ 0$ uname --hardware-platform
unknown
traal@soya 07:03 ~ 0$ uname --operating-system
GNU/Linux
traal@soya 07:03 ~ 0$ jc -p uname -a
{
  "kernel_name": "Linux",
  "node_name": "soya.ita.chalmers.se",
  "kernel_release": "4.19.0-17-amd64",
  "operating_system": "GNU/Linux",
  "hardware_platform": "x86_64",
  "processor": "(2021-07-18)",
  "machine": "4.19.194-3",
  "kernel_version": "#1 SMP Debian"
}

I don’t know if this matters, but It’s on Devuan (a Debian clone without systemd):

traal@soya 07:06 ~ 0$ lsb_release -a
No LSB modules are available.
Distributor ID: Devuan
Description:    Devuan GNU/Linux 3 (beowulf)
Release:        3
Codename:       beowulf

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kellyjonbrazilcommented, Oct 30, 2021

Resolved in v1.17.1

1reaction
kellyjonbrazilcommented, Oct 22, 2021

Ah yes, you are right - thanks for testing! I’ll have to ensure I have a test for that, too.

Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

uname parser on Devuan fails - bytemeta
I'm running Devuan GNU/Linux on a virtual machine, and the uname parser fails. The "processor" and "machine" attributes pick up parts of the...
Read more >
Error parsing comments from vuln detector provider in ossec ...
Hello team,. I would like to report a possible bug when downloading feeds in the vulnerability detector module. The problem found is that...
Read more >
amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125
The error messages are because the kernel is rejecting commands from userspace because the application needs to recreate their contexts after a GPU...
Read more >
949248 - nftables: nft parsing from stdin fails but works from file
[Message part 1 (text/plain, inline)] Package: nftables Version: 0.9.0-2 Severity: normal I want to parse rules from a script but parsing ...
Read more >
Error when trying to run parsing program using lex and yacc
shawn is suggesting that your run sudo apt-get install bison-dev , which is what you need on some debian/ubuntu systems in order to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found