Bug 404371
Summary: | [feature] Provide our CPE name in a new system file | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mark J. Cox <mjc> | |
Component: | redhat-release-server | Assignee: | Andrew Thomas <anthomas> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | 6.0 | CC: | apevec, atodorov, dgregor, lkocman, mikem, notting, snagar, syeghiay | |
Target Milestone: | rc | Keywords: | FutureFeature | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | redhat-release-6-6.0.0.14 | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 592425 (view as bug list) | Environment: | ||
Last Closed: | 2010-11-11 14:54:55 UTC | Type: | --- | |
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: | 592425, 593463 |
Description
Mark J. Cox
2007-11-29 13:39:53 UTC
Contact me for the specific RHEL names, but they're of the form like: cpe://o:redhat:enterprise_linux:6:GA:Server cpe://o:redhat:enterprise_linux:6:Update1:Client Are we planning on adding this for all RHEL releases? I.e do we need to clone this for the next round of updates? /etc/system-release-cpe added to redhat-release-6-6.0.0.11 Hi Dennis, I noticed that the format of the CPE name wasn't updated to match the latest CPE spec which only uses one slash after cpe: and a lowercase product variant. So can you update it to something like this? echo "cpe:/o:redhat:enterprise_linux:%{version}:%{?beta: %{beta}}%{!?beta: GA}" > $RPM_BUILD_ROOT/etc/system-release-cpe Thanks, Mark Alan, for RHEV you need to use the official RHEV CPE name, this can be found in the master product file (product.xml), where it is: cpe:/o:redhat:enterprise_virtualization_hypervisor:2.1 Do you want me to file a bz for this? (I assume against ovirt-node pkg) CPE text updated to match the latest spec. redhat-release-6-6.0.0.13 Hey Dennis, it came out as cpe:/o:redhat:enterprise_linux:6: Alpha I guess it needs no space after the beta: (I didn't test this) Sorry about that. How does this look? $ rpm2cpio /mnt/redhat/brewroot/packages/redhat-release/6/6.0.0.14/ppc64/redhat-release-6-6.0.0.14.ppc64.rpm | cpio -iuvmd /etc/system-release-cpe 293 blocks $ cat ./etc/system-release-cpe cpe:/o:redhat:enterprise_linux:6:Alpha that's correct, thanks! Fixed in 'redhat-release-6-6.0.0.14'. 'redhat-release-6-6.0.0.15' included in compose 'RHEL6.0-20091027.3'. Moving to ON_QA. redhat-release-server-6-6.0.0.27.el6.x86_64 # cat /etc/system-release-cpe cpe:/o:redhat:enterprise_linux:6:beta:server Moving to VERIFIED. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |