[Bug 805423] Re: pam_motd needs a module option to disable in-line dynamic updates

Till Klampaeckel 805423 at bugs.launchpad.net
Thu Jul 12 20:14:17 UTC 2012


My login session never timeout, I was actually authenticated but never
saw a prompt.

I let it running (sitting there) over night and the shell was still
'active' there after 8 hours – but no prompt.

The load had nothing to do with this. I booted the server (pretty
blank), logged in and then further attempts failed right away. If I
waited too long (and I don't have an exact time), I could not log in at
all.

I *think* it stalled at trying to find out how many people are logged in
to the system. I saw a "[who] defunct" in my process list. But I have no
idea why that caused the my login process to block.

I looked at this script and also ran it while I was logged in and it
completely within reason. Though I would say that it adds too much time
to the login still. It's a noticable delay.

Btw, check out the 'ask ubuntu' link I left in my comment, it contains
the process list with the defunct who and the sysinfo script running.

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

Title:
  pam_motd needs a module option to disable in-line dynamic updates

Status in Landscape Client:
  New
Status in “pam” package in Ubuntu:
  Fix Released

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 10.04.2 LTS
  Release:	10.04

  2)  Installiert: 1.1.1-2ubuntu5.3
    Kandidat: 1.1.1-2ubuntu5.3
    Versions-Tabelle:
   *** 1.1.1-2ubuntu5.3 0
          500 http://de.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
          500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
          100 /var/lib/dpkg/status
       1.1.1-2ubuntu2 0
          500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages

  3) Login on systems with high load/a lot of io wait via ssh should
  still be possible.

  4) On servers with high load or a lot of io wait login times out,
  because pam_motd does io intensive calculations. This hurts even more
  when using nagios check_by_ssh. There should be a way to use a cron
  job again (like update-motd did). Logging into a system is more
  important than motd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/805423/+subscriptions




More information about the foundations-bugs mailing list