| Summary: | Operating system version is empty for openSUSE Tumbleweed | ||
|---|---|---|---|
| Product: | [Applications] plasma-systemmonitor | Reporter: | Andy Great <andythe_great> |
| Component: | general | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | ahiemstra, justin.zobel, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Operating system version is empty | ||
|
Description
Andy Great
2020-11-08 14:44:06 UTC
What are the contents of /etc/os-release and /etc/lsb-release I imagine it's from one of those. Tumbleweed is a rolling release if I recall correctly, most of the time it does not make a whole lot of sense for those to have a version number. Most likely OpenSuse does set one in /etc/os-release where the data comes from. (In reply to Justin Zobel from comment #1) > What are the contents of /etc/os-release and /etc/lsb-release I imagine > it's from one of those. /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20201105" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20201105" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20201105" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo" /etc/lsb-release does not exist I would suggest using VERSION_ID for OS version. According to the spec both version and version_id are optional which doesn't make things easy. https://www.freedesktop.org/software/systemd/man/os-release.html Arjen is it possible to check if version exists, if that doesn't try version_id? Also not sure why openSUSE would include the version item and then comment it out or is that something you've done Andy? Nevermind on that Andy, it's commented out on the Live ISO of openSUSE, not sure why they do that. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! I was told that VERSION is commented out because openSUSE Tumbleweed does not have a version. The only thing that was not commented out is VERSION_ID. In that case, I think not showing a version is correct. In addition, accoding to https://www.freedesktop.org/software/systemd/man/os-release.html VERSION_ID is intended for scripts and programmatic use and not meant to be displayed to the user. |