Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for "Oracle Linux" #746

Closed
andycaine opened this issue Feb 21, 2023 · 3 comments
Closed

Add Support for "Oracle Linux" #746

andycaine opened this issue Feb 21, 2023 · 3 comments
Assignees
Labels
Distribution support Add / modify an (linux) distribution released Pull Request released | Issue is fixed

Comments

@andycaine
Copy link

Versions

  • Wanted System: Oracle Linux 8.7
  • Architecture: x86_64

Detection

$ cat /etc/upstream-release/lsb-release
cat: /etc/upstream-release/lsb-release: No such file or directory

$ cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.7"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.7"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:7:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.7
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.7

$ cat /usr/lib/os-release
cat: /usr/lib/os-release: No such file or directory

$ cat /etc/lsb-release
cat: /etc/lsb-release: No such file or directory

Current Error

A download URL is generated for RHEL 5.5 which doesn't exist.

16:37:30  [INFO] Starting the MongoMemoryServer Instance failed, enable debug log for more information. Error:
16:37:30  [INFO]  Error: Status Code is 403 (MongoDB's 404)
16:37:30  [INFO] This means that the requested version-platform combination doesn't exist
16:37:30  [INFO]   Used Url: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel55-4.4.17.tgz"

Extra

Oracle Linux versions are pinned to RHEL. So treating Oracle Linux as RHEL should work - e.g. RHEL 8.7 generates a url of https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-4.4.17.tgz which exists and works on Oracle Linux 8.7.

@andycaine andycaine added the Distribution support Add / modify an (linux) distribution label Feb 21, 2023
@github-actions
Copy link

@github-actions github-actions bot added the released Pull Request released | Issue is fixed label Feb 21, 2023
@hasezoey
Copy link
Member

@andycaine can you confirm that 8.11.5 gives the correct URL's for Oracle Linux?

@andycaine
Copy link
Author

@hasezoey yep 8.11.5 works as expected. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Distribution support Add / modify an (linux) distribution released Pull Request released | Issue is fixed
Projects
None yet
Development

No branches or pull requests

2 participants