Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-28-2019, 06:48 PM   #1
LQ Newbie
Registered: May 2019
Posts: 3

Rep: Reputation: Disabled
Question More /etc/redhat-release and subscription-manger list return different linux versions

I am researching a CVE. The CVE contains a patch for rhel 7.5 but not 7.6. I signed in to each of my linux VMs and issued more /etc/redhat-release and subscription-manger list commands. More returns a 7.5 version but the subscription manager returns 7.6. I have no idea which one to trust or why they are different. I searched many sites but didn't find anything definitive. So I am unsure to recommend the upgrade to skip the patch or do the patch. Guidance is appreciated.
Old 05-28-2019, 07:59 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,700

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
I think the /etc/redhat-relase is probably correct; try 'lsb_release -d' as well.
Looking at options at the bottom of the page, I think that probably just shows what you could have...

That being said, if you are running RHEL, you should have a subscription, which means you get support included, so you should really ask them if you are not sure.
2 members found this post helpful.
Old 05-29-2019, 09:10 AM   #3
LQ Newbie
Registered: May 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up I'll try your command

Thanks chrism01! I will try your command. I did try to ask a question on the red hat community support page but got access denied. I believe one of the other developers has access. I do plan to ask red hat just to be sure.
Old 05-29-2019, 10:28 AM   #4
LQ Newbie
Registered: May 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up lsb_release -d works in 7.6 not 7.5

I tried your lsb_release command in all my environments. Consistently the command did not work in 7.5 but did in 7.6. I found a link to install the package that has the command but expect that these environments will upgrade to 7.6 anyway. Thank you for your response. I admit I did not expect to get one.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list 221B Linux - Newbie 6 09-07-2017 01:14 PM
subscription-manager list no available subscription pools to list sellinikhou Red Hat 0 03-16-2016 03:50 PM
[SOLVED] Different Linux versions within different Linux distributions? White Essence Linux - Newbie 8 02-04-2013 07:00 PM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of Linux - Desktop 1 11-17-2010 09:17 AM
help in redhat window manger alrawab Linux - Software 1 12-31-2002 01:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration