Public bug reported:

Hi,

I try to get a unbound python module work with Ubuntu 18.04.

For testing I installed unbound (1.6.7-1ubuntu2.3), python-unbound
(1.6.7-1ubuntu2.3) and some corresponding packages to a fresh install of
Ubuntu 18.04.5.

After including the python module to the configuration the unbound service is 
not starting anymore. In /var/log/syslog I get a
error: pythonmod: cannot initialize core module: unboundmodule.py

An strace shows a lot lines which indicates that unbound is trying to use 
python3:
stat("/usr/lib/python3/dist-packages", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0

but there is no line with python2 - which I expedted.

So it seems that the python-unbound module is not working correctly (or
unbound itself).

Greetings,
Chris

** Affects: unbound (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1891301

Title:
  Ubuntu python-unbound not using Python 2 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/1891301/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to