DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
LKP System Management

Enabling Linux rc.d Scripts

A UNIX-side startup script, found in /etc/rc2.d/S99linuxrc and /etc/rc0.d/K99linuxrc, runs selected Linux-side rc.d scripts on system boot. An exception list is provided in /etc/default/linuxrc (/unixware/etc/default/linuxrc); to enable a Linux-side rc.d script, remove it's identifier from the list in /etc/default/linuxrc. For example, to enable the Linux-side Apache, ensure that httpd does not appear in the file.

The format of the file is a simple listing of Linux subsystems, one per line. Each listed subsystem is ignored on system boot - that is, if there is a Linux rc.d/rc?.d/S* file for the subsystem, then that startup script is not run. Similarly, on shutdown, if there is a Linux rc.d/rc?.d/K* file for the subsystem, the shutdown script is not run.

Linux subsystems not listed in this file are started when the UNIX system boots, and stopped when the UNIX system shuts down.

For example, Linux has rc2.d/*/S15named and K85named files. However, UNIX already has a named daemon, and so trying to start another under LKP is a mistake. An entry named in this file stops that from happening.

When enabling Linux-side daemons, care must be taken to disable similar daemons on the Unix side to prevent resource conflicts. For example, in the case of Apache, you would want to disable any software on the Unix side that might also use port 80 or any other port served by the Linux-side Apache.

If you add a new daemon to the Linux system which does not conflict with an existing UNIX one, there is no need to make any change to this file. Otherwise, you can either stop the UNIX daemon from starting, or add an entry to this file to stop the Linux one from starting.

In general, this file exists largely to prevent a large number of standard Linux system daemons which are duplicates of standard UNIX ones from trying to start on system boot.

Lines beginning with a pound sign (#) in this file are comment lines, and are ignored. Blank lines are also ignored.


Next topic: Adding a device
Previous topic: Configuration

© 2002 Caldera International, Inc. All rights reserved.
UnixWare 7 Release 7.1.3 - 17 October 2002