Solved

Difference between rhn-profile-sync & yum

Posted on 2014-12-13
2
613 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 350 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 150 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Linux Distro for this software 10 75
Use Powershell script to ftp 10 127
Issue with SFTP on non-root account using Guacamole  / GUAC 2 103
rsyslog raw message 4 38
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…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 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