On Fri, Nov 13, 2009 at 01:44:58PM -0800, John Sonnenschein wrote:
> On 2009-11-10, at 12:02 PM, John Sonnenschein wrote:
> 
> > http://cr.opensolaris.org/~error404/1498/
> 
> Ping ?

I'm not sure that this is the best approach to solving this problem.
The pkg history mechanism saves tracebacks, as well as information about
the operation that was in-progress when the failure occurred.  It might
make more sense to enhance history to do the following:

  - Create a history record identifier for each history entry
  - Have the traceback handler figure out the history-id for the current
    transaction
  - Print a message that instructs the user to type the following pkg
    history command to get more details about the failure
  - Print the traceback to the screen if the user doesn't have
    permission to modify the pkg history file.

Shawn may have additional thoughts about this, too.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to