Your message dated Wed, 04 Apr 2007 04:02:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#374509: fixed in sudo 1.6.8p12-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sudo
Version: 1.6.8p12-4
Tags: patch

It is nice that the new, tighter sudo now keeps the XAUTHORITY variable,
but there are still X variables that sudo is not respecting, and this
makes it hard for me to run some X11 applications.  sudo should keep the
Xt toolkit variables XAPPLRESDIR, XFILESEARCHPATH, and XUSERFILESEARCHPATH.

The small patch appended restores the environment variables used by Xt.
It is against 1.6.8p12-4, but a similar patch would benefit 1.6.8p7-1.4
in Sarge.

 < Stephen

--- sudo-1.6.8p12/env.c 2006-06-17 17:49:06
+++ env.c       2006-06-17 17:56:18
@@ -372,6 +372,9 @@ rebuild_env(envp, sudo_mode, noexec)
            if (!strncmp (*ep, "DISPLAY=",8)
                || !strncmp (*ep, "XAUTHORITY=", 11)
                || !strncmp (*ep, "XAUTHORIZATION=", 15)
+               || !strncmp (*ep, "XAPPLRESDIR=", 12)
+               || !strncmp (*ep, "XFILESEARCHPATH=", 16)
+               || !strncmp (*ep, "XUSERFILESEARCHPATH=", 20)
                || !strncmp (*ep, "LANG=", 5)
                || !strncmp (*ep, "LANGUAGE=", 9)
                || !strncmp (*ep, "LC_", 3))
--- sudo-1.6.8p12/sudoers.pod   2006-06-17 17:49:06 -0400
+++ sudoers.pod 2006-06-18 19:04:14 -0400
@@ -441,10 +441,12 @@
 If set, B<sudo> will reset the environment to only contain the
 following variables: C<HOME>, C<LOGNAME>, C<PATH>, C<SHELL>, C<TERM>,
 C<DISPLAY>, C<XAUTHORITY>, C<XAUTHORIZATION>,
+C<XAPPLRESDIR>, C<XFILESEARCHPATH>, C<XUSERFILESEARCHPATH>,
 C<LANG>, C<LANGUAGE>, C<LC_*>,
 and C<USER> (in addition to the C<SUDO_*> variables).
 
 Of these, only C<TERM>, C<DISPLAY>, C<XAUTHORITY>, C<XAUTHORIZATION>,
+C<XAPPLRESDIR>, C<XFILESEARCHPATH>, C<XUSERFILESEARCHPATH>,
 C<LANG>, C<LANGUAGE>, and C<LC_*> are copied unaltered from the old 
environment.
 The other variables are set to default values (possibly modified
 by the value of the I<set_logname> option).  If B<sudo> was compiled
--- sudo-1.6.8p12/debian/README.Debian  2006-06-17 17:49:06.000000000 -0400
+++ debian/README.Debian        2006-06-18 19:05:27.000000000 -0400
@@ -3,6 +3,7 @@
 
 This implies that all environment variables are removed, except for
 HOME, LOGNAME, PATH, SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION,
+XAPPLRESDIR, XFILESEARCHPATH, XUSERFILESEARCHPATH,
 LANG, LANGUAGE, LC_*, and USER.
 
 In case you want sudo to preserve more environment variables, you must


--- End Message ---
--- Begin Message ---
Source: sudo
Source-Version: 1.6.8p12-5

We believe that the bug you reported is fixed in the latest version of
sudo, which is due to be installed in the Debian FTP archive:

sudo-ldap_1.6.8p12-5_i386.deb
  to pool/main/s/sudo/sudo-ldap_1.6.8p12-5_i386.deb
sudo_1.6.8p12-5.diff.gz
  to pool/main/s/sudo/sudo_1.6.8p12-5.diff.gz
sudo_1.6.8p12-5.dsc
  to pool/main/s/sudo/sudo_1.6.8p12-5.dsc
sudo_1.6.8p12-5_i386.deb
  to pool/main/s/sudo/sudo_1.6.8p12-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <[EMAIL PROTECTED]> (supplier of updated sudo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue,  3 Apr 2007 21:48:45 -0600
Source: sudo
Binary: sudo-ldap sudo
Architecture: source i386
Version: 1.6.8p12-5
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[EMAIL PROTECTED]>
Changed-By: Bdale Garbee <[EMAIL PROTECTED]>
Description: 
 sudo       - Provide limited super user privileges to specific users
 sudo-ldap  - Provide limited super user privileges to specific users
Closes: 296605 316249 368746 374509 382122 401366
Changes: 
 sudo (1.6.8p12-5) unstable; urgency=low
 .
   * update debian/copyright to reflect new upstream URL, closes: #368746
   * add sandwich cartoon URL to the README.Debian
   * don't remove sudoers on purge.  can cause problems when moving between
     sudo and sudo-ldap.  leaving sudoers around on purge seems like the least
     evil choice for now, closes: #401366
   * also preserve XAPPLRESDIR, XFILESEARCHPATH, and XUSERFILESEARCHPATH,
     closes: #374509
   * accept patch that improves debian/rules from Ted Percival, closes: #382122
   * no longer build with --with-exempt=sudo, provide an example entry in the
     default sudoers file instead, closes: #296605
   * add --with-devel to configure and augment build dependencies so that flex
     and yacc files get re-generated on every build, closes: #316249
Files: 
 ee074ce5e26d3f5ee5da0a84429af3cd 617 admin optional sudo_1.6.8p12-5.dsc
 202eaa5b5f5a32c5e8d0ce37893aee15 34206 admin optional sudo_1.6.8p12-5.diff.gz
 44389e0934adabbd7a7813b9c047d1a0 162746 admin optional sudo_1.6.8p12-5_i386.deb
 f336d97176c963a72a11ee3bfd41be6c 174290 admin optional 
sudo-ldap_1.6.8p12-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGEyIYZKfAp/LPAagRAjuLAJ9xMCEho/UHRc+9d4tumvNnZ7OL7gCeMjIS
erWZwwh1+h/5AeJJbY9qn+8=
=mieN
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to