[gobolinux-devel] Daemons/Tasks on startup
Jonas Karlsson
jonka750 at student.liu.se
Sat Sep 30 08:38:27 UTC 2006
On Sat, 30 Sep 2006 08:21:05 +0200, Carlo Calica <carlo at calica.com> wrote:
> On 9/29/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
>> On Sat, 30 Sep 2006 00:07:48 +0200, Carlo Calica <carlo at calica.com>
>> wrote:
>>
>> > Daemon monitoring has some really nice benefits. But it really is
>> > swimming upstream against the flow of sysvinit. :-) Many daemons just
>> > aren't designed to allow it, especially for some advanced features
>> > (sending signals, logging). This means Tasks are required. Having
>> > two solutions (Tasks and Daemons) leads to confusion. Since Tasks are
>> > conceptually simpiler they seem to be winning.
>> >
>> I guess this means that Daemons are obsolete?
>>
>
> I don't know.
Ok. I came to my conclussion as you said that haing both Daemons and Tasks
can be confusing, and that we latelly have focused on Tasks. That, along
with not having something to monitor daemons, made me come tho the
(perhaps rash) conclussion that daemons were obsolete.
>> >
>> > Right now our bootscripts are very 80s BSD. I'd love to see it
>> > modernized. Moving to the common init.d/rc#.d isn't a real
>> > improvement. Upstart is very interesting. The "need" based
>> > dependency inits seem to be an improvement but really aren't (see my
>> > aBootScripts from years past). I'm also concerned about distracting
>> > from the 013 release.
>> >
>> I think that if we don't have a feature freeze on 013 by now, we really
>> should set one. Isn't it stable enough to get a RC out soon?
>> I think our prime consern is to get a stable 013 out and when that is
>> out
>> we could start looking at more features. I have some ideas on what I'd
>> like on 014... :)
>>
> I would say its good enough for installed systems but the LiveCD
> experience needs some more work.
>
Ok. But I still think that that are our primary goal and future features
should just be in the future.
>> > WRT Daemon monitor daemon. I believe, the Daemon shell function
>> > implements a simple one in sh for each daemon being monitored.
>> >
>> Afaik we don't ship with any monitoring daemon.
>>
>
> Look at /P/BootScripts/Current/Functions/BootScripts. There's a
> commented out impl that supports daemon restart. Installing runit
> should provide a better Daemon.
>
Yes, I know. I'm aware of that there exists such prepared skeleton for
having a monitor daemon included, but afaik there are no recipe or package
for (any resent version of) runit or similar, so in reallity noone could
use it without some work.
--
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-devel
mailing list