group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #37371
[Bug 1901606] Re: security update broke module import in libpam-python, "from httplib2 import Http" fails now
** Changed in: pam-python (Ubuntu Bionic)
Status: New => Fix Released
** Changed in: pam-python (Ubuntu Xenial)
Status: Confirmed => Fix Released
** Changed in: pam-python (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1901606
Title:
security update broke module import in libpam-python, "from httplib2
import Http" fails now
Status in pam-python package in Ubuntu:
Fix Released
Status in pam-python source package in Xenial:
Fix Released
Status in pam-python source package in Bionic:
Fix Released
Bug description:
I glanced at the libpam-python 1.0.4-1.1+deb8u1build0.16.04.1 diff
but it wasn't immediately obvious - why does this security update
break importing httplib2 ? Other more standard imports like sys, os,
datetime, don't seem to be a problem. Does this update change or
restrict the python module paths?
Here's the error that shows up in /var/log/auth.log
Traceback (most recent call last):
File "/lib/security/pam_pacauth.py", line 18, in <module>
from httplib2 import Http
ImportError: No module named httplib2
Here's line 18 from my pam module:
from httplib2 import Http
To reproduce this ( on 16.04 ) just install httplib2 using:
pip2 install httplib2
and then try to use a python pam module with this line in it:
from httplib2 import Http
With the older 1.0.4-1 version this has worked just fine for the past
4 years.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam-python/+bug/1901606/+subscriptions