Bug 2029071
| Summary: | httpd on CentOS identifies as RHEL | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Neal Gompa <ngompa13> |
| Component: | httpd | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED ERRATA | QA Contact: | Branislav Náter <bnater> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bnater, bstinson, carl, davide, jorton, jwboyer, luhliari, michel |
| Target Milestone: | rc | Keywords: | AutoVerified, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | httpd-2.4.51-4.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 12:29:56 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: | |||
|
Description
Neal Gompa
2021-12-04 17:40:30 UTC
Merge request proposed: https://gitlab.com/redhat/centos-stream/rpms/httpd/-/merge_requests/37 Thanks Neal, this looks fine. Currently I'm getting "Server: Apache/2.4.51 (Red Hat Enterprise Linux)" on rhel-9 machine and "Server: Apache/2.4.51 (Red Hat Enterprise Linux 9)" with '9' at the end of string on c9s machine. Testing in MR [1], "Server: Apache/2.4.51 (CentOS Stream 9)" is present. It this what we want Neal, Joe? Other variants: "CentOS Stream" (no '9') or just "CentOS" (look like expected here [2]). 1. https://gitlab.com/redhat/centos-stream/rpms/httpd/-/merge_requests/37 2. https://lists.centos.org/pipermail/centos-devel/2021-November/077482.html (In reply to Branislav Náter from comment #4) > Currently I'm getting "Server: Apache/2.4.51 (Red Hat Enterprise Linux)" on > rhel-9 machine and "Server: Apache/2.4.51 (Red Hat Enterprise Linux 9)" with > '9' at the end of string on c9s machine. > > Testing in MR [1], "Server: Apache/2.4.51 (CentOS Stream 9)" is present. It > this what we want Neal, Joe? Other variants: "CentOS Stream" (no '9') or > just "CentOS" (look like expected here [2]). > > 1. https://gitlab.com/redhat/centos-stream/rpms/httpd/-/merge_requests/37 > 2. https://lists.centos.org/pipermail/centos-devel/2021-November/077482.html If we want to always have just the name with no version, I can update it to always use "NAME", which would give us that consistently. I do think we should identify as "CentOS Stream" for CentOS, "Fedora Linux" for Fedora, and "Red Hat Enterprise Linux" for RHEL. I'll update the MR to do that, and also make a corresponding PR for the Fedora httpd package to do the same. I've changed the MR for the CentOS package to use "$NAME" and I've made a PR to the Fedora httpd package for the same change: https://src.fedoraproject.org/rpms/httpd/pull-request/22 Yes, better to omit the version. I think in the past we used to use only "(Red Hat)" for RHEL/RHSCL builds as well, but using $NAME seems fine. (In reply to Joe Orton from comment #8) > Yes, better to omit the version. I think in the past we used to use only > "(Red Hat)" for RHEL/RHSCL builds as well, but using $NAME seems fine. Yeah, I think was before we switched to pulling the value from os-release. We don't have a way to just get "Red Hat"/"CentOS"/"Fedora" anymore, but I think this is fine. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: httpd), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2324 |