[Linux-ha-dev] Re: cronjobs v1.2 rc1 OCF resource agent now available

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Jul 18 04:10:56 MDT 2008


On Fri, Jul 18, 2008 at 12:43:32AM +0200, Lars Marowsky-Bree wrote:
> On 2008-07-16T20:42:28, Matthew Soffen <matt at soffen.com> wrote:
> 
> > The main reason for not wanting bash was for the Non Linux architectures 
> > (i.e. *BSD and Solaris).
> >
> > Yes, its a readily available but since it isn't standard and sh is, whats 
> > the big deal ?
> >
> > Desiging/coding for sh (not for bash) means maximum portability.
> 
> We've had incidents where people sh-ified scripts such as drbd, which is
> plain pointless, as that is only available on Linux.

It's not just the availability of bash. For example, the next
Debian version will have dash (a POSIX compliant shell) as
default. I think that Ubuntu has already done that.

> Compared to the other stuff we pull in, I really, really, really don't
> get it.

I'd also prefer that there's a wider audience for the scripts
we deliver. Given the zillion interesting features in the bash,
which I'm sure will fairly soon proliferate in heartbeat, we'll
have a bunch of scripts understandable only by a minority. Also,
who guarantees that those feature, which are not standardized
anywhere, will behave in the same way on different bash versions.

I'm strongly against moving to bash as a standard. We can switch
from Bourne shell to POSIX shell, though.

Thanks,

Dejan

> 
> Regards,
>     Lars
> 
> -- 
> Teamlead Kernel, SuSE Labs, Research and Development
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N?rnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
> 
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/


More information about the Linux-HA-Dev mailing list