RHAT bug? /etc/init.d/functions:daemon()

Tom Buskey tom at buskey.name
Thu Feb 2 09:02:01 EST 2006


On 2/1/06, Bill McGonigle <bill at bfccomputing.com> wrote:
>
> On Feb 1, 2006, at 13:30, Ben Scott wrote:
>
> >> I didn't say you wouldn't want to use any modules, I said you don't
> >> want every module known to man to be used.
> >
> >   But then someone has to decide which modules are appropriate and
> > which are not.  I think the question of deciding which modules are
> > "considered useful" is subjective and not really possible to answer
> > correctly.
>
> It's the job of the distribution.  They make the same decisions about
> which packages to include.  Some I agree with, some I don't.  Choice is
> good.
>
> >   So now, in addition to having the "Does this platform
> > support Perl in initscripts" question, we have the "Which Perl modules
> > does this platform variant support in an initscript" question.
>
> Right, just like you have to ask the same question about "which
> programs does this distribution include that I can call from an init
> script".


The cool thing about OSS is you can try it yourself.  There was a project to
create all the unix tools in perl so people on non unix systems would have
man, tsort, etc.

Create your own distribution and use perl for the init scripts.



>
> It's worth noting Apple has ditched the whole lot and gone with launchd
> which is open source.   So this might be a stupid old-farts debate in
> the end.


And Sun has replaced much of it with SMF in Solaris 10.  I've been
relearning it lately.

No more /etc/init.d/sshd stop ; /etc/init.d/sshd start.  Now it's

# svcs \*ssh\*
STATE          STIME    FMRI
online          9:33:13 svc:/network/ssh:default
# svcadm disable /network/ssh;svcadm enable /network/ssh

It's good that some are rethinking the init process (Solaris is kinda like
having everything run out of inittab and all the dependencies are known so
parallel running can happen) but it's going to be confusing for a bit.





--
A strong conviction that something must be done is the parent of many bad
measures.
  - Daniel Webster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20060202/27e8409f/attachment.html


More information about the gnhlug-discuss mailing list