[Bug 785424] Re: Double motd when ssh'ing into 10.04.2

wangweilin 785424 at bugs.launchpad.net
Thu Jun 9 13:42:18 UTC 2011


*** This bug is a duplicate of bug 659738 ***
    https://bugs.launchpad.net/bugs/659738

My case was a little different but I think is part of this problem.

I acctually had 4 motd when logging in with ssh.

motd #1
motd #2
motd #1
motd #2

which lead me to the conclusion that there must be 2 problems.

The First problem  was the motd.tail which posted the first message
(motd #1) ... the last login message

The second part of the Problem was the double posting of motd #2 which did not occur with the standard login.
So I checked the /etc/ssh/sshd_config and set the "PrintMotd" to "no" which resulted in the correct display.

Basicly there are 2 "bugs" resulting in simular problems.

Regards

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/785424

Title:
  Double motd when ssh'ing into 10.04.2

Status in “sysvinit” package in Ubuntu:
  New

Bug description:
  When I ssh into my 10.04.2 servers I get two motd print outs.  The
  first one appears to be current-ish, but the second one is way out of
  date.  The first motd contains this:

    System information as of Fri May 20 01:36:13 EDT 2011

  while the one just following says this:

    System information as of Mon Apr 18 17:31:22 EDT 2011

  (Note though that the time stamp lies.  Current time is 17:40 EDT on
  May 19, and the first time stamp doesn't correspond to UTC, so I don't
  really know what time it thinks it is.  Ah, ntp must not be running as
  the time stamp corresponds to what `date` tells me.)

  I don't remember when the double motds started showing up.  This does
  occur on both 10.04.2 servers I have, and I have confirmation through
  the DC LoCo that others are seeing this as well.

  Note that you can log onto the console without ssh and see the same
  double motd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/785424/+subscriptions




More information about the foundations-bugs mailing list