Your message dated Tue, 27 Sep 2011 13:55:25 +0000
with message-id <[email protected]>
and subject line Bug#624598: fixed in deja-dup 14.2-1squeeze1
has caused the Debian Bug report #624598,
regarding deja-dup: Restore fails with EOFError
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
624598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624598
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: deja-dup
Severity: important
Version: 14.2-1
Tags: patch fixed-upstream

Déjà Dup in Squeeze and unstable is affected by LP #582720 [1].
Restoring fails with the following stacktrace:

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1239, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1232, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1124, in main
    globals.gpg_profile.passphrase = get_passphrase(1, action)
  File "/usr/bin/duplicity", line 128, in get_passphrase
    pass1 = getpass.getpass("GnuPG passphrase: ")
  File "/usr/lib/python2.6/getpass.py", line 83, in unix_getpass
    passwd = fallback_getpass(prompt, stream)
  File "/usr/lib/python2.6/getpass.py", line 118, in fallback_getpass
    return _raw_input(prompt, stream)
  File "/usr/lib/python2.6/getpass.py", line 135, in _raw_input
    raise EOFError
EOFError

This bug appears on system in sudo mode. It was introduced by the change
in the default configuration of sudo to strip out environment variables.

The bug has been fixed upstream, in revision 728, extracted to the
attached patch.

This issue should be fixed in a Squeeze point release. I am willing to
prepare an upload and coordinate with SRM, if you'd like.

[1] https://bugs.launchpad.net/deja-dup/+bug/582720

Cheers,
-- 
Jérémy Bobbio                        .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
=== modified file 'common/DuplicityInstance.vala'
--- common/DuplicityInstance.vala	2010-10-03 05:24:54 +0000
+++ common/DuplicityInstance.vala	2010-10-11 13:05:22 +0000
@@ -146,7 +146,13 @@
         
         // We have to wrap all current args into one string.
         StringBuilder args = new StringBuilder();
-        foreach(string a in argv) {
+
+        // Set environment variables for subprocess here because sudo reserves
+        // the right to strip them.
+        foreach (string env in envp_in)
+          args.append("export %s\n".printf(env));
+
+        foreach (string a in argv) {
           if (a == null)
             break;
           if (args.len == 0)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: deja-dup
Source-Version: 14.2-1squeeze1

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

deja-dup-dbg_14.2-1squeeze1_i386.deb
  to main/d/deja-dup/deja-dup-dbg_14.2-1squeeze1_i386.deb
deja-dup_14.2-1squeeze1.diff.gz
  to main/d/deja-dup/deja-dup_14.2-1squeeze1.diff.gz
deja-dup_14.2-1squeeze1.dsc
  to main/d/deja-dup/deja-dup_14.2-1squeeze1.dsc
deja-dup_14.2-1squeeze1_i386.deb
  to main/d/deja-dup/deja-dup_14.2-1squeeze1_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.
Jose Carlos Garcia Sogo <[email protected]> (supplier of updated deja-dup 
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: SHA256

Format: 1.8
Date: Mon, 23 May 2011 17:47:59 +0200
Source: deja-dup
Binary: deja-dup deja-dup-dbg
Architecture: source i386
Version: 14.2-1squeeze1
Distribution: stable
Urgency: low
Maintainer: Jose Carlos Garcia Sogo <[email protected]>
Changed-By: Jose Carlos Garcia Sogo <[email protected]>
Description: 
 deja-dup   - Backup utility
 deja-dup-dbg - Déjà Dup debugging symbols
Closes: 624598
Changes: 
 deja-dup (14.2-1squeeze1) stable; urgency=low
 .
   * Fix problem with GPG which makes restore impossible, as it now
     fails with EOFError. Patch picked from upstream code, revision 728.
     Thanks to Jérémy Bobbio for reporting and providing the patch.
     (Closes: #624598)
Checksums-Sha1: 
 9386b5c1a9882e79c9f5b5b0c46273f7b967a01e 2039 deja-dup_14.2-1squeeze1.dsc
 644132b4e3d1c4b595e3539c5910193e9d9b11f6 5450 deja-dup_14.2-1squeeze1.diff.gz
 a9f7f24ecd399b253bcfb796914f31b0118993c2 415646 
deja-dup_14.2-1squeeze1_i386.deb
 379a432132a9b037c28422a689593082622e614a 775824 
deja-dup-dbg_14.2-1squeeze1_i386.deb
Checksums-Sha256: 
 154148bbc2e7e828e89c910e1a3eb4e834eca1c25a6aae07e8a5b60cad70a4e8 2039 
deja-dup_14.2-1squeeze1.dsc
 48eeb55bb94be7d470fba0802052f5b225efe5606cb99724866b515cc652f599 5450 
deja-dup_14.2-1squeeze1.diff.gz
 504e463189637e7d9579db598909040551b8e7128f6d39be79f8bcc9a6c01515 415646 
deja-dup_14.2-1squeeze1_i386.deb
 24e20d75dc4736eb997167ec42553fccdd9a3650a0da079c3f9aeecfb1faba81 775824 
deja-dup-dbg_14.2-1squeeze1_i386.deb
Files: 
 e60ea4f62aff4d1afb4b3cd0fd145bad 2039 utils optional 
deja-dup_14.2-1squeeze1.dsc
 e46d91a3cd68f1480ca055356e433390 5450 utils optional 
deja-dup_14.2-1squeeze1.diff.gz
 6f005e77ff11a972cef2950497da669c 415646 utils optional 
deja-dup_14.2-1squeeze1_i386.deb
 c93ca6225e5da14ea5cc8a5a5a31efcd 775824 debug extra 
deja-dup-dbg_14.2-1squeeze1_i386.deb

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

iQIcBAEBCAAGBQJOaxabAAoJEEgU3sIrMHw8qb0P/3ZoHBtYjSEC1LgTfOYMANgx
vwNdlWXwOMolhfq/gBrm0MgGnlA8tGqKTV183hc5rbkFsULAWqvUJ4IOJg3sAznq
BU6lWaNke01vPN5UEFCillXzZjJLfk/NbQXQCKTA767kVQ05Z42WOVv9kqwhlQkz
Cobl9VOM7TJDnRzBELuKT5zBPGgr/T+5FeGoicUkI/ardSc10H8QaObuSKXuvMA5
c/llCD1SuVTU2b4LQBeHtGnRBKgxJGkaeDQR9ZbNjgYG1XJnRibJ4sX+8lb35zwy
X05CKD2NZ/qpqt7r2RExqaYHgqM24ooDJX/sx5rPdK1n7Mw8rWiG/VgrWttauIw1
mqPuZmpY2sjYTSXhpCxM1syJ3QmaVtmTrgZIv81PCTma+7eGPpVc2dmSSshEepru
5iULH5BwAhXJ7iX3otZN8UVoJqqsDlSmDiual3abowAwaOe6uoYTuXafePaVUhqF
bLV+/CvO74cWVk2MWz2M/kJsAPxRrLhdf+Big8WHEIaCjJGH/0fS/ygBXSfN8xKB
fFmkA8YXm+3bUDCkJ422j9HfvSK0ckJIOOSkNgvqI13/IzcwS/5OjxGZVPomdois
xXRsH1aNdyqGF23qoZatNvFV63AU4YMUWHV3Jn4Nn1iijB/NC0eP42mNCYMofb5q
abcUMNEjXmoR7aL+/E/N
=jSmJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to