LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-11-2004, 06:31 PM   #1
zatanu
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Rep: Reputation: 0
Question RHEL package selection


Hello,

Every time when I make a new RHEL ES 3 installation and I select only specific packages I end up with something completely different.
For example I don't select any of the KDE RPMs or any Server Section packages. The result is that I end up with Sendmail, Bind and KDE packages installed.
If I try to remove them using redhat-config-packages it says that are not installed. This is not true since "rpm -qa bind*" shows me that the package is in the system.
Any help will be appreciated
 
Old 09-13-2004, 03:42 AM   #2
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Rep: Reputation: 15
A lot of packages are part of the base installation, and even if you don't install them, they will still be installed because of dependencies, etc.

I'm doing two things with RHEL...

1. Installing, then removing quite a number of RPMs in the %post section of my kickstart

2. Installing a list of RPMs instead of a distribution and then additional packages

Both of these work, but they're only really practical if you're using kickstart.

If you just want to remove the packages on an installed system, create a script that does it post-installation.
 
Old 09-13-2004, 12:56 PM   #3
zatanu
LQ Newbie
 
Registered: Sep 2004
Posts: 2

Original Poster
Rep: Reputation: 0
This seems pretty bad for a "Enterprise" distribution and for $350 each year !!! Specially the fact that if you try to uninstall the package using <redhat-config-packages> you can't because it can't find some rpms.
I understand that is preferable to use kickstart when you need to build more than a server, but the default installation method should work anyway.
The worst thing is that it doesn't warn you about the packages that is going to install on top. You have to manually query for the unnecessary packages and uninstall them. This means a lot of time lost and possible security holes, since you can't control what is installed.

Could it be another way to make a clean/controlled installation using the default installation method?


Thank you for the feedback.

Zatanu
 
Old 09-14-2004, 08:40 AM   #4
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by zatanu
This seems pretty bad for a "Enterprise" distribution and for $350 each year !!! Specially the fact that if you try to uninstall the package using <redhat-config-packages> you can't because it can't find some rpms.
Don't even get me started on the overall quality of their administration tools and documentation at the moment! Just don't! Even if you use kickstart, you can still land in trouble. Whenever you install a machine, a sample kickstart file is generated. You would _assume_ that this file would work to kickstart the machine at some later point, but in RHEL AS updates 2 and 3, you'd be wrong.

In version 2, if you enabled the firewall during installation, the kickstart file would try to enable it during automated installations and just cause a python exception and die. Yet this worked for update 1 and release.

And that's what _REALLY_ gets my goat. This is a _very_ expensive product, yet when it dies, you don't get a helpful error that points you at where the problem is. Most of the time you just get a python traceback to examine and work out for yourself. That's when you find out that actually, a previous step failed to write a file, the process continued anyway, and this step tries to chmod the file (that wasn't created) without checking that it exists first - crash - read another traceback. I'm paying to debug someone else's software!

Quote:

I understand that is preferable to use kickstart when you need to build more than a server, but the default installation method should work anyway.
The worst thing is that it doesn't warn you about the packages that is going to install on top. You have to manually query for the unnecessary packages and uninstall them. This means a lot of time lost and possible security holes, since you can't control what is installed.

Could it be another way to make a clean/controlled installation using the default installation method?
About the best solution I can offer if you're looking for similar installations every time is to do almost what you'd do for the kickstart, but have it as a script that you run straight after installing machines.

Go through the machine and rpm -e every rpm that you don't want. Work out what the dependencies are and add those to the list. Once you've found all of the packages that you want to remove, setup up a script that removes them all in one rpm -e statement.

Store that script on a web / nfs / ssh server on your network, and then pull it down to each new server and run it.

If you really want to be creative, you could package this as an rpm and have it execute itself as the post section of the RPM. Then all you'd need to do would be to store this on a server and do
rpm -Uvh http://yourserver/yourrpmremovingpackage.rpm

HTH
 
Old 09-17-2004, 04:00 PM   #5
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/XP/Win7
Posts: 677

Rep: Reputation: 30
just out of interest has any one tried "piebox enterprise linux as3.0" which is supposed to be a copy of redhats "rhel" going for 20 on ebay just wandering how much you chaps paid for the real mcoy
 
Old 09-20-2004, 03:53 AM   #6
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by master
just out of interest has any one tried "piebox enterprise linux as3.0" which is supposed to be a copy of redhats "rhel" going for 20 on ebay just wandering how much you chaps paid for the real mcoy
I'm currently looking into white box linux (http://www.whiteboxlinux.org/), but I'm stuck with RHEL at work because of support issues.

List price for RHEL AS 3 is 1000.00 per server for 9x5 support with a 4 hour response time defined in the SLA.
 
  


Reply


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
package selection in Sarge jughead Debian 2 06-14-2005 01:45 PM
package selection towhalc Debian 2 07-09-2004 12:47 AM
Can i automate package selection? Stuartb21 Arch 2 02-27-2004 04:36 PM
Slackware Install kernel package selection - scsi cyberlync Slackware 2 12-05-2003 05:18 AM
Mandrake 9.x package selection iomari Mandriva 2 08-24-2003 09:55 AM


All times are GMT -5. The time now is 05:20 AM.

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