Debian Bug report logs - #535544
libgksu 2.0.12 & tty_tickets does not match

version graph

Package: libgksu; Maintainer for libgksu is Gustavo Noronha Silva <kov@debian.org>;

Reported by: "Michael Vogt" <michael.vogt@ubuntu.com>

Date: Fri, 3 Jul 2009 07:12:01 UTC

Severity: normal

Found in version 2.0.12-1

Fixed in version libgksu/2.0.13~pre1-1

Done: Gustavo Noronha Silva <kov@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Gustavo Noronha Silva <kov@debian.org>:
Bug#535544; Package libgksu. (Fri, 03 Jul 2009 07:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Michael Vogt" <michael.vogt@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Gustavo Noronha Silva <kov@debian.org>. (Fri, 03 Jul 2009 07:12:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Michael Vogt" <michael.vogt@ubuntu.com>
To: submit@bugs.debian.org
Subject: libgksu 2.0.12 & tty_tickets does not match
Date: Fri, 03 Jul 2009 09:09:13 +0200
Package: libgksu
Version: 2.0.12-1


Hello,

I debugged a problem with 2.0.12 and Ubuntu this morning and it turns
out that using forkpty() for sudo is incompatible with the sudo
"tty_tickets" configuration (that is the default in Ubuntu). 

With that config a ticket is held for per tty. So after forkpty() the
pty is say 10 but the parent is still in 2. "sudo -v" works, but the
subsequent call of the command will fail because sudo only has a
ticket for pty 10 not for 2.

In Ubuntu, I uploaded a reverted libgksu.c for now but I would like to
hear your opinion. Initial I just removed the verifycmd to restore the
old behavior, but with that "sudo -k" in a terminal does not work
anymore because the ticket is on a different pty from where "sudo -k"
is run. And because there is no global "sudo -k-all" it meas that this
pty has a valid ticket until it expires (not ideal). 

My gut-feeling is that the forkpty() changes are not ideal and the old
pipe behavior should be restored, but maybe you have a good idea how
both can be kept?

Thanks,
 Michael




Reply sent to Gustavo Noronha Silva <kov@debian.org>:
You have taken responsibility. (Sun, 16 Aug 2009 23:15:42 GMT) (full text, mbox, link).


Notification sent to "Michael Vogt" <michael.vogt@ubuntu.com>:
Bug acknowledged by developer. (Sun, 16 Aug 2009 23:15:42 GMT) (full text, mbox, link).


Message #10 received at 535544-close@bugs.debian.org (full text, mbox, reply):

From: Gustavo Noronha Silva <kov@debian.org>
To: 535544-close@bugs.debian.org
Subject: Bug#535544: fixed in libgksu 2.0.13~pre1-1
Date: Sun, 16 Aug 2009 22:47:14 +0000
Source: libgksu
Source-Version: 2.0.13~pre1-1

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

libgksu2-0_2.0.13~pre1-1_amd64.deb
  to pool/main/libg/libgksu/libgksu2-0_2.0.13~pre1-1_amd64.deb
libgksu2-dev_2.0.13~pre1-1_amd64.deb
  to pool/main/libg/libgksu/libgksu2-dev_2.0.13~pre1-1_amd64.deb
libgksu_2.0.13~pre1-1.diff.gz
  to pool/main/libg/libgksu/libgksu_2.0.13~pre1-1.diff.gz
libgksu_2.0.13~pre1-1.dsc
  to pool/main/libg/libgksu/libgksu_2.0.13~pre1-1.dsc
libgksu_2.0.13~pre1.orig.tar.gz
  to pool/main/libg/libgksu/libgksu_2.0.13~pre1.orig.tar.gz



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 535544@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 libgksu 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: SHA256

Format: 1.8
Date: Mon, 29 Jun 2009 16:42:59 -0300
Source: libgksu
Binary: libgksu2-0 libgksu2-dev
Architecture: source amd64
Version: 2.0.13~pre1-1
Distribution: unstable
Urgency: low
Maintainer: Gustavo Noronha Silva <kov@debian.org>
Changed-By: Gustavo Noronha Silva <kov@debian.org>
Description: 
 libgksu2-0 - library providing su and sudo functionality
 libgksu2-dev - library providing su and sudo functionality (development files)
Closes: 535544 540176
Changes: 
 libgksu (2.0.13~pre1-1) unstable; urgency=low
 .
   * Upstream snapshot
   - tries to address the forkpty problem, by basically turning it into a
     configure option; this should enable usage in Fedora/RedHat, while
     still working good in Debian/Ubuntu (Closes: #540176, #535544)
Checksums-Sha1: 
 b6b0f61852e7a21fc1af8c9fb41f30243e13f61b 1790 libgksu_2.0.13~pre1-1.dsc
 d895618aba15804bc9f163c3aad29c3243432132 479653 libgksu_2.0.13~pre1.orig.tar.gz
 4e7df847d484cdd9e4c062f7e032c16d2e8c0011 13563 libgksu_2.0.13~pre1-1.diff.gz
 213694010d9a60dd3528d464a7ce94a980eb2eaa 77434 libgksu2-0_2.0.13~pre1-1_amd64.deb
 0f2520556bd4f12f96b9187f14d9a7e5e7da95b6 61984 libgksu2-dev_2.0.13~pre1-1_amd64.deb
Checksums-Sha256: 
 d19ebfec4e7b7e8e1d304b3f068a350bb5c1b33590c12d3e84b20251d198e333 1790 libgksu_2.0.13~pre1-1.dsc
 a82c051322b8a937e0850e6c000c3eb50295871fbdafd3057ec29328404295a2 479653 libgksu_2.0.13~pre1.orig.tar.gz
 08e83ea20655b3b85a26898ee4d06dc6735d41abf4405bae4b0082d81db0e877 13563 libgksu_2.0.13~pre1-1.diff.gz
 15a7b7d4202986fa59b7d3925520f4711415781bb8284e5ae28bcde6efde456c 77434 libgksu2-0_2.0.13~pre1-1_amd64.deb
 6e7c6a3fe0efbde43764755743f35d4021771a972b6cf62b2ac27014ace80cea 61984 libgksu2-dev_2.0.13~pre1-1_amd64.deb
Files: 
 0fd0ef5441aef9cbaeae8f3a145af3bb 1790 admin optional libgksu_2.0.13~pre1-1.dsc
 0794a1e68100680e9cac1f885b10cb11 479653 admin optional libgksu_2.0.13~pre1.orig.tar.gz
 5dd04d5e55979493f1de4c284ae1db30 13563 admin optional libgksu_2.0.13~pre1-1.diff.gz
 52ce74d72deb06594ef501528a68cab8 77434 libs optional libgksu2-0_2.0.13~pre1-1_amd64.deb
 6743c6bd4bc6df608f3f57d5d60d9864 61984 libdevel optional libgksu2-dev_2.0.13~pre1-1_amd64.deb

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

iQEcBAEBCAAGBQJKiIdgAAoJENIA6zCg+12m5WcH/1Z33Gz4x7LEGKCuGxrK+JnU
8amaPqLlFjXtl62kFU1zp33WRJ22BRhGkaso1W1+526nE/GVzJD5xfeR1i+gB2Bm
8c1GNelZCaEdAbqG87T7W9oNSTsklPaT/GA/R8voZB2xDEJD8eQ+Q9fRsX/0SOva
JrW1OOlM6mPFyij6ZZ72i0RaFEMuyRMw6oxKHmJe3wdbRPbdvukiEEADaPvxQLM0
vtAUGB/HdcDARyMYZQa7Fd9cr77aFVhj56j8wTTJuYpQPgwF3DNHV4pIThcFSCvW
vKkohV7to9aBpBj4wv2vqYAqoLfvhS0Vqb0kYenx4cQ8XMD8UpztIglqHf77RlU=
=uDD5
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 20 Sep 2009 07:32:10 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 9 20:53:18 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.