Bug 89965 - Could --rollback print the rollback goal in seconds since epoch
Summary: Could --rollback print the rollback goal in seconds since epoch
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 9
Hardware: All Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2003-04-30 13:18 UTC by James Olin Oden
Modified: 2007-03-27 04:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-04-30 13:29:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to print rollback goal (297 bytes, patch)
2003-04-30 13:20 UTC, James Olin Oden
no flags Details | Diff

Description James Olin Oden 2003-04-30 13:18:59 UTC
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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 James Olin Oden 2003-04-30 13:20:18 UTC
Created attachment 91419 [details]
Patch to print rollback goal

Comment 2 Jeff Johnson 2003-04-30 13:29:29 UTC
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. ;-)

Note You need to log in before you can comment on or make changes to this bug.