Red Hat Bugzilla – Bug 89965
Could --rollback print the rollback goal in seconds since epoch
Last modified: 2007-03-27 00:03:29 EDT
Description of problem:
For debuging purposes it would be really nice if rpm would print the
rollback goal in seconds since epoch when a rollback is requested.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 91419 [details]
Patch to print rollback goal
The rollback goal is compared with transaction id's.
Transaction id's are 4 byte ints with the property of ordering.
There are no other guarantees on the value. In fact, there have
been mumblings about changing the contents to something else (not by me).
I'm reluctant to expose the tid value even in debugging messages
lest INSTALLTIME and INSTALLTID, which atm have identical values,
get confused in usage.
However, ctime(3) is easy, and I'm not about to tell you what to do. ;-)