?
Solved

Difference between rhn-profile-sync & yum

Posted on 2014-12-13
2
Medium Priority
?
695 Views
Last Modified: 2014-12-28
Redhat emailed us the following to update/patch our affected RHEL servers.

 * 'up2date -p' (on Enterprise Linux systems prior to RHEL5)
 * 'rhn-profile-sync' (on Enterprise Linux 5 or later)

Q1:
What's the diff betw rhn-profile-sync & yum?

Q2:
Which one will not cause the version of the Linux to be upped?

Q3:
Which one is least likely to break apps?

Q4:
how can I track what's being changed after the sync or yum?
0
Comment
Question by:sunhux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 1400 total points
ID: 40498019
What's the diff betw rhn-profile-sync & yum?

rhn-profile-sync will update your system information to the red hat network or red hat satellite if you are using that
yum is the tool used by multiple distributions (red hat, cent os, fedora) for installing, updating, upgrading packages

Which one will not cause the version of the Linux to be upped?

yum
rhn-profile-sync only updates the info on your system as far as installed packages; yum does the actual updates

Which one is least likely to break apps?

yum does the updating; depending on what you have installed, it could break apps if a certain version of a library is installed and the upgraded version could break the app.  rhn-profile-sync doesn't do anything with installed packages aside from reporting to RHN what is installed

how can I track what's being changed after the sync or yum?

you can look at /var/log/yum.log though depending on what distribution you have, yum has a new history option (as of version 3.2.29).  do rpm -qa | grep yum to check the version; if it is that version or later, you can do yum history and it will show you history of what was done to the system.  again, rhn-profile-sync doesn't change anything on your system
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 600 total points
ID: 40498872
A2: You need to rhn_register with AUS/EUS enabled and redhat-release will never be touched.
A3: what are those "apps" - java or COTS products are tested by redhat, homebrew can be tested and if needed recompiled before upgrades.
A4: yum writes logs, rhn_ and up2date skips writing them, you must see them in your RHN/Satellite pages.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question