Bug 875127 - release name may not be included in OS Release string
Summary: release name may not be included in OS Release string
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Milata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 875186 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 15:21 UTC by Steve Tyler
Modified: 2014-02-05 22:52 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 22:52:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
python-meh-test-2.py test program (832 bytes, text/plain)
2012-11-09 18:54 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2012-11-09 15:21:28 UTC
Description of problem:
The release name is not always included in the OS Release string.

https://fedoraproject.org/wiki/Name_suggestions_for_Fedora_18
https://fedoraproject.org/wiki/Name_suggestions_for_Fedora_19

Version-Release number of selected component (if applicable):
libreport-0:2.0.17-1.fc18.x86_64
Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso

How reproducible:
Always.

Steps to Reproduce:
1. Crash anaconda on the Live CD.
2. Add a comment to the problem description.
3. Report to a pre-existing bug that is a duplicate.
 
Actual results:
OS Release: Fedora release 18
Example: Bug 872833, Comment 15

Expected results:
OS Release: Fedora release 18 (Spherical Cow)
Example: Bug 875013, Comment 15

Additional info:
See also:
Bug 741647 - python report uses product from anaconda even on installed machine 
Bug 741647, Comment 43

Reproduced with:
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/TC7/Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 1 Jiri Moskovcak 2012-11-09 16:20:10 UTC
Thanks for the report, but even though it might be a little confusing it is an expected behaviour.

Comment 2 Steve Tyler 2012-11-09 17:44:36 UTC
It is inconsistent with what occurs elsewhere. Is inconsistency expected?

Comment 3 Steve Tyler 2012-11-09 17:57:38 UTC
(In reply to comment #2)
> It is inconsistent with what occurs elsewhere. Is inconsistency expected?

Specifically, the string should be identical to the string in
/etc/fedora-release.

[liveuser@localhost ~]$ cat /etc/fedora-release 
Fedora release 18 (Spherical Cow)
[liveuser@localhost ~]$ rpm -q fedora-release
fedora-release-18-0.8.noarch
[liveuser@localhost ~]$

Comment 4 Steve Tyler 2012-11-09 18:31:14 UTC
*** Bug 875186 has been marked as a duplicate of this bug. ***

Comment 5 Steve Tyler 2012-11-09 18:48:45 UTC
(In reply to comment #4)
> *** Bug 875186 has been marked as a duplicate of this bug. ***

Not only is the string inconsistent with /etc/fedora-release, it is inconsistent with libreport itself:

For Bug 875186, I ran a test program twice:
1. Report a new bug.
2. Report a duplicate of that bug.

When the new bug was created, the "release" file was attached as Attachment 641739 [details]. That file contains the correct release string:

Fedora release 18 (Spherical Cow)

The duplicate report is Bug 875186, Comment 11. That comment contains the incorrect release string:

OS Release: Fedora release 18

Why is libreport using different strings for the original report and the duplicate report?

Tested with:

libreport-0:2.0.18-1.fc18.x86_64
Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso

Command-line:
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/TC7/Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 6 Steve Tyler 2012-11-09 18:54:05 UTC
Created attachment 641779 [details]
python-meh-test-2.py test program

This is the test program used to generate Bug 875186 and Bug 875186, Comment 11.

It is slightly modified from the original:
http://vpodzime.fedorapeople.org/meh_test.py

Comment 7 Steve Tyler 2012-11-09 22:41:36 UTC
Why is the OS Release string even reported with duplicates? The package string should already have the release number. For example, Bug 872833, Comment 15 has:

Package: anaconda-18.27-1.fc18.x86_64
OS Release: Fedora release 18

What would be more useful, though, is the exception string, because that isn't always identical in a duplicate report. For example, I reproduced this bug:

Bug 868589 - ValueError: Device 'vda1' not in tree 

My report turned out to be a duplicate, so I manually attached a log showing a traceback with a slightly different exception string:

ValueError: Device 'fedora-swap' not in tree
(Bug 868589, Comment 15)

Comment 8 Steve Tyler 2012-11-10 12:53:49 UTC
(In reply to comment #7)
...
> What would be more useful, though, is the exception string, because that
> isn't always identical in a duplicate report.
...

Bug 875312 - exception string not included in report of duplicate

Maybe this should all go under one bug:
What information should be included with a comment reporting a duplicate bug?

Comment 9 Steve Tyler 2012-11-19 20:15:16 UTC
(In reply to comment #7)
> Why is the OS Release string even reported with duplicates? The package
> string should already have the release number. For example, Bug 872833,
> Comment 15 has:
> 
> Package: anaconda-18.27-1.fc18.x86_64
> OS Release: Fedora release 18
...

This duplicate report from anaconda on the netinst CD has a Package string that does not include the release number or the architecture:
Bug 877692, Comment 17.

libreport doesn't appear to be installed on the netinst CD or the DVD, however.

==
Attempting to reproduce Bug 877692 on F18-Beta-TC9 netinst.

Package: anaconda-18.29
OS Release: Fedora release 18-Beta-TC9
==

Comment 10 Vratislav Podzimek 2012-11-28 09:21:36 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > Why is the OS Release string even reported with duplicates? The package
> > string should already have the release number. For example, Bug 872833,
> > Comment 15 has:
> > 
> > Package: anaconda-18.27-1.fc18.x86_64
> > OS Release: Fedora release 18
> ...
> 
> This duplicate report from anaconda on the netinst CD has a Package string
> that does not include the release number or the architecture:
> Bug 877692, Comment 17.
> 
> libreport doesn't appear to be installed on the netinst CD or the DVD,
> however.
> 
> ==
> Attempting to reproduce Bug 877692 on F18-Beta-TC9 netinst.
> 
> Package: anaconda-18.29
> OS Release: Fedora release 18-Beta-TC9
> ==
The reason here is, that in the installation environment (DVD, netinst) RPM DB is missing and python-meh uses only the information it was given by anaconda (package name and version). On the other hand on liveCDs and of course on a running Fedora RPM DB is available and python-meh reads information from there and thus can use full package specification with name, version, release and architecture.

Comment 11 Steve Tyler 2012-11-28 17:35:08 UTC
Thanks for the additional explanation:

# rpm -q kernel
package kernel is not installed

The OS Release strings differ too:

Bug 870586, Comment 23:
OS Release: Fedora release 18-Beta

Bug 870586, Comment 24:
OS Release: Fedora release 18

Comment 12 Fedora End Of Life 2013-12-21 15:11:35 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2014-02-05 22:52:36 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.