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 the 
offending code in my case is in here:
/usr/lib/python2.6/dist-packages/landscape/lib/sysstats.py

and imports getProcessOutputAndValue from here:
/usr/share/pyshared/twisted/internet/utils.py

I couldn't figure out how this would block, but essentially it looks
like you could pass callbacks to the function which is currently not
happending.

I was wondering if there is a way to debug this in Python. E.g. my
skills are currently limited to putting "print" into files. But that
doesn't work to well. ;-)

Till

-- 
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:
https://bugs.launchpad.net/landscape-client/+bug/805423/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to