Outline for RPM and AutoRPM based Upgrade Presentation to COLUG
02/26/2000.
Presented by Phil Hunter <hunter@owlriver.com>
- RPM Introduction
- What is RPM
RPM website
- Origination
Thank you, Red Hat, Pacific Hi-Tech (now TurboLinux)
- Current Uses in Linux-dom Today
- Reference materials - primary sources
- RPM website, supra
- AutoRPM website, supra
- Maximum
RPM
By author Ed Bailey, at Red Hat.
- ... getting a bit dated, but the baseline book
- Available as a postscript file at RPM website
... can we get a build in GenericBooks.Com ?
- 'rpm-list' mailing list
- 'autorpm-list' mailing list
- Why
- Cross-platform from a single set of sources and patches
- Pristine sources used
- Version control
- Support load management
The end customer site can quickly be checked for compromise, or
'tinkering' with binaries, or configuration files. If there is
a problem, it can be reliably uninstalled and reinstalled to a known
status.
- Accountability
Signing, authorship, and packager information are readily available
- Verification and Security
- Tripwire analogue, although can be subverted with effort
- ... more prompt installation of security fixes ... The RedHat
intra-distribution releases are almost all security
related [some relate to major SNAFU's in packages, not caught in
BETA testing.]
- Upgradability
Red Hat versions since 3.0.3 (ca. 1996) can be seamlessly
moved to the current release level.
... Our demo today
[We will build and bump several boxes]
Note: Red Hat itself, in its CD based upgrades does NOT honor
the principle of not using the --force option. This is probably in
the interest of avoiding support load. Their disk based upgrade
procedure requires a reboot, from CD or floppy.
Owl River Company [ORC]
technical support is the most 'vocal' advocate of 'hot box' upgrades
on the RPM-list. The presentation today is representative of
support approach of ORC, which is initially more 'expensive' in
terms of sysadmin time,
but MUCH more 'correct' to RPM design goals. The 'payback' of
such an approach is that the proprietary ORC host management tools
will thereafter manage 'by exception' the day-to-day host task
supervision load in a production environment.
- Competing approaches
- Third party documents - secondary sources
(This section added 000804)
------------------------------------------
cookbook: (clip and save)
to rebuild a SRPM on a local machine:
cd /usr/src
# (A convenient place to stash unbuilt SRPMs)
rpm -Uvh fetchmail-5.4.4-1.src.rpm
rpmbuild -ba /usr/src/redhat/SPECS/fetchmail{-hit TAB key-}
# (It builds)
# (Note where the result is)
rpm -Uvh /usr/src/redhat/RPMS/i386.fetchmail-5.4.4-1.rpm
(http://www.colug.net/notes/0002mtg/show.php3?file=RPM_UG_outline.html)
init. 000228 -- Phil Hunter -- Copyright (c) 2000
All rights reserved. hunter@owlriver.com
last rev. 020502