Your message dated Sat, 15 Apr 2006 08:47:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#362118: fixed in libgksu1.2 1.3.7-2
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: libgksu1.2-0
Version: 1.3.7-1
Severity: grave
Tags: patch
Justification: renders package unusable

After xorg is upgraded in Debian Sid to 7.0 gksu no longer works because
it looks in a wrong folder for xauth. See debug output below

$gksu -d /usr/bin/x-terminal-emulator
try_su_run: buf: -Password:
sh: /usr/X11R6/bin/xauth: No such file or directory
xauth: --
display: -:0.0-
gksu_context_run: buf: -Password: -
DEBUG (run:after-pass) buf: -Password: -
DEBUG (run:post-after-pass) buf: -gksu: waiting
-
DEBUG (gksu: waiting) buf: -gksu: waiting
-
sh: /usr/X11R6/bin/xauth: No such file or directory
xauth: --
display: -:0.0-
gksu_context_run: buf: -Password: -
DEBUG (run:after-pass) buf: -Password: -

# Patch to solve bug below

diff -ur libgksu1.2-1.3.7/libgksu/gksu-context.c
libgksu1.2-1.3.8/libgksu/gksu-context.c
--- libgksu1.2-1.3.7/libgksu/gksu-context.c     2005-11-18
01:18:02.000000000 +0100
+++ libgksu1.2-1.3.8/libgksu/gksu-context.c     2006-04-12
22:46:18.000000000 +0200
@@ -464,7 +464,7 @@
g_strfreev (tmpv);

/* get the authorization token */
-  tmp = g_strdup_printf ("/usr/X11R6/bin/xauth list %s | "
+  tmp = g_strdup_printf ("/usr/bin/xauth list %s | "
                         "head -1 | awk '{ print $3 }'",
                         context->display);
   if ((xauth_output = popen (tmp, "r")) == NULL)
diff -ur libgksu1.2-1.3.7/libgksu/gksu-run-helper.c 
libgksu1.2-1.3.8/libgksu/gksu-run-helper.c
--- libgksu1.2-1.3.7/libgksu/gksu-run-helper.c  2005-08-03 04:28:40.000000000 
+0200
+++ libgksu1.2-1.3.8/libgksu/gksu-run-helper.c  2006-04-12 22:43:22.000000000 
+0200
@@ -129,7 +129,7 @@
     setenv ("XAUTHORITY", xauth_file, TRUE);

     command =
-      g_strdup_printf ("/usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\""
+      g_strdup_printf ("/usr/bin/xauth add %s . \"`cat %s.tmp`\""
                       " > /dev/null 2>&1", xauth_display, xauth_file);

     system (command);
                 
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

Versions of packages libgksu1.2-0 depends on:
ii  libc6                         2.3.6-6    GNU C Library: Shared libraries
ii  libglib2.0-0                  2.10.2-1   The GLib library of C routines
ii  xbase-clients                 1:7.0.0-2  miscellaneous X clients

Versions of packages libgksu1.2-0 recommends:
ii  sudo                          1.6.8p12-3 Provide limited super user privile

-- no debconf information
diff -ur libgksu1.2-1.3.7/libgksu/gksu-context.c libgksu1.2-1.3.8/libgksu/gksu-context.c
--- libgksu1.2-1.3.7/libgksu/gksu-context.c	2005-11-18 01:18:02.000000000 +0100
+++ libgksu1.2-1.3.8/libgksu/gksu-context.c	2006-04-12 22:46:18.000000000 +0200
@@ -464,7 +464,7 @@
   g_strfreev (tmpv);
 
   /* get the authorization token */
-  tmp = g_strdup_printf ("/usr/X11R6/bin/xauth list %s | "
+  tmp = g_strdup_printf ("/usr/bin/xauth list %s | "
 			 "head -1 | awk '{ print $3 }'",
 			 context->display);
   if ((xauth_output = popen (tmp, "r")) == NULL)
diff -ur libgksu1.2-1.3.7/libgksu/gksu-run-helper.c libgksu1.2-1.3.8/libgksu/gksu-run-helper.c
--- libgksu1.2-1.3.7/libgksu/gksu-run-helper.c	2005-08-03 04:28:40.000000000 +0200
+++ libgksu1.2-1.3.8/libgksu/gksu-run-helper.c	2006-04-12 22:43:22.000000000 +0200
@@ -129,7 +129,7 @@
     setenv ("XAUTHORITY", xauth_file, TRUE);
 
     command =
-      g_strdup_printf ("/usr/X11R6/bin/xauth add %s . \"`cat %s.tmp`\""
+      g_strdup_printf ("/usr/bin/xauth add %s . \"`cat %s.tmp`\""
 		       " > /dev/null 2>&1", xauth_display, xauth_file);
 
     system (command);

--- End Message ---
--- Begin Message ---
Source: libgksu1.2
Source-Version: 1.3.7-2

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

libgksu1.2-0_1.3.7-2_i386.deb
  to pool/main/libg/libgksu1.2/libgksu1.2-0_1.3.7-2_i386.deb
libgksu1.2-dev_1.3.7-2_i386.deb
  to pool/main/libg/libgksu1.2/libgksu1.2-dev_1.3.7-2_i386.deb
libgksu1.2_1.3.7-2.diff.gz
  to pool/main/libg/libgksu1.2/libgksu1.2_1.3.7-2.diff.gz
libgksu1.2_1.3.7-2.dsc
  to pool/main/libg/libgksu1.2/libgksu1.2_1.3.7-2.dsc



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.
Gustavo Noronha Silva <[EMAIL PROTECTED]> (supplier of updated libgksu1.2 
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: Sat, 15 Apr 2006 12:07:12 -0300
Source: libgksu1.2
Binary: libgksu1.2-dev libgksu1.2-0
Architecture: source i386
Version: 1.3.7-2
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <[EMAIL PROTECTED]>
Changed-By: Gustavo Noronha Silva <[EMAIL PROTECTED]>
Description: 
 libgksu1.2-0 - library providing su and sudo functionality
 libgksu1.2-dev - library providing su and sudo functionality (development 
files)
Closes: 362118 362125 362224
Changes: 
 libgksu1.2 (1.3.7-2) unstable; urgency=low
 .
   * debian/patches/xauth-move.diff:
   - patch to allow gksu to find the new location of the
     xauth binary while still being able to work with the
     old one (Closes: #362118, #362125, #362224)
Files: 
 199b5363e7e102ccc1fb5f9404321e72 1617 admin optional libgksu1.2_1.3.7-2.dsc
 34c77e780f65b95b9ddcb6887d24bc06 8971 admin optional libgksu1.2_1.3.7-2.diff.gz
 8720e02fb3bacdad47f92b48f77125d6 37916 libs optional 
libgksu1.2-0_1.3.7-2_i386.deb
 a7e4d0ecfc92eec2ae949040ea776d4b 29138 libdevel optional 
libgksu1.2-dev_1.3.7-2_i386.deb

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

iD8DBQFEQRL3t1anjIgqbEsRAozhAKDKpHTZLcJ1Ct2NC1/l9H0a1kpxoQCdGNp/
xqo/H/hm70FMbi0wsHqt7fc=
=xu19
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to