Comment 2 for bug 2033518

Revision history for this message
Benjamin Drung (bdrung) wrote (last edit ):

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'}
```