# /usr/sbin/unbound-checkconf Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named unboundmodule [1273357208] unbound-checkconf[10449:0] error: pythonmod: cannot initialize core module: unboundmodule.py [1273357208] unbound-checkconf[10449:0] fatal error: bad config for python module # equery f unbound |grep unboundmodule.py /usr/lib64/python2.6/site-packages/unboundmodule.py # strace -ff /usr/sbin/unbound-checkconf 2>&1 |grep unboundmodule stat("/usr/lib64/python2.6/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/python2.6/plat-linux2/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/plat-linux2/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/plat-linux2/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/plat-linux2/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/plat-linux2/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib64/python2.6/lib-dynload/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/lib-dynload/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/lib-dynload/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/lib-dynload/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib64/python2.6/lib-dynload/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("./unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("./unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("./unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("./unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("./unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/unbound/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/unbound/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/etc/unbound/unboundmodule", 0x78a3fac348e0) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodulemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.py", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/unbound/unboundmodule.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
I couldn't reproduce that. Could you put your build.log?
My python2 has site-packages in sys.path. Would you puts your result here? $ python2 -c 'import sys; print(sys.path);' ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib64/python2.6/site-packages/gst-0.10', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib64/portage/pym']
no response. close.