Re: [ILUG] Init vs telinit

From: Paul Jakma (paulj at domain itg.ie)
Date: Wed 17 May 2000 - 18:05:26 IST


On Wed, 17 May 2000, Nick Hilliard wrote:

> The scripts aren't really that well-written. If you take /etc/init.d, for
> example, how much code is just duplicated between scripts?

depends.. eg RedHat[1] keeps weeding out more and more stuff to common
files sourced by all files. Not so sure about the real SysVR4's, but
whatever about the implementation, the idea of runlevels, and init.d
scripts is a good one imo.

> What do you do
> if you want to modify a bootup parameter or something? Edit the script and
> hope that it works on the next bootup?

you edit the relevant file in /etc/sysconfig.

> Compare that with the FreeBSD idea
> of /etc/rc.conf, or even better, use a mixtures of init.d scripts and
> rc.conf. Sysconfig in Linux is unwieldy; there are too many files and too
> much messing around.
>

well ideally there should be tools to deal with that stuff, and failling
that you should be able to fall back to the documentation - which tends to
be more consistent on the commercial unicen compared to RH.

and chkconfig is very handy.

> All of the unix varients are improving, though.
>

cross pollination is a good thing. :)

> Read: "I have lost my mind and am a raving lunatic. Please ignore me".
>

i was a big sceptic before i went into the course, (because of SCO
OpenServer 5), but if you're honest you have to admit that SCO UnixWare 7
is very very nice. It really surprised me.

> Just kidding, but SCO _is_ inelegant.
>
SCO *OpenServer* is inelegant.

SCO *UnixWare 7* is very very decent. Certainly on a par with Tru64 and
IRIX 6 anyway.

> A good operating system is an operating system which (among other
> things) does well what it claims to do well.

very true.

> Solaris does many things well, even if the layout is sometimes a
> little impenetrable.

it claims to be a leading unix. part of the criteria i have for an os to
meet that claim are that it must strive to be like other unices as much as
possible.

that's why i like the lower-profile Tru64 and IRIX 6 unices, (and now
Unixware 7). they're all quite similar. i can take a lot of what i know
and how i work across from one to the other with the minimum of
fuss.

solaris just has so many little things that are different, that i ended up
not bothering with it.

>
> Nick
>
>

[1]. Yes, RedHat isn't a SysV, but it styles it's init scripts on theirs.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:12 GMT