On Mon 18 Jun 2012 at 05:57PM, Darren Kenny wrote:
> Just to be clear, and maybe this is Part 2, but the way that this is being
> changed is that the logging will now be done in the pkg code via the
> logger, is that right, thus removing the need for us to do the sub-classing
> we've had to do before, is that correct?

Yes, that's correct.

> While there have been many requests from admins for us to provide progress
> about what package is being installed, etc. I feel that the real desire for
> most people is to have a meaningful progress output, so that they know
> things haven't just hung, or stopped silently.

Great, that's helpful.

> > Ethan encouraged me to post the output printed to the console when
> > performing a bare-metal install.  Keep in mind that the periodic output
> > you see below is currently dumped every 20 seconds (which you can very
> > by looking at the timestamps); however, that's a configurable parameter,
> > and I'm happy to tune it to whatever you prefer-- I personally felt that
> > 3 times a minute was the outer limit to "keep the admin warm."-- a
> > nice balance between not spamming the terminal and not freaking out
> > the user.
> 
> Can we be clear about what you mean when you say 'console' here? I'd like
> to confirm that it's not just the tty, since we also redirect some output
> to /dev/sysmsg when the user is not logged on the console, which is the
> norm in AI's case.
> 
> This is in comparison to what happens when you are user doing a zones
> install, where the output is to the user's tty.
> 
> Can I assume that the correct thing happens in both of these cases? It
> looks like you have take this into account in the use_stdout toggle, but
> just want to be sure...

Everything should be exactly as before in terms of where output is
going.

> > The progress tracking wad is posted below as reference materials; I am not
> > requesting comment on that work in this thread; that code is still
> > undergoing minor changes in response to codereview feedback.
> > 
> > https://cr.opensolaris.org/action/browse/pkg/dp/pkg-progress/
> > 
> > Thanks for your attention and help.  Thanks especially to Ethan,
> > without whom I would be sunk.
> 
> In general the changes in the AI code look fine by me.

Great!  Thank you!

        -dp

-- 
Daniel Price, Solaris Kernel Engineering
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to