Correction: The user-env.sh script does not work inside a schroot when running with an empty environment:
``` $ schroot-wrapper -p python3,vim -c mantic $ cat user-env.sh #!/bin/bash -i unset HISTFILE /bin/bash -l -c "/usr/bin/python3 -c 'import os; print(dict(os.environ))'" $ env -i ./user-env.sh {'PWD': '/home/myuser', 'SHLVL': '1', '_': '/usr/bin/python3', 'LC_CTYPE': 'C.UTF-8'} ```
Correction: The user-env.sh script does not work inside a schroot when running with an empty environment:
``` os.environ) )'"
$ schroot-wrapper -p python3,vim -c mantic
$ cat user-env.sh
#!/bin/bash -i
unset HISTFILE
/bin/bash -l -c "/usr/bin/python3 -c 'import os; print(dict(
$ env -i ./user-env.sh
{'PWD': '/home/myuser', 'SHLVL': '1', '_': '/usr/bin/python3', 'LC_CTYPE': 'C.UTF-8'}
```