Bug#627060: python-debian: successive calls to GpgInfo.from_sequence() remember gpgv args

Julien Cristau jcristau at debian.org
Tue May 17 11:53:33 UTC 2011


Package: python-debian
Version: 0.1.18
Severity: normal

Calling GpgInfo.from_sequence() results in gpgv argument being appended
to the previous args.  Example:

$ strace -f -eexecve python
execve("/usr/bin/python", ["python"], [/* 38 vars */]) = 0
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import debian.deb822
>>> info = debian.deb822.GpgInfo.from_sequence('')
Process 25038 attached
[pid 25038] execve("/usr/bin/gpgv", ["/usr/bin/gpgv", "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"...], [/* 40 vars */]) = 0
Process 25038 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
>>> info = debian.deb822.GpgInfo.from_sequence('')
Process 25041 attached
[pid 25041] execve("/usr/bin/gpgv", ["/usr/bin/gpgv", "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"..., "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"...], [/* 40 vars */]) = 0
Process 25041 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
>>> info = debian.deb822.GpgInfo.from_sequence('')
Process 25045 attached
[pid 25045] execve("/usr/bin/gpgv", ["/usr/bin/gpgv", "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"..., "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"..., "--status-fd", "1", "--keyring", "/usr/share/keyrings/debian-keyri"...], [/* 40 vars */]) = 0
Process 25045 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
>>> 

Cheers,
Julien

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-debian depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-chardet          2.0.1-1          universal character encoding detec
ii  python-support          1.0.10           automated rebuilding support for P

Versions of packages python-debian recommends:
ii  python-apt                    0.7.100.1  Python interface to libapt-pkg

Versions of packages python-debian suggests:
ii  gpgv                          1.4.10-4   GNU privacy guard - signature veri

-- no debconf information





More information about the pkg-python-debian-maint mailing list