Dan Price wrote:
> On Thu 30 Oct 2008 at 03:11PM, Shawn Walker wrote:
>> The problem with that is omitting --log-errors from the command-line *is 
>> NOT* the same as --log-errors=none.
>>
>> There are some internal defaults for --log-errors and --log-access, by 
>> specifying --log-errors=none you are explicitly stating that you do not 
>> want errors logged, as an example.
> 
> It seems like the easiest way to handle that is to say:
> 
>         - The SMF default is the empty string-- in that case, the arg is
>           omitted, and the depot uses its internal default.  We could
>           add "default" as a synonym if needed.  In most cases, the
>           manifest would let the depot use its internal defaults by
>           default.  You'd only set the param in the manifest if you
>           want to override.
> 
>         - The SMF manifest also supports setting to "none", but that
>           isn't the default.
> 
> Would that help?  I don't know if that is in keeping with the SMF
> way-of-doing-it but Stephen should be able to advise.

As long as "none" isn't exclusive to SMF usage but is an actual value 
that the depot expects for that command-line option that seems like a 
great compromise to me.

Cheers,
-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to