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

2018-10-22 Thread GGrandes
I have same problem in Ubuntu 18.04, +2 seconds in sshd logins. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to disable in-line dynamic updates To

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

2015-12-23 Thread Landscape Builder
This bug has not seen any activity in the last 6 months, so it is being automatically closed. If you are still experiencing this issue, please feel free to re-open. Landscape Team ** Changed in: landscape-client Status: New => Invalid -- You received this bug notification because you

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

2012-08-13 Thread Till Klampaeckel
Any update, help? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to disable in-line dynamic updates To manage notifications about this bug go to:

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

2012-07-26 Thread Till Klampaeckel
Hey, I tried your code: 1. $USER doesn't seem to be set in this context so it runs regardless. ;-) At least it doesn't seem to be set during the login. 2. Whenever I add strace, it magically works – without, it defuncts. I looked around further and it took me a while to figure this out – so

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

2012-07-26 Thread Till Klampaeckel
Here is an idea for a patch – but I am not sure if it actually works: --- /usr/share/pyshared/landscape/lib/sysstats.py.orig 2012-07-26 15:26:42.0 + +++ /usr/share/pyshared/landscape/lib/sysstats.py 2012-07-26 15:32:38.0 + @@ -55,6 +55,13 @@ class

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

2012-07-18 Thread Andreas Hasenack
If you can reproduce it at least some times, I have some suggestions: - hack the script to only run if you login as a certain user. In that way, you can trigger it by logging in as, say, ubuntu, and don't run if you login as someone else. Something like this (untested): ---

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

2012-07-16 Thread Andreas Hasenack
I tried to reproduce it a few times, but no luck. Does it happen often to you? If yes, we may be able to come up with a debug strategy. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title:

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

2012-07-16 Thread Till Klampaeckel
Well, I am a 100% sure it's /usr/bin/landscape-sysinfo. It happened fairly consistently last week. To a point where I couldn't login at all, unless I rebooted the instance and logged in right away. We have now removed the landscape-client to ensure login always works. When I ran this script while

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

2012-07-13 Thread Till Klampaeckel
I have no such thing – my users are 'local'. It's a stock 10.04.4, this is how it looks like right now: till@statsd1:~$ ls -lah /etc/update-motd.d/ total 48K drwxr-xr-x 2 root root 4.0K 2012-07-12 15:19 . drwxr-xr-x 89 root root 4.0K 2012-07-13 10:25 .. -rwxr-xr-x 1 root

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

2012-07-13 Thread Andreas Hasenack
Hi Till, yes, I saw that askubuntu process list. What is the AMI you used, and in which region? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to

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

2012-07-13 Thread Till Klampaeckel
I believe it's this: ami-6936fb00 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to disable in-line dynamic updates To manage notifications about this

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

2012-07-13 Thread Till Klampaeckel
Region is 'east1' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to disable in-line dynamic updates To manage notifications about this bug go to:

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

2012-07-12 Thread Till Klampaeckel
I'm on 10.04.4 (latest kernel, everything) and I just spent an entire work-day debugging pam_motd behavior. For some reason, one of the scripts fails (defuncts) when I try to log into a server. Add to that, this server is on EC2 so there is no way to use the terminal either. Anyhow – for a

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

2012-07-12 Thread Till Klampaeckel
I want to add that it seems like the following removes the files as well: apt-get purge landscape-client I did this to avoid having to maintain pam configuration. Maybe someone escalate it there. I still fail to understand how you can add something to the login process which might block the user

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

2012-07-12 Thread Andreas Hasenack
landscape-common installs a script in /etc/update-motd.d to display a banner with some basic system information. It will not run the main landscape-sysinfo binary if the load is higher than the number of cores, see /usr/share/landscape/landscape- sysinfo.wrapper: #!/bin/sh cores=$(grep -c

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

2012-07-12 Thread Till Klampaeckel
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

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

2012-07-12 Thread Andreas Hasenack
Do you have any reason to believe who would stall? Do you have network users, stored in ldap or nis? Doesn't look like it, but it doesn't hurt to ask. sysinfo uses this to get the logged in users: def get_logged_in_users(): result = getProcessOutputAndValue(who, [-q], env=os.environ) So

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

2011-10-30 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/pam/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423 Title: pam_motd needs a module option to disable in-line dynamic updates To manage

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

2011-10-30 Thread Launchpad Bug Tracker
This bug was fixed in the package pam - 1.1.3-5ubuntu1 --- pam (1.1.3-5ubuntu1) precise; urgency=low * Merge from Debian unstable. Remaining changes: - debian/libpam-modules.postinst: Add PATH to /etc/environment if it's not present there or in

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

2011-07-08 Thread Jan K.
check_by_ssh does not open a tty. So it should not calculate the motd. I did not thing about that. May be it could solve the nagios problem, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/805423