Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Last login:' time stamp when connecting via SSH describes current login, not last #1557

Closed
mark-casey opened this Issue Sep 7, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@mark-casey
Copy link

mark-casey commented Sep 7, 2016

Issue Report

Bug

CoreOS Version

core@localhost ~ $ cat /etc/os-release
NAME=CoreOS
ID=coreos
VERSION=1068.9.0
VERSION_ID=1068.9.0
BUILD_ID=2016-08-05-0455
PRETTY_NAME="CoreOS 1068.9.0 (MoreOS)"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

Environment

Dell PowerEdge T110II (i.e.: T110 "roman numeral 2")... booted from CoreOS stable ISO copied to flash drive and then installed w/ coreos-install.

Expected Behavior

When logging in via SSH, the time stamp of the previous login is displayed near where the MOTD goes.

Actual Behavior

When logging in via SSH, the time stamp of the current login is displayed near where the MOTD goes.

Reproduction Steps

(as best I've observed)

  1. Have CoreOS
  2. Login (possibly, specifically via SSH? using an SSH agent for the key? unsure.)

Other Information

  • Did a brief search of the issues page; apologies if I missed an existing report.
  • This page suggests it could be the addition of some processing in PAM, which I believe there were some changes around in the not too distant past:
  • I'm happy to check for other possible unique factors on my system if this is not immediately reproducible.
  • Here is output of it happening, note the bold times of an immediately-run date vs. Last login:

{ ~ } » ssh -p 5555 core@67.123.123.201
CoreOS stable (1068.9.0)
Last login: Wed Sep 7 03:14:09 2016 from 66.123.123.48
core@localhost ~ $ date
Wed Sep 7 03:14:11 UTC 2016
core@localhost ~ $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.