Bugzilla – Bug 537
env_keep no longer works in 1.8.4
Last modified: 2012-02-22 02:59:53 MST
Vars in env_keep (e.g. HOME) are now longer kept. I've tested this to be a regression between 1.8.3.p2 and 1.8.4. Steps to reproduce: * Ensure that HOME is included in env_keep in the sudoers file. * Run "sudo env | grep HOME" Actual Result: HOME=/root Expected Result: HOME=/home/garyvdm I'm using binaries from Arch linux. I checked the PKGBUILD file, and they carry no patches.
There was a bug in sudo 1.8.4 on some platforms related to the += and -= operations. This has been fixed in sudo 1.8.4p1 which is available now.
I tested the new version and it is fixed. Thank you for such a quick response.