[Gllug] Router under attack: help/advice needed

Walter Stanish walter.stanish at saffrondigital.com
Fri Oct 23 08:26:17 UTC 2009


> Take the boot scripts on (generally known as SysV boot scripts, Or 
> BSD boot scripts) I'm not 100% sure where the battle line is 
> currently, its fuzzed a bit, but its still an argument that comes
> up from time to time....

On this subject, some of you may be interested in the OpenRC project...

OpenRC - universal init system
http://roy.marples.name/projects/openrc
OpenRC is a dependency based init system that works with the system
provided init program, normally /sbin/init. It is not a replacement
for /sbin/init. OpenRC is 100% compatible with  Gentoo init scripts,
which means you can probably find one for the daemons you want to
start in the  Gentoo Portage Tree. OpenRC also provides an init
script that runs BSD rc.d style scripts too, making it easy to port
your BSD system to OpenRC.

OpenRC has many features. Here's a list of the key ones :-
 * Works with  POSIX shell scripts and userland
 * Works with existing init
 * Names runlevels which can be stacked (inherited)
 * Can specify dependencies in code
 * Can run services in parallel
 * Ensures daemons really start and tracks them so you know when 
   they've crashed
 * Services can be re-entrant (important for the network being 
   configured in the background)
 * Colourised output - and trivial to use in init scripts
 * Can log entire console output of bringing the system up, to aid
   any debugging (not necessarily OpenRC debugging)
 * Support for Gentoo, FreeBSD and NetBSD out of the box
 * Support for variety of architectures including i386, amd64, ppc
   and sparc64
 * Provides an API for any shell script or C program to use OpenRC
   colourisation and service manipulation
 * Every userland program and library function has a man page
 * It's fast - 29 seconds to boot my laptop running Gentoo Linux
 * Available as a  2-clause BSD license


Go forth and hack runlevels!

- Walter
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list