Check out the new USENIX Web site. Next: Future Plans Up: LCFG in Action Previous: Upgrading Software

Adding a New Subsystem

The modular nature of the LCFG scripts means that it is very easy to add a script to control a new subsystem, and this will often start with a copy of an existing script. The script should use the provided routines to load the required resources into shell variables. It might then start a daemon with this configuration, or it might simply generate a configuration file and allow something else to start any daemon (See example 8). The script itself would then be loaded onto all the necessary machines by including its RPM in the appropriate configurations, and it would be immediately available for use. Adding the subsystem to the boot resources would cause it to start automatically on the corresponding machines:

boot.services ANDALSO(myservice)
myservice.key value
myservice.key value



Paul Anderson & Alastair Scobie