dchroot environment variables not consistent
So, I've created a 32-bit chroot on my AMD64 installation. It works pretty well when I just type 'dchroot' but if I try to execute a 32-bit program from 64-bit land using 'dchroot <command>', the environment variables are all screwed up. I know I can use -d or --preserve-environment to keep my 64-bit environment but I don't want to do that because I want my PATH to change when I go into 32-bit land. Here's an example of what I am talking about:
Code:
me@box:~$ dchroot "echo \$PATH" Thanks, -Greg |
Have you tried looking for /etc/env.d* ? (wildcard for anything containing env.d and/or env)
|
Quote:
Code:
(32bit)me@box:/etc$ ls env* |
All times are GMT -5. The time now is 07:15 PM. |