Jailkit und Python Venv

logifech

Active Member
Hallo Zusammen,
hat jemand Python und Python Virtual Environment mittels Jailkit am laufen? Wie sieht bei euch die jk_init.ini aus? Jedesmal wenn ich mit meinem Chrooted Jailuser eine Virtual Environment erstellen möchte Schlag dieses fehl.
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/home/patrick_omland_shell1/testpy/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

Auf dem Hostsystem ist aber alles Installiert und funktioniert als non Jailed User und als Root. Meine Jk_init.ini sieht so aus

Code:
[python3]
comment = Python3 Interpreter
paths = /usr/bin/python3, /lib/x86_64-linux-gnu/libpthread.so.0, /lib/x86_64-linux-gnu/libdl.so.2, /lib/x86_64-linux-gnu/libutil.so.1, /lib/x86_64-linux-gnu/libm.so.6, /lib/x86_64-linux-gnu/libexpat.so.1, /lib/x86_64-linux-gnu/libz.so.1, /lib/x86_64-linux-gnu/libc.so.6, /lib64/ld-linux-x86-64.so.2, /usr/lib/python3.9, /usr/local/lib/python3.9
includesections = netbasics, uidbasics, coreutils, extendedshell, basicshell, editors

Vielleicht kann mir da ja jemand behilflich sein.
 

Werbung

Top