Bug#293236: marked as done (gksu: Config file doesn't work as advertised)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 07 Feb 2005 13:48:36 -0800


Your message dated Mon, 07 Feb 2005 16:32:19 -0500
with message-id <E1CyGUV-0006Al-00@newraff.debian.org>
and subject line Bug#293236: fixed in gksu 1.2.3-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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Feb 2005 22:14:08 +0000
>From jk@blackdown.de Tue Feb 01 14:14:08 2005
Return-path: <jk@blackdown.de>
Received: from smtp.blackdown.de [213.239.206.42] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cw6Hg-0001Ox-00; Tue, 01 Feb 2005 14:14:08 -0800
Received: from mail.blackdown.de ([62.159.133.162] ident=[MTjdHr7Oq6fFk83Ui4gEAEdtDKSDFlx9])
	by smtp.blackdown.de with asmtp (TLS-1.0:RSA_ARCFOUR_SHA:16)
	(Exim 4.34)
	id 1Cw6Hc-0005uh-9Q
	for submit@bugs.debian.org; Tue, 01 Feb 2005 23:14:04 +0100
Received: from fry.jknet ([192.168.1.2] ident=[oqWklmgfYdhuNZPIAhPtDMwDuLmZXLLo])
	by mail.blackdown.de with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34)
	id 1Cw6Ha-0003fT-H6
	for submit@bugs.debian.org; Tue, 01 Feb 2005 23:14:02 +0100
Received: from jk by fry.jknet with local (Exim 4.44)
	id 1Cw6Ha-0003pz-0w
	for submit@bugs.debian.org; Tue, 01 Feb 2005 23:14:02 +0100
From: Juergen Kreileder <jk@blackdown.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gksu: Config file doesn't work as advertised
X-PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x730A28A5
X-PGP-Fingerprint: 7C19 D069 9ED5 DC2E 1B10  9859 C027 8D5B 730A 28A5
X-Debbugs-CC: Juergen Kreileder <jk@blackdown.de>
Date: Tue, 01 Feb 2005 23:14:02 +0100
Message-ID: <87hdkwx711.fsf@blackdown.de>
Organization: Blackdown Java-Linux Team
Lines: 58
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gksu
Version: 1.2.3-1
Severity: normal

Setting "sudo-mode = yes" actually disables sudo mode.  "prompt = yes"
is also interpreted wrongly.
Here's a fix:

--- gksu/gksu.c.orig    2005-02-01 23:04:04.000000000 +0100
+++ gksu/gksu.c 2005-02-01 23:04:39.000000000 +0100
@@ -282,12 +282,12 @@ read_config_file_options (GksuContext *c
       else if (!strcmp ("sudo-mode", key))
        {
          if (!strcasecmp ("yes", value))
-           sudo_mode = FALSE;
+           sudo_mode = TRUE;
        }
       else if (!strcmp ("prompt", key))
        {
          if (!strcasecmp ("yes", value))
-           prompt = FALSE;
+           prompt = TRUE;
        }
 
       g_strfreev (tmp);
=

You also might want to document that setting "prompt = yes" only has
an effect if "disable-grab = yes" and "force-grab = no"


        Juergen

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)
Kernel: Linux 2.6.11-rc1jk2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gksu depends on:
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libgksu1.2-0             1.2.5a-1        library providing su and sudo func
ii  libgksuui1.0-0           1.0.3-2         a graphical fronted to su library
ii  libglib2.0-0             2.6.1-3         The GLib library of C routines
ii  libgtk2.0-0              2.4.14-2        The GTK+ graphical user interface 
ii  libpango1.0-0            1.8.0-3         Layout and rendering of internatio
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  sudo                     1.6.8p5-1       Provide limited super user privile
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu

-- no debconf information

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/

---------------------------------------
Received: (at 293236-close) by bugs.debian.org; 7 Feb 2005 21:38:14 +0000
>From katie@ftp-master.debian.org Mon Feb 07 13:38:14 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CyGaD-00069F-00; Mon, 07 Feb 2005 13:38:13 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CyGUV-0006Al-00; Mon, 07 Feb 2005 16:32:19 -0500
From: Gustavo Noronha Silva <kov@debian.org>
To: 293236-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#293236: fixed in gksu 1.2.3-2
Message-Id: <E1CyGUV-0006Al-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 07 Feb 2005 16:32:19 -0500
Delivered-To: 293236-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: gksu
Source-Version: 1.2.3-2

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

gksu_1.2.3-2.diff.gz
  to pool/main/g/gksu/gksu_1.2.3-2.diff.gz
gksu_1.2.3-2.dsc
  to pool/main/g/gksu/gksu_1.2.3-2.dsc
gksu_1.2.3-2_i386.deb
  to pool/main/g/gksu/gksu_1.2.3-2_i386.deb
gnome-sudo_1.2.3-2_all.deb
  to pool/main/g/gksu/gnome-sudo_1.2.3-2_all.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 293236@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gustavo Noronha Silva <kov@debian.org> (supplier of updated gksu 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Mon,  7 Feb 2005 18:33:43 -0200
Source: gksu
Binary: gksu gnome-sudo
Architecture: source i386 all
Version: 1.2.3-2
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <kov@debian.org>
Changed-By: Gustavo Noronha Silva <kov@debian.org>
Description: 
 gksu       - graphical frontend to su
 gnome-sudo - dumb package to provide smooth upgrade to gksu
Closes: 293214 293236
Changes: 
 gksu (1.2.3-2) unstable; urgency=low
 .
   * debian/patches: grabbed from the svn
   - 00_da_translation_update.diff:
    + updated danish translation
   - 01_fadeout.diff, 02_locking.diff:
    + fadeout the screen, do not show window decorations, use
      a simple lock file to avoid duplicate gksu's running
      (Closes: #293214)
   - 03_fix_prompt_and_sudo-mode_behavior.diff:
    + fixes to the configuration interpretation and conffile
      documentation (Closes: 293236)
   - 04_window_or_popup.diff:
    + shows a window or a popup, depending on whether we're
      grabbing or not
Files: 
 05940cf14b5e9f194b2e3a58ebb2b11d 1495 admin optional gksu_1.2.3-2.dsc
 9cc201986917edfcbe77c5a63682e439 20911 admin optional gksu_1.2.3-2.diff.gz
 29b50cc1123b2673770c48f9b5ef0492 13984 gnome optional gnome-sudo_1.2.3-2_all.deb
 03dc353a631297cd273ea4cb8c5a606e 52154 admin optional gksu_1.2.3-2_i386.deb

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

iD8DBQFCB93Et1anjIgqbEsRArv+AJ497QO6rmNSzE6AJfQEi6E8rWzXKgCg6cum
c8inH7Gx3L3cmLLWaCpf0r4=
=xfOj
-----END PGP SIGNATURE-----