mailman2.1.x and python2.5 in a jail

Helmut Schneider jumper99 at gmx.de
Mon May 5 14:10:58 UTC 2008


Alex Vasylenko <lxv at omut.org> wrote:
> Helmut Schneider wrote:
>> [root at BSDHelmut ~]# chroot -u root /home/python25/ 
>> /usr/local/mailman/bin/mailmanctl
>> Traceback (most recent call last):
>> File "/usr/local/mailman/bin/mailmanctl", line 107, in <module>
>> from Mailman import Utils
>> File "/usr/local/mailman/Mailman/Utils.py", line 32, in <module>
>> import sha
>> File "/usr/local/lib/python2.5/sha.py", line 6, in <module>
>> from hashlib import sha1 as sha
>> File "/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
>> md5 = __get_builtin_constructor('md5')
>> File "/usr/local/lib/python2.5/hashlib.py", line 60, in 
>> __get_builtin_constructor
>> import _md5
>> ImportError: No module named _md5
>> [root at BSDHelmut ~]#
> 
> you would need all libraries required by 
> /usr/local/lib/python2.5/lib-dynload/*.so available in the jail too.


Works fine, thanks a lot.



More information about the freebsd-ports mailing list