For some linux distributions (eg Rocky Linux) lsb-release file does not exist. So, the OS output of the example code shows unknown fields,
----------------------------------- OS ------------------------------------
Operating System: Linux <unknown version>
short name: Linux
version: <unknown version>
kernel: 4.18.0-372.19.1.el8_6.x86_64
architecture: 64 bit
endianess: little endian
If the library uses os-release instead of the lsb-release file, the library can parse the information correctly,
----------------------------------- OS ------------------------------------
Operating System: Rocky Linux 8.6 (Green Obsidian)
short name: Rocky Linux
version: 8.6
kernel: 4.18.0-372.19.1.el8_6.x86_64
architecture: 64 bit
endianess: little endian
For some linux distributions (eg Rocky Linux) lsb-release file does not exist. So, the OS output of the example code shows unknown fields,
If the library uses
os-release
instead of thelsb-release
file, the library can parse the information correctly,