Bug 1953068 - os-release, DOCUMENTATION_URL is incorrect; doc_version should be "f34".
Summary: os-release, DOCUMENTATION_URL is incorrect; doc_version should be "f34".
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: 34
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Mohan Boddu
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1954320 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-23 19:46 UTC by gwelch925
Modified: 2021-08-18 01:11 UTC (History)
12 users (show)

Fixed In Version: fedora-release-34-36
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-18 01:11:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description gwelch925 2021-04-23 19:46:17 UTC
Description of problem:
The DOCUMENTATION_URL provided in /etc/os-release is incorrect because the 'f' prefix is missing from the spec variable, doc_version.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install Fedora 34
2. `cat /etc/os-release`

Actual results:
$ cat /etc/os-release | grep DOCUMENTATION_URL
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/34/system-administrators-guide/"


Expected results:
$ cat /etc/os-release | grep DOCUMENTATION_URL
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/"


Additional info:

I went to the relevant source file to track down the bug which can be found here:
define doc_version: https://src.fedoraproject.org/rpms/fedora-release/blob/f34/f/fedora-release.spec#_7
Specify DOCUMENTATION_URL, utilizing doc_version: https://src.fedoraproject.org/rpms/fedora-release/blob/f34/f/fedora-release.spec#_773

Comment 1 gwelch925 2021-04-23 19:52:19 UTC
It's worth noting that both the incorrect, "34" URL and the correct, "f34" URL, both return a 404 at present. I'm under the assumption that the Fedora 34 SysAdmin guide is either inaccessible to the public or has yet to be generated. Given the history of the project and the source code comment, I have assumed/extrapolated what the correct URL will be in the future.

Fedora 32, SysAdmin Guide: https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/
Fedora 33, ": https://docs.fedoraproject.org/en-US/fedora/f33/system-administrators-guide/
Fedora 34, ": https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/
Fedora Rawhide, ": https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/

Comment 2 gwelch925 2021-04-23 19:54:42 UTC
Version-Release number: 34-1

$ sudo dnf info fedora-release-common
Last metadata expiration check: 0:28:34 ago on Fri 23 Apr 2021 12:25:24 PM PDT.
Installed Packages
Name         : fedora-release-common
Version      : 34
Release      : 1
Architecture : noarch
Size         : 16 k
Source       : fedora-release-34-1.src.rpm
Repository   : @System
From repo    : updates-testing
Summary      : Fedora release files
URL          : https://fedoraproject.org/
License      : MIT
Description  : Release files common to all Editions and Spins of Fedora

Comment 3 Kevin Fenzi 2021-04-27 22:27:07 UTC
*** Bug 1954320 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2021-08-16 15:34:22 UTC
FEDORA-2021-0ed8ffea53 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0ed8ffea53

Comment 5 Fedora Update System 2021-08-17 01:09:24 UTC
FEDORA-2021-0ed8ffea53 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0ed8ffea53`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0ed8ffea53

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Geraldo Simião 2021-08-17 14:38:29 UTC
Results after the new update:

cat /etc/os-release
NAME=Fedora
VERSION="34 (KDE Plasma)"
ID=fedora
VERSION_ID=34
VERSION_CODENAME=""
PLATFORM_ID="platform:f34"
PRETTY_NAME="Fedora 34 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:34"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=34
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=34
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="KDE Plasma"
VARIANT_ID=kde

dnf info fedora-release-common
Pacotes instalados
Nome         : fedora-release-common
Versão       : 34
Lançamento   : 36
Arquitetura  : noarch
Tamanho      : 16 k
Origem       : fedora-release-34-36.src.rpm
Repositório  : @System
A partir do  : updates-testing
Resumo       : Fedora release files
URL          : https://fedoraproject.org/
Licença      : MIT
Descrição    : Release files common to all Editions and Spins of Fedora

Comment 7 Fedora Update System 2021-08-18 01:11:34 UTC
FEDORA-2021-0ed8ffea53 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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