Kea 1.6.0-beta2 Debian package has incorrect sys.path.append
When installing from cloudsmith.io packages (onto Debian 10, clean install), kea-shell
contains the following:
sys.path.append('/usr/lib/python3.7/site-packages/kea')
that results in a failure:
root@Clean-Deb:/etc/kea# kea-shell --host 127.0.0.1 --port 8080 --service dhcp4 list-commands
Traceback (most recent call last):
File "/usr/sbin/kea-shell", line 28, in <module>
from kea_conn import CARequest # CAResponse
ModuleNotFoundError: No module named 'kea_conn'
Corrected line (works for me at least):
sys.path.append('/usr/lib/python3/dist-packages/kea')
root@Clean-Deb:/etc/kea# kea-shell --host 127.0.0.1 --port 8080 --service dhcp4 list-commands
^D
[ { "arguments": [ "build-report", "config-get", "config-reload", "config-set", "config-test", "config-write", "dhcp-disable", "dhcp-enable", "leases-reclaim", "libreload", "list-commands", "shutdown", "statistic-get", "statistic-get-all", "statistic-remove", "statistic-remove-all", "statistic-reset", "statistic-reset-all", "version-get" ], "result": 0 } ]
I have no idea how this is generated, as I'm expecting "different for each distribution/version", so I don't know where the fix will be, but I did want it noted...
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information