Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle-linux version

User_BLF1ZSep 3 2019 — edited Sep 3 2019

Hello,

How can I be sure which Oracle Linux release I'm running, other then by "cat /etc/oracle-release"?

I've got a third party company installing the OS on a server, and it supposed to be Oracle Linux 7.5.

After the installation was done, we noticed that it was on Oracle Linux 7.7 though.

We asked them to review it, and they claimed that they've changed the kernel back to distribution 7.5.

According to the following outputs, can we really be running Oracle-Linux 7.5?

# awk -F\' /^menuentry/{print\$2} /etc/grub2.cfg

Oracle Linux Server (4.1.12-124.30.1.el7uek.x86_64 with Unbreakable Enterprise Kernel) 7.7

Oracle Linux Server (4.1.12-112.16.4.el7uek.x86_64 with Unbreakable Enterprise Kernel) 7.7

Oracle Linux Server (3.10.0-1062.el7.x86_64 with Linux) 7.7

Oracle Linux Server (3.10.0-862.el7.x86_64 with Linux) 7.7

Oracle Linux Server (0-rescue-8c6434b68d214e6bb94f8ae5c934340d with Linux) 7.7

# cat os-release

NAME="Oracle Linux Server"

VERSION="7.7"

ID="ol"

ID_LIKE="fedora"

VARIANT="Server"

VARIANT_ID="server"

VERSION_ID="7.7"

PRETTY_NAME="Oracle Linux Server 7.7"

ANSI_COLOR="0;31"

CPE_NAME="cpe:/o:oracle:linux:7:7:server"

HOME_URL="https://linux.oracle.com/"

BUG_REPORT_URL="https://bugzilla.oracle.com/"

ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"

ORACLE_BUGZILLA_PRODUCT_VERSION=7.7

ORACLE_SUPPORT_PRODUCT="Oracle Linux"

ORACLE_SUPPORT_PRODUCT_VERSION=7.7

# cat /proc/version

Linux version 4.1.12-112.16.4.el7uek.x86_64 (mockbuild@) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16.0.3) (GCC) ) #2 SMP Mon Mar 12 23:57:12 PDT 2018

# uname -r

4.1.12-112.16.4.el7uek.x86_64

# cat /etc/oracle-release

Oracle Linux Server release 7.5

The problem is: in the 'history', there's a line with: "vi /etc/oracle-release". So my concern is that the release was "forced back" to 7.5 by manually modifying file /etc/oracle-release.

So, again, how can I be sure which Oracle Linux release I'm running, other then by "cat /etc/oracle-release" (since it MIGHT've been modified)?

This post has been answered by Nik on Sep 3 2019
Jump to Answer
Comments
Post Details
Added on Sep 3 2019
2 comments
22,935 views