Xinetd and TFTP
197
2. Then, the administrator creates a class called
PXE
, which, if a system that is configured to have
PXE first in its boot priority, identifies itself as
PXEClient
.
3. Then DHCP server then directs the system to the Cobbler server at 192.168.2.1.
4. Finally, the DHCP server refers to the boot image file (in this case, at
/var/lib/tftpboot/
pxelinux.0
.
11.1.4. Xinetd and TFTP
Xinetd is a daemon that manages a suite of services, including TFTP, the FTP server used for
transferring the boot image to a PXE client.
To configure TFTP, you must first enable the service via Xinetd. To do this, edit the
/etc/xinetd.d/
tftp
as root and change the
disable = yes
line to
disable = no
.
Before TFTP can start serving the
pxelinux.0
boot image, you must start the Xinetd service.
chkconfig --level 345 xinetd on
/sbin/service xinetd start
The
chkconfig
command turns on the
xinetd
service for all user runlevels, while the
/sbin/
service
command turns on
xinetd
immediately.
11.1.5. Configuring SELinux and IPTables for Cobbler Support
Red Hat Enterprise Linux is installed with SELinux support in addition to secure firewall enabled
by default. To properly configure a Red Hat Enterprise Linux server to use Cobbler, you must first
configure these system and network safeguards to allow connections to and from the Cobbler Server.
11.1.5.1. SELinux Configuration
To enable SELinux for Cobbler support, you must set the SELinux boolean to allow HTTPD web
service components. Run the following command as root on the Cobbler server:
setsebool -P httpd_can_network_connect true
The
-P
switch is essential, as it enables HTTPD connection persistently across all system reboots.
You must also set SELinux file context rules to ensure Cobbler properly functions in an SELinux
system.
Run the following as root on the Cobbler server:
semanage fcontext -a -t public_content_t "var/lib/tftpboot/.*"
The command sets file context for TFTP to serve the boot image file.
Summary of Contents for NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Page 32: ...20 ...
Page 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Page 168: ...156 ...
Page 180: ...168 ...
Page 216: ...204 ...
Page 232: ...220 ...
Page 248: ...236 ...
Page 260: ...248 ...
Page 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Page 310: ...298 ...
Page 318: ...306 ...