|
|
Linux Updates |
SLAC Computing
UNIX at SLAC Linux at SLAC |
| Updated: 26 Mar 2007 |
Red Hat classifies its errata as security fixes, bug fixes or enhancements. As described in their Enterprise Linux Errata Support Policy, during the first three years of a major release they usually collect bug fix and enhancement errata and publish them together about once a quarter as an errata update (or just update). Enhancement errata are issued mostly to support new hardware and are strongly constrained against making incompatible changes. Security errata are published as soon as possible independently of the quarterly updates and throughout the full seven year lifetime of a major release. (In practice, Red Hat does occasionally publish critical bug fix or enhancement errata between updates; recent examples included fixes for the 2007 daylight savings time changes.)
Scientific Linux follows a similar policy for security errata, but generally does not release all bug fix and enhancement errata separately, but only in the quarterly update bundles. Scientific Linux also uses slightly different naming conventions. For example, Scientific Linux 3.0.5 corresponds to Red Hat Enterprise Linux 3 Update 5.
SCCS recommends that most taylored Linux systems should install the quarterly updates within a few weeks of their general availability. Our experience with RHEL and SL updates is that they have been well tested by the vendors and have caused very few problems when introduced at SLAC. Nevertheless, we recognize that some users will want to retain control of when an update is installed on mission critical machines; while others may want to test an update as soon as it's available at SLAC.
To accommodate these different approaches, we have defined a taylor option, os_updates, with three possible values (note that this option only affects enhancement and bug fix errata; security errata are applied promptly to all taylored machines).
To request an option other than the default ("recommended"), add the one of the above lines to the file, /etc/taylor.opts.
Kernel and glibc errata require special handling since they involve a reboot.
kernel errata. A new Linux kernel can be installed side-by-side with the current one but has no effect until it is loaded at the next system reboot. Moreover, as long as the old kernel remains installed, it is possible to intervene during the boot process and select an older kernel if there are problems with the new one.
When a new kernel errata becomes available, SCCS ensures that an AFS kernel module is available for it, installs it on a few test machines, and reboots those machines to make sure there are no serious problems. We then configure taylor to install it as the default kernel to be loaded at the next reboot. If the new kernel is classified as a security errata, a mandatory reboot is scheduled, typically about a week later (but possibly earlier if there is an active exploit of the security vulnerability).
Taylor maintains several yum configuration files on all machines to simplify the task of manually installing errata. To install the latest "recommended" set of errata, except for new kernels or glibcs, issue the command,
sudo yum upgradeTo install the latest "recommended" set of errata, including new kernels and glibcs, issue the command,
sudo yum -c /etc/yum-recommended+glibc.confYou should plan on rebooting the system immediately afterward.