#3096 sssctl: Time stamps without time zone information
Closed: Fixed None Opened 5 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1356577

Description of problem:
sssctl shows time stamps in UTC. Either "UTC" should be added to the time
stamps or the time should be converted to the local time zone.



Version-Release number of selected component (if applicable):
sssd-tools-1.14.0-3.fc25.x86_64



Steps to Reproduce:
1. Show the current time:
    # date
    Do 14. Jul 13:55:20 CEST 2016
2. Verify that a user is not in the cache
    # sssctl user admin
3. Get the user cached
    # getent passwd admin
    admin:*:373000000:373000000:Administrator:/home/admin:/bin/bash
4. Show the cache information:
    # sssctl user admin
    Name: admin
    Cache entry creation date: 07/14/16 11:55:17
    Cache entry last update time: 07/14/16 11:55:17
    Cache entry expiration time: 07/14/16 13:25:17
    Initgroups expiration time: Initgroups were not yet performed
    Cached in InfoPipe: No



Actual results:
Time stamps are shown in UTC without telling the user.



Expected results:
Time stamps should be either converted to the local time zone or "UTC" added.

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
owner: somebody => fidencio
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.14.1
patch: 0 => 1

master:

resolution: => fixed
status: new => closed

Metadata Update from @jhrozek:
- Issue assigned to fidencio
- Issue set to the milestone: SSSD 1.14.1

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4129

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata