Bugzilla – Bug 237
env_keep does not work
Last modified: 2007-04-24 14:06:44 MDT
env_keep does not work. i've tried all options of: Defaults env_keep=* and Defaults env_keep="LD_LIBRARY_PATH" and Defaults env_keep+="..." But if I compare env to sudo env, that variable is not present. I also tried : Defaults env_reset, env_keep=* Since there seemed to be an earlier bug in this area. But no joy.
The problem is that your dynamic loader (ld-linux.so) removes those environment variables from the environment before sudo is even executed.