Bug 950373
| Summary: | Please support /etc/os-release | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Filak <jfilak> |
| Component: | redhat-release | Assignee: | Daniel Mach <dmach> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | dgregor, jberan, jmoskovc, lpoetter, mbanas, mganisin, mjc, rvokal |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:00:58 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: | 958741 | ||
|
Description
Jakub Filak
2013-04-10 07:27:47 UTC
It might make sense to add ID_LIKE=fedora. If you decide to use ID=rhel-client, then you also should add ID_LIKE=rhel. Also: HOME_URL="https://www.redhat.com/products/enterprise-linux/" SUPPORT_URL="https://access.redhat.com/home" BUG_REPORT_URL="https://bugzilla.redhat.com/" Or something like that. For a full explanation of the available fields see the man page: http://www.freedesktop.org/software/systemd/man/os-release.html This bug is reported against "rhel-release-server", but the suggestion in #2 talk of the client. I am confused... (In reply to comment #5) > This bug is reported against "rhel-release-server", but the suggestion in #2 > talk of the client. I am confused... All the redhat-release-%variant packages are same, the only difference is the variant name. Sorry for confusion. CC'ing Mark Cox for comments on the CPE name. Note that this file will likely be edited post-install due to the flexible branding feature. (In reply to comment #6) > It would be nice to provide fields useful for bug reporting. > > For example: > BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" > RHSUPPORT_PRODUCT_VERSION="7.0 Alpha" That sounds a bit too specific to support in generic fields. However, the file is extensible, and vendors can add their own keys prefixed by some vendor ID. Hence, if RH decides to add some fields they should probably be: REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7" REDHAT_SUPPORT_PRODUCT_VERSION="7.0 Alpha" Including the CPE means we really could get rid of the /etc/cpe* file which never really gained traction outside of Red Hat anyway. CPE_NAME="cpe:/o:redhat:enterprise_linux:7.0.0:beta:client" Would be accurate. (In reply to comment #9) I've added support for the following fields in ABRT: REDHAT_BUGZILLA_PRODUCT REDHAT_BUGZILLA_PRODUCT_VERSION REDHAT_SUPPORT_PRODUCT REDHAT_SUPPORT_PRODUCT_VERSION https://github.com/abrt/libreport/commit/a38367c1bd648a46125b2dc799046d210c567c40 Just to mention this: this looks like an OK use of os-release and extension fields to me. Of course, I'd prefer if the primary os-release fields and the bugzilla components could always stay in sync, but if that's not possible, then storing the difference in vendor-specific extension fields sounds like an OK solution, especially given that other vendors such as SUSE or Mageia have a very different bugzilla architecture and hence there's nothing to unify there. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |