Bug 1447420
| Summary: | [RFE] Detect RHEL or Fedora via /etc/os-release | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pat Riehecky <riehecky> | ||||||
| Component: | redhat-rpm-config | Assignee: | Florian Festi <ffesti> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | ajb, dzickus, ffesti, igor.raits, jonathan, pmatilai, toracat | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1651380 (view as bug list) | Environment: | |||||||
| Last Closed: | 2019-06-07 13:58:31 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1275928 [details]
Use systemd resources to detect if available
This is a better patch that uses systemd resources if available. If not it falls back to the existing behavior.
Any chance to get this in place? There is no dist.sh anyomore. |
Created attachment 1275724 [details] Patch to resolve Description of problem: The check for "is this like RHEL" does not detect Scientific Linux as "Like RHEL". The attached patch resolves. Version-Release number of selected component (if applicable):redhat-rpm-config-64-1.fc27 How reproducible:100% Steps to Reproduce: 1. 2. 3. Actual results: SL not detected as "RHEL like" Expected results: SL detected as "RHEL like" Additional info: