Bug 2168186

Summary: The content of the os-release files is not correct.
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: fedora-releaseAssignee: Mohan Boddu <mboddu>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: alciregi, fedoraproject, geraldo.simiao.kutz, jkeating, kevin, mboddu, pbrobinson, robatino, sgallagh, thrcka, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: fedora-release-38-0.24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-09 18:41:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2083910    

Description Lukas Ruzicka 2023-02-08 12:16:31 UTC
Description of problem:

After system upgrade to Fedora 38, I listed the content of the os-release file and got:

NAME="Fedora Linux"
VERSION="38 (Workstation Edition Prerelease)"
ID=fedora
VERSION_ID=38
VERSION_CODENAME=""
PLATFORM_ID="platform:f38"
PRETTY_NAME="Fedora Linux 38 (Workstation Edition Prerelease)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:38"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide
SUPPORT_END=2024-05-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation


I believe that these lines are not correct and should be fixed as soon as possible:

REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=rawhide
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=rawhide

Bugzilla has the 38 version available.

How reproducible:
Always


Steps to Reproduce:
1. Upgrade to 38.
2. cat /etc/os-release

Actual results:
rawhide is still in that file.

Expected results:
it should say 38

Comment 1 Fedora Blocker Bugs Application 2023-02-08 12:18:07 UTC
Proposed as a Blocker for 38-beta by Fedora user lruzicka using the blocker tracking app because:

 I think the self-identification thing is hindered due to this behaviour

https://fedoraproject.org/wiki/Basic_Release_Criteria#Self-identification

Comment 2 Geraldo Simião 2023-02-08 13:19:24 UTC
Remembering that this line must change too:
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/"

must be:
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f38/system-administrators-guide/"

Comment 3 Stephen Gallagher 2023-02-08 13:57:46 UTC
This is accurate until the Fedora 38/39 branch event, which should happen sometime today. Once it does, the F38 branch will be updated with a fedora-release package that makes these changes.