Bdale Garbee schrob:
> On Wed, 2006-10-11 at 10:51 +0200, Arnaud Giersch wrote:
> 
> > The patch below causes to the deletion of the variables listed in
> > env_deleted, even when env_reset is in use.
> 
> Makes sense to me.  Forwarding to upstream for comment / inclusion.

With upstream sudo, you can just omit LC_* (or whichever envvar you
don't like) from the env_check and env_keep lists and it will be unset
for the target program. The problem here is that the hardcoded "keep
these at all costs" list in debian/patches/env.c-safety.diff (the second
hunk) prevents that approach.

I suggest just dropping that, particularly as all but XAPPLRESDIR,
XFILESEARCHPATH, XUSERFILESEARCHPATH are already listed in either
initial_checkenv_table or initial_keepenv_table. Hence that code only
activates (aside from those 3) when an admin explicitly requests
omission of one of the listed envvars, and then it counteracts that
explicit request!

Cheers,
    Jan
-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: signature.asc
Description: Digital signature

Reply via email to