Updating Packages
601
Note
In general, rebooting the system is the surest way to ensure that the latest version of
a software package is used; however, this option is not always available to the system
administrator.
Applications
User-space applications are any programs that can be initiated by a system user. Typically, such
applications are used only when a user, script, or automated task utility launches them and they
do not persist for long periods of time.
Once such a user-space application is updated, halt any instances of the application on the
system and launch the program again to use the updated version.
Kernel
The kernel is the core software component for the Red Hat Enterprise Linux operating system. It
manages access to memory, the processor, and peripherals as well as schedules all tasks.
Because of its central role, the kernel cannot be restarted without also stopping the computer.
Therefore, an updated version of the kernel cannot be used until the system is rebooted.
Shared Libraries
Shared libraries are units of code, such as
glibc
, which are used by a number of applications
and services. Applications utilizing a shared library typically load the shared code when the
application is initialized, so any applications using the updated library must be halted and
relaunched.
To determine which running applications link against a particular library, use the
lsof
command
as in the following example:
lsof /usr/lib/libwrap.so*
This command returns a list of all the running programs which use TCP wrappers for host access
control. Therefore, any program listed must be halted and relaunched if the
tcp_wrappers
package is updated.
SysV Services
SysV services are persistent server programs launched during the boot process. Examples of
SysV services include
sshd
,
vsftpd
, and
xinetd
.
Because these programs usually persist in memory as long as the machine is booted, each
updated SysV service must be halted and relaunched after the package is upgraded. This can be
done using the
Services Configuration Tool
or by logging into a root shell prompt and issuing
the
/sbin/service
command as in the following example:
/sbin/service
<service-name>
restart
In the previous example, replace
<service-name>
with the name of the service, such as
sshd
.
Refer to
Chapter 15, Network Configuration
for more information on the
Services Configuration
Tool
.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...