1 |
On Sat, 13 Dec 2003, Peter S. Mazinger wrote: |
2 |
|
3 |
> On Fri, 12 Dec 2003 david@×××××××××.com wrote: |
4 |
> |
5 |
> > On Thu, Dec 11, 2003 at 11:07:25PM +0100, Peter S. Mazinger wrote: |
6 |
> > > On Thu, 11 Dec 2003 david@×××××××××.com wrote: |
7 |
> > > |
8 |
> > > > On Tue, Dec 09, 2003 at 10:09:51PM +0100, Peter S. Mazinger wrote: |
9 |
> > > > > Not in busybox, but you'll find it on http://www.fefe.de/minit/ and there |
10 |
> > > > > is a link to another explanation (attached) and configs. |
11 |
> > > > > |
12 |
> > > > |
13 |
> > > > wow, minit is really cool.... from the docs page: |
14 |
> > > > |
15 |
> > > > "Minit puts all its configuration-files into /etc/minit by default, but |
16 |
> > > > you can change that very easy. Minit brings two companion utilities |
17 |
> > > > with it: msvc and pidfilehack. msvc can start and stop processes just |
18 |
> > > > like svc from the daemontools. pidfilehack can be used to run daemons |
19 |
> > > > like ssh, read the PID and tell minit this PID so minit will know when |
20 |
> > > > sshd exits and can restart it." |
21 |
> > > > |
22 |
> > > > looks like everything we need is already taken care of with minit... |
23 |
> > > > |
24 |
> > > > * special config info for each service can be set |
25 |
> > > > * dependancies |
26 |
> > > > * specific CLI switches(parameters) for each service |
27 |
> > > > * tracking of run away services(go find th pid!) |
28 |
> > > > * logging |
29 |
> > > > |
30 |
> > > > I've got some things that I've been working with, and I figure adding |
31 |
> > > > minit would be a good little test. I'll post my results in the next |
32 |
> > > > couple of days. |
33 |
> > > I have already a busybox based version of the startup files (busybox ash |
34 |
> > > scripts) the only non-busybox utility is devfsd (I do not know how the |
35 |
> > > /etc/devfsd.conf should look like to conform to busybox's devfsd needs |
36 |
> > > Interested? I'll send you a tarball of my /etc/minit. |
37 |
> > > |
38 |
> > |
39 |
> > sure sounds good. I also found some example stuff on the minit |
40 |
> > website here: http://www.fefe.de/minit/minit-data.tar.bz2 |
41 |
> > |
42 |
> > more exmaples are always fun! |
43 |
> Here it comes. Not everything is checked, rewritten, because I first |
44 |
> copied another version and adapted afterwards for my needs. Check |
45 |
> default, that is working. All those using using #!/bin/busybox <some |
46 |
> command> are working, tested (I wanted to enforce the busybox usage, |
47 |
> because I had the "original" stuff too. As you'll see, I had problems |
48 |
> with devfsd (this is "original", not busybox version, because I could not |
49 |
> adapt the /etc/devfsd.conf file yet for busybox's devfsd). Any help? |
50 |
> There is also another problem with busybox's devfsd, it works only with |
51 |
> "original" modprobe, not busybox one, if MODLOAD is used (autoloading of |
52 |
> modules). |
53 |
|
54 |
WARNING: The files I have attached don't work correctly on |
55 |
shutdown/halt/reboot, so nothing will be unmounted, or remounted ro. |
56 |
|
57 |
Sorry for that, no solution yet, Peter |
58 |
|
59 |
> |
60 |
> I have subscribed to the busybox list (too), maybe I'll some help there. |
61 |
> |
62 |
> Also I have to check how it works with msh (to support uClinux too) |
63 |
> |
64 |
> Peter |
65 |
> |
66 |
> |
67 |
|
68 |
-- |
69 |
Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI |
70 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
71 |
|
72 |
|
73 |
____________________________________________________________________ |
74 |
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. |
75 |
Probald ki most! http://www.freestart.hu |
76 |
|
77 |
-- |
78 |
gentoo-embedded@g.o mailing list |