Bug 537 - env_keep no longer works in 1.8.4
env_keep no longer works in 1.8.4
Status: VERIFIED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.4
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-20 14:31 MST by Gary van der Merwe
Modified: 2012-02-22 02:59 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary van der Merwe 2012-02-20 14:31:47 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.
Comment 1 Todd C. Miller 2012-02-21 06:02:00 MST
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.
Comment 2 Gary van der Merwe 2012-02-22 02:59:53 MST
I tested the new version and it is fixed. Thank you for such a quick response.