Hey, I was toying with the idea of automatically detecting discrepancies in environment variables, so I tried the attached patch, which would check /proc/PID/environ compared to the profile’s search path variables. Unfortunately, that doesn’t work because Bash for instance does not change its own environment variables (with setenv(3) or environ(7)) when you type “export PATH=foo” or similar (which makes sense, after all). I’m thinking the only solution left would be to grep ~/.bashrc and similar for potentially problematic environment variable settings. Should we do that every time? Or…? Ludo’.