cinit: remove old stuff

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-09-22 22:19:45 +02:00
parent 0f4af9401b
commit c3336b1153
1003 changed files with 3 additions and 1773 deletions

View file

@ -161,6 +161,9 @@ You can join the development ***IRC channel***
* <a href="http://www.initng.org/">initng</a>
* <a href="http://www.fefe.de/minit/">minit</a>
* <a href="http://smarden.org/runit/">runit</a>
* <A HREF="http://www.atnf.csiro.au/~rgooch/linux/boot-scripts/">simpleinit</a>
* <a href="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/">sysvinit</a>
* <A HREF="http://www.netsplit.com/blog/work/canonical/upstart.html">upstart</A>
[[!tag unix]]

View file

@ -1,27 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../index.html">unix.schottelius.org</A>
<BR><A HREF="index.html">cinit</A></P>
<HR>
<h1>Get cinit</h1>
<ul>
<li>The recommend way is to use <A HREF="archives.html#latest">the
latest <B>source tarball</B></A>.
<li>If you want the <B>latest development version</B>, get it via
<A HREF="../git/">git repository</A> (project name is "cLinux/cinit.git").
<ul>
<li>cg-clone http://unix.schottelius.org/git/cLinux/cinit.git
</ul>
<li>A (currently outdated) <B>Debian</B> package for x86 is also
<A HREF="archives.html#debian">available</A>.
<li><B>Gentoo</B> has cinit in its portage, use <B>emerge cinit</B>.
</ul>
<!-- ##################################################### -->
</BODY>
</HTML>

View file

@ -1,29 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../index.html">unix.schottelius.org</A>
<BR><A HREF="index.html">cinit</A></P>
<HR>
<h1>Links</h1>
<h3>Other init systems</h3>
<ul>
<li>BSD init systems (same codebase):
<a href="http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/init/">FreeBSD</a>,
<a href="http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/init/">NetBSD</a>,
<a href="http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/init/">OpenBSD</a>
<li><a href="http://www.initng.org/">initng</a>
<li><a href="http://www.fefe.de/minit/">minit</a>
<li><a href="http://smarden.org/runit/">runit</a>
<li><a href="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/">sysvinit</a>
</ul>
<h3>Sites reporting about cinit</h3>
<UL>
<li><A HREF="http://enterprise.linux.com/article.pl?sid=06/04/13/173227&from=rss">Boot faster with parallel starting services (By Mark Alexander Bain)</A>
</ul>
</BODY>
</HTML>

View file

@ -1,49 +0,0 @@
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.3 0.0 564 116 ? S 02:50 0:02 /sbin/cinit
root 2 0.0 0.0 0 0 ? SN 02:50 0:00 [ksoftirqd/0]
root 3 0.1 0.0 0 0 ? S< 02:50 0:01 [events/0]
root 4 0.0 0.0 0 0 ? S< 02:50 0:00 \_ [khelper]
root 5 0.0 0.0 0 0 ? S< 02:50 0:00 \_ [kacpid]
root 32 0.0 0.0 0 0 ? S< 02:50 0:00 \_ [kblockd/0]
root 42 0.0 0.0 0 0 ? S 02:50 0:00 \_ [pdflush]
root 43 0.0 0.0 0 0 ? S 02:50 0:00 \_ [pdflush]
root 45 0.0 0.0 0 0 ? S< 02:50 0:00 \_ [aio/0]
root 5312 0.0 0.0 0 0 ? S< 02:57 0:00 \_ [reiserfs/0]
root 44 0.0 0.0 0 0 ? S 02:50 0:00 [kswapd0]
root 295 0.0 0.0 0 0 ? S 02:50 0:00 [kjournald]
root 5163 0.0 0.0 584 148 ? S 02:55 0:00 /sbin/cinit
root 5164 0.0 0.0 596 164 ? S 02:55 0:00 \_ /sbin/cinit
root 5250 0.0 0.1 1756 716 ? S 02:57 0:00 \_ /usr/sbin/cron -f
root 5176 0.0 0.0 600 164 ? S 02:55 0:00 /sbin/cinit
root 5177 0.0 0.2 1840 812 ? S 02:55 0:00 \_ /sbin/syslog-ng -F
root 5200 0.0 0.0 600 168 ? S 02:55 0:00 /sbin/cinit
root 5201 0.0 0.4 3468 1504 ? S 02:55 0:00 \_ /usr/sbin/sshd -D
root 5220 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5238 0.0 0.1 1500 488 tty2 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty2 linux
root 5222 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5223 0.0 0.1 1500 488 tty3 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty3 linux
root 5226 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5227 0.0 0.1 1500 488 tty5 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty5 linux
root 5230 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5231 0.0 0.1 1500 488 tty6 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty6 linux
root 5234 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5235 0.0 0.1 1500 488 tty7 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty7 linux
root 5240 0.0 0.0 600 164 ? S 02:57 0:00 /sbin/cinit
root 5241 0.0 0.1 1500 488 tty4 Ss+ 02:57 0:00 \_ /sbin/getty 38400 tty4 linux
root 5326 0.0 0.0 600 168 ? S 02:57 0:00 /sbin/cinit
root 5327 0.1 0.6 8920 2328 ? S 02:57 0:00 \_ /usr/bin/gdm -nodaemon
root 5445 0.1 0.7 9268 2780 ? S 02:57 0:00 \_ /usr/bin/gdm -nodaemon
root 5663 6.1 2.5 29140 9492 ? S 02:57 0:10 \_ /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt8
nico 5987 1.5 0.8 4716 3040 ? Ss 02:58 0:02 \_ /usr/bin/ion3
nico 6054 0.0 0.2 2988 932 ? Ss 02:58 0:00 \_ /usr/bin/ssh-agent /usr/bin/ion3
nico 6061 0.0 0.0 0 0 ? Z 02:58 0:00 \_ [ion-completefil] <defunct>
nico 6062 0.2 0.2 1892 796 ? S 02:58 0:00 \_ /usr/lib/ion3/ion-statusd -c /home/nico/.ion3/default-session--0/cfg_statusd.lua -M date -M load -M mail
nico 6064 0.8 0.4 3596 1840 ? S 02:58 0:01 \_ x-terminal-emulator
nico 6065 0.4 0.4 3432 1684 pts/0 Ss 02:58 0:00 | \_ zsh
nico 6282 0.0 0.2 2488 832 pts/0 R+ 03:00 0:00 | \_ ps axuwwwf
nico 6277 0.7 0.4 3596 1796 ? S 02:59 0:00 \_ x-terminal-emulator -T ssh creme.schottelius.org -e /usr/share/ion3/ion-runinxterm -phase2 ssh creme.schottelius.org
nico 6278 0.0 0.3 2740 1248 pts/1 Ss+ 02:59 0:00 \_ /bin/sh /usr/share/ion3/ion-runinxterm -phase2 ssh creme.schottelius.org
nico 6279 1.5 0.5 4136 1940 pts/1 S+ 02:59 0:01 \_ ssh creme.schottelius.org
root 5421 0.0 0.0 580 140 ? S 02:57 0:00 /sbin/cinit
root 6256 0.0 0.0 600 168 ? S 02:58 0:00 /sbin/cinit
root 6257 0.0 0.2 2380 912 ? S 02:58 0:00 \_ /sbin/dhclient -d eth0

View file

@ -1,38 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../index.html">unix.schottelius.org</A>
<BR><A HREF="index.html">cinit</A></P>
<HR>
<h1>Old news</h1>
<ul>
<li><b>2006-10-31</b>: Released
<A HREF="archives.html#cinit-0.3pre1">cinit 0.3pre1</A> today!
<li><b>2005-10-28</b>: Added a new
<A HREF="vortrag/2005-10-22/">speech</A>
<li><b>2005-10-14</b>: Frederic Jaeckel setup a
<A HREF="http://wiki.clinux.info">Wiki for cinit and cLinux</A>
(NOT in use anymore)
<li><b>2005-09-19</b>: cinit is available via
<A HREF="http://git.or.cz/">git</A>. Have a look at
the <A HREF="#git">git section below</A> and the
<A HREF="http://unix.schottelius.org/cgi-bin/gitweb.cgi?p=cLinux/cinit.git">gitweb</A>.
<li><b>2005-08-20</b>: Since today, there is a
<A HREF="#mailing-list">mailing list available</A>
<li><b>2005-08-06</b>: Today has been an
<A href="vortrag/2005-08-06">online speech about cinit in German</A>.
<li><b>2005-06-23</b>: Added <A HREF="archives.html#debian">debian package</A>
<li><b>2005-06-20</b>: Since now (version 0.0.8) cinit is in
<A HREF="http://www.gentoo-portage.com/sys-apps/cinit">gentoo's portage</A>
(look at the
<A HREF="http://bugs.gentoo.org/show_bug.cgi?id=96381">bug report</A>
and at the
<A HREF="http://packages.gentoo.org/ebuilds/?cinit-0.0.8">ebuild info</A>).
</ul>
</BODY>
</HTML>

View file

@ -1,25 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../index.html">unix.schottelius.org</A>
<BR><A HREF="index.html">cinit</A></P>
<HR>
<h1>Other init implementations</h1>
<UL>
<li><A HREF="http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/init/">FreeBSD init</A>
<li><A HREF="http://initng.thinktux.net/index.php/Main_Page">initng</A>
<li><A HREF="http://john.fremlin.de/programs/linux/jinit/">jinit</A>
<li><A HREF="http://www.fefe.de/minit/">minit</A>
<li><A HREF="http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/init/">NetBSD init</A>
<li><A HREF="http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/init/">OpenBSD init</A>
<li><A HREF="http://smarden.org/runit/">runit</A>
<li><A HREF="http://www.atnf.csiro.au/~rgooch/linux/boot-scripts/">simpleinit</A>
<li><A HREF="http://www.netsplit.com/blog/work/canonical/upstart.html">upstart</A>
</ul>
</BODY>
</HTML>

View file

@ -1,72 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../index.html">unix.schottelius.org</A>
<BR><A HREF="index.html">cinit</A></P>
<HR>
<h1><A NAME="out">Open unassigned Tasks</a></h1>
These are tasks that should be done, but no one is working on them currently.
If you have some programming experience and want to take a task simply contact
me or somenone on <A HREF="irc://irc.freenode.org/#cLinux">#cLinux</A>.
Those tasks, which are finished can be found on the
<A HREF="cat.html">closed assigned tasks</A> page.
<ol>
<li>Writing the tool "<b>cinit.graph.graphic</b>" which visualizes the
dependency tree in a graphic.
<BR>It should print the service dependency hierarchy: At the
top should be the init directore (/etc/cinit/svc/init or if given on
command line: The starting profile [cprofile=home]) and then below it
should be printed the pyramide of dependency.
<BR>Output should be PNG and SVG. One should be able to switch between
PNG and SVG via command line (like -t and --type png or svg).
<li><b>porting cinit</b> - currently cinit is Linux specific:
<ul>
<li>The tempfs setting will most likely be Linux specfic (conf/*tmp*)
as the mount call is.
</ul>
One would have to change cinit
<ul>
<li>to use os-specific mount parameters / call and use the specfic
tempfs
</ul>
You are free to implement it and make a patch available, which
<ul>
<li>is either maintained outside of cinit (like the openssh guys do)
<li>or which incorporates cleanly into cinit (use conf/*, bin/* to
configure, try to avoid ugly #ifdefs)
</ul>
The main parts to change in cinit would be:
<ul>
<li>changing serv/cinit.c to allow different mount calls
<li>changing conf/*tmp* to fit to the unix you use
<li>or add a script to bin/, which sets conf/*tmp* depending on
the output of uname -s
</ul>
<li><B>Writing a HOWTO</B> install, configure and use cinit.
It should be understandable by people which never touched cinit
before. The format should be anything which can be read or
converted easily
(<A HREF="http://nico.schotteli.us/papers/linux/cconfig/">cconfig</A>
variant or LaTeX for documentation?).
Or the howto should be written in the
<A HREF="http://wiki.clinux.info/index.php/Cinit">wiki</A>
(currently down, contact me in #cLinux, irc.freenode.org)
<li><B>Preparing cinit-master-configuration</B>, a clean configuration, which
may be used by a cinit-config program to extract a service to
the real configuration directory. Access should be done via
git or similar to allow different people to upload their configuration.
<li><B>Programming cinit-config</B>, a program, most likely a gui
(dialog based?), which helps people to configure cinit. Perhaps
using a/the master configuration and prompting the user to configure
a template and copy the result + needs to /etc/cinit then.
<li><B>Programming convert tools</B>, to convert other init systems
automatically to cinit (see
<A HREF="browse_source/cinit-0.1/doc/merging.other.initsystems">cinit-0.1/doc/merging.other.initsystems</A>).
</ol>
</BODY>
</HTML>

View file

@ -1,5 +0,0 @@
This directory contains configuration examples from
'denkbrett' which is Nico Schottelius' main notebook.
It's a x86 Linux notebook, so x86 and Linux specific
services will be loaded (like acpid, udev).

View file

@ -1 +0,0 @@
shell running, getty missing

View file

@ -1,3 +0,0 @@
getty on tty2 running, but displays
"Unable to determine your tty name".
Possibly problem with empty /dev.

View file

@ -1,2 +0,0 @@
Added fsck for root filesystem
and added (currently) unneeded /proc service.

View file

@ -1,2 +0,0 @@
Added needs /proc to getty/1 and 2.
Now we can login through getty!

View file

@ -1,2 +0,0 @@
Added service "network/hostname" and added it as wants to
the gettys.

View file

@ -1,3 +0,0 @@
Added respawn to the rescue-shell and the gettys.
Also added TERM=linux so agetty can pass that to
the shell.

View file

@ -1,3 +0,0 @@
Added eth0 and a driver loader as well as added it
to the init list. If everything goes well, I'll have
dynamic network running after reboot :-)

View file

@ -1 +0,0 @@
Added luksopen and dm_crypt support. UNTESTED.

View file

@ -1,2 +0,0 @@
Added acpid, removed luksopen currently from the dependency
list.

View file

@ -1 +0,0 @@
Added support for the loopback device (network/loopback).

View file

@ -1,3 +0,0 @@
Added two more getties: getty/3 and getty/4 and added
them to init/needs. And yes, this configuration is in
use on my production system :-)

View file

@ -1,3 +0,0 @@
Added unicode_start/stop and made it wants for gettys.
Added the sys-v-init-udev-script to init/wants, I am currently
to lazy to reimplement the whole udev bunch. Anyone else? ;-)

View file

@ -1 +0,0 @@
Sleep before kill decreased to 2.

View file

@ -1 +0,0 @@
Added support for cpufreq (ondemand) on IBM T60.

View file

@ -1 +0,0 @@
- Added mount /proc as requirement for acpid!

View file

@ -1 +0,0 @@
- Added dmesg -n1 so there's less noise on startup.

View file

@ -1,7 +0,0 @@
- Added needs:
unicode / console: /proc
udev: /proc
syslog-ng: mount/root
- fixed mount/root/fsck: missed "then"

View file

@ -1 +0,0 @@
- Added respawn for syslog-ng

View file

@ -1,2 +0,0 @@
Add TERM=linux to console-unicode and also depend it on udev so
devices are existing.

View file

@ -1 +0,0 @@
acpid needs to write to /var/run!

View file

@ -1,2 +0,0 @@
chmod a+r *
rsync -av ./ nico@home.schottelius.org:unix/cinit/samples/cinit-0.3/denkbrett/

View file

@ -1,3 +0,0 @@
DIR=~nico/projekte/cinit/configs/denkbrett/
rsync -av ./ "$DIR"
chown nico "$DIR"/*

View file

@ -1,102 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>unix.schottelius.org</title>
</HEAD>
<BODY>
<P><A HREF="http://nico.schotteli.us">Nico Schottelius</A>
<BR><A HREF="../../index.html">unix.schottelius.org</A>
<BR><A HREF="../index.html">cinit</A></P>
<HR>
<H1>cinit configuration examples</H1>
<HR>
<!-- ##################################################### -->
<h3><A NAME="overview">overview</A></h3>
<P><A HREF="#ei">ei</A>
<BR><A HREF="#pc-it-nico">pc-it-nico</A>
<BR><A HREF="#scice">scice</A>
<BR><A HREF="#hydrogenium">hydrogenium</A>
<BR><A HREF="#wasserstoff">wasserstoff</A>
</P>
<!-- ##################################################### -->
<h3><A NAME="ei">ei (ppc-gentoo-iBook)</A></h3>
This <A HREF="ppc/ei/">ppc configuration</A>
was made on my small, broken G3-iBook. It has the following
services enabled:
<ul>
<li>Cleaning /etc/mtab, /var/run, /tmp
<li>Configuring keyboard: Rate and Layout (<B>dvorak</b>)
<li>Hostname is set to 'cinit-host'
<li>Local MTA (<B>qmail</B>) (found in /usr/packages/qmail-1.03-ssl/) using env + params
<li>Mount /home via dm-crypt (/dev/hda7)
<li>Mount /mnt/clinux
<li>Mouse-Button-emulation is enabled (Apple has only one button)
<li>Power Management (<B>pbbuttonsd</b>)
<li>Restoring / storing sound mixer values (<b>alsactl</b>)
<li>Setup clock (using hardware clock) (loads genrtc)
<li>Setup eth0 with a dynamic IP (udhcpc) fallback via udhcpc-scripts
<li>Spawns Getty (/sbin/getty) on tty2-tty7 (tty1 is for logging)
<li>SSH (<B>openssh</b>)
<li>Syslog service (<b>metalog</b>)
<li>Udev support
</ul>
<!-- ##################################################### -->
<h3><A NAME="pc-it-nico">pc-it-nico (x86-gentoo-UML)</A></h3>
<P>This is a somehow <A HREF="x86/pc-it-nico/">minimalistic configuration</A>:
<ul>
<li>Cleaning /etc/mtab, /var/run, /tmp
<li>Configuring keyboard: Rate and Layout (<B>dvorak</b>)
<li>Hostname is set to 'cinit-host'
<li>Mount root r/w
<li>Spawns Getty (/sbin/getty) on tty2-tty7 (tty1 is for logging)
<li>SSH (<B>openssh</b>)
<li>Udev support
</ul>
This configuration was used to test cinit in UML (User-Mode-Linux).
<!-- ##################################################### -->
<h3><A NAME="scice">scice (x86-debian-notebook)</h3>
<P>I use <A HREF="x86/scice/">this configuration</A> on my Transmeta notebook on
Debian Sarge:
<ul>
<li>Cleaning /etc/mtab, /var/run, /tmp
<li>Configuring keyboard: Rate and Layout (<B>dvorak</b>)
<li>Cron (<b>Vixie cron</b>)
<li>Deactivated services (syslogd, test/, atd, ...)
<li>Graphical login (<b>gdm</b>)
<li>Hostname is set to 'cinit-host'
<li>Hotplug (<B>SLOW!</b>) (automatic driver loading)
<li>MTA (<B>exim4</B>)
<li>Restoring / storing sound mixer values (<b>alsactl</b>)
<li>Setup eth0 with a dynamic IP (dhclient)
<li>Spawns Getty (/sbin/getty) on tty2-tty7 (tty1 is for logging)
<li>SSH (<B>openssh</b>)
<li>Syslog service (<b>syslog-ng</b>)
<li>Udev support
</ul>
<!-- ##################################################### -->
<h3><A NAME="hydrogenium">hydrogenium (x86-debian-notebook)</h3>
<P><A HREF="x86/hydrogenium/">Hydrogenium</A> is my current work-notebook.
<UL>
<li>Spawns Getty (/sbin/getty) on tty2-tty8 (tty1 is for logging)
<li>Syslog service (<b>metalog</b>)
<li><b>udev</b> support - most clean configuration, uses /sbin/udevsend
<li>Local MTA (<B>qmail</B>) (found in /usr/packages/qmail-1.03-ssl/)
using qmail-start
<li>SSH (<B>openssh</b>)
<li>Power management with <b>acpid</b>
<li>Setup eth0 with a dynamic IP (udhcpc)
<li>Mounts /sys, /proc, / (r/w with fsck for jfs)
<li>Unicode and console font beeing loaded (since 20051103)
<li>Currently broken lukscrypt
</UL>
<BR>
<!-- ##################################################### -->
<h3><A NAME="wasserstoff">wasserstoff (x86-gentoo-notebook)</h3>
<P>I use the first /etc/csys configuration
on <A HREF="x86/wasserstoff/">wasserstoff</A>.
It is a try for a simply system configuration without the need to parse
configurations. But it's still in the early pre-alpha phase.
</BODY>
</HTML>

View file

@ -1 +0,0 @@
This is the configuration I use to test on my iBook named 'ei'.

Some files were not shown because too many files have changed in this diff Show more