After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557245 - lsb_release distributor ID is not the distribution name
lsb_release distributor ID is not the distribution name
Status: RESOLVED OBSOLETE
Product: system-monitor
Classification: Core
Component: sysinfo
unspecified
Other Linux
: Normal normal
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-21 13:38 UTC by Vincent Untz
Modified: 2012-12-06 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2008-10-21 13:38:16 UTC
In the sysinfo tab, gnome-system-monitor displays a big label. The code suggests that this is the distribution name. However, it uses "lsb_release -i" to find it, and this gives you a distributor ID, not a distribution name.

Here's a difference: in openSUSE, the distributor ID is "SUSE Linux" and not "openSUSE". Therefore, when you look at gnome-system-monitor, you can't know if you're using openSUSE or any other "product" distributed by SUSE Linux.

It looks to me like the description (lsb_release -d) is what we might want in the header.
Comment 1 Benoît Dejean 2008-10-22 14:16:43 UTC
This story is never going to end.
Some distro will have '-i -r -c' correctly implemented but not '-d', while other will have '-d' correct.

Distributor ID: RedHatEnterpriseWS
Description:    Red Hat Enterprise Linux WS release 4 (Nahant Update 5)
Release:        4
Codename:       NahantUpdate5

Distributor ID: RedHatEnterpriseAS
Description:    Red Hat Enterprise Linux AS release 3 (Taroon Update 4)
Release:        3
Codename:       TaroonUpdate4

Distributor ID: SUSE LINUX
Description:    SUSE Linux Enterprise Server 10 (ia64)
Release:        10
Codename:       n/a

Distributor ID:	Debian
Description:	Debian GNU/Linux testing (lenny)
Release:	testing
Codename:	lenny


How can i then reliably display the distro name version and codename (if any) ?


Comment 2 Steffen V. Petersen 2011-06-26 11:45:54 UTC
If different distributions are using these lsb fields inconsistently, why not include them all? Currently the description is omitted altogether.
Comment 3 Robert Roth 2012-12-06 19:55:22 UTC
The System tab has been removed in the head, so this bug is obsolete in System monitor. The information is displayed now in gnome control center's details pane, please check if the bug exists there too, and report a new bug/reopen this and move to gnome control center if it is affected.