On Thu, Oct 30, 2008 at 6:53 PM, Tony Nguyen <Truong.Q.Nguyen at sun.com> wrote: > Roland Mainz wrote: >> Casper.Dik at Sun.COM wrote: >>>> Tony Nguyen wrote: >>>>> The updated and incremental webrevs are at: >>>>> >>>>> http://cr.opensolaris.org/~tonyn/firewall29Oct2008/ >>>>> >>>>> http://cr.opensolaris.org/~tonyn/firewall-inc/ >>>>> >>>>> The original webrev is still available at: >>>>> >>>>> http://cr.opensolaris.org/~tonyn/firewall/ >>>> Before starting to comment on the scripts: Is it mandatory for the >>>> firewall SMF scripts to use /sbin/sh or is /usr/bin/ksh acceptable, too >>>> ? >>> Possibly if you make sure that /usr is mounted first. >> >> The scripts already use stuff like "sed" ([1]) and AFAIK that means they >> depend on /usr being mounted. >> >> [1]=my main concern is that this script could be slighty reworked to >> avoid depending on "sed"&co. just to dismantle one single string - >> builtin shell operators can do the same in a much faster manner (and if >> we're allowed to use ksh93 we may be able to fold various calls to >> "svcprop" to just one in a similar manner how >> http://svn.genunix.org/repos/on/branches/ksh93/gisburn/scripts/svcproptree1.sh >> works). >> > > Hi Roland, > > It's a good point. network/ipfilter has a dependency on filesystem/usr > so that isn't an issue. If we use ksh, it'd have to be ksh93 since > that's the only version shipped with OpenSolaris. However, making this > script ksh93 requires method scripts delivered by other teams and > consolidations to be ksh93 which I'm not ready to mandate and perhaps > requiring ARC commitment. I'd like to defer the suggested change until > the follow up IPv6 support work at which I can make that proposal. >
You're making a very typical engineering decision-making mistake IMHO. The mistake? Turning every small issue into a big issue and then reaching the (flawed) conclusion that you can't solve the big issue for various reasons (possibly including insufficient resources). It's not an all-or-nothing problem. It's a small issue and the proposed solution is well worth the time/effort. Regards, -- Al Hopper Logical Approach Inc,Plano,TX al at logical-approach.com Voice: 972.379.2133 Timezone: US CDT OpenSolaris Governing Board (OGB) Member - Apr 2005 to Mar 2007 http://www.opensolaris.org/os/community/ogb/ogb_2005-2007/