[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-16 Thread Launchpad Bug Tracker
This bug was fixed in the package lftp - 4.8.1-1ubuntu0.2

---
lftp (4.8.1-1ubuntu0.2) bionic; urgency=medium

  * Fix crash on exit observed with libc6 2.27-3ubuntu1.3 (LP: #1902832)

 -- Balint Reczey   Thu, 05 Nov 2020 22:06:49 +0100

** Changed in: lftp (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-13 Thread ali
any information when the package will be released to -updates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-09 Thread Matthias Homann
I faced this issue, which first triggered another bug #1770929
UnicodeDecodeError so that I didn't see the root cause from this lftp
bug directly.

With the lftp (4.8.1-1ubuntu0.2) from bionic-proposed the duplicity
backup now works again, thanks for the quick fix!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-07 Thread Wolfgang Karall-Ahlborn
Hi,

I can confirm using the version in bionic-proposed (4.8.1-1ubuntu0.2) of
lftp in combination with the glibc package version 2.27-3ubuntu1.3
allowed me to run a successful duplicity backup as well as checking the
current status on the FTP space in use, both of which use lftp.

Cheers
Wolfgang

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-06 Thread Timo Aaltonen
Hello Carsten, or anyone else affected,

Accepted lftp into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/lftp/4.8.1-1ubuntu0.2
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: lftp (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-06 Thread Balint Reczey
Thank you, I've uploaded the fix. It is now waiting for being accepted
to bionic-proposed.

** Changed in: lftp (Ubuntu Bionic)
   Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-06 Thread Balint Reczey
** Description changed:

+ [Impact]
+ 
+  * Lftp crashes on exit after transferring files. This affects duplicity
+ that uses lftp as a backend.
+ 
+ [Test Case]
+  * Run:
+ 
+  valgrind lftp -e 'get gnu/glibc/nss_db-2.2.tar.gz;exit' ftp.gnu.org
+ 
+  * The fixed package should not perform an invalid read.
+ 
+ [Where problems could occur]
+ 
+  * The change affects how the program cleans up internal structures thus
+ it could crash in different ways due to regressions introduced by the
+ fix.
+ 
+ [Original Bug Text]
+ 
  We are using duplicity 0.7.17 and Ubuntu 18.04 LTS.
  
  After upgrading these packages in Ubuntu:
  
  Upgrade: libc-bin:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3)
  Upgrade: locales:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3)
  Upgrade: multiarch-support:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3)
- Upgrade: libc6-dev:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3), 
+ Upgrade: libc6-dev:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3),
  Upgrade: libc6:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3)
  Upgrade: libc-dev-bin:amd64 (2.27-3ubuntu1.2, 2.27-3ubuntu1.3)
  
  the duplicity/lftp support stopped working. It worked for years just
  fine before that.
  
  Basic error message is:
  
  Giving up after 5 attempts. BackendException: Error running 'lftp -c
  "source /tmp/duplicity-gVCsqa-tempdir/mkstemp-serY3Q-1; ( cd etc_backup/
  && ls ) || ( mkdir -p etc_backup/ && cd etc_backup/ && ls )"': returned
  -11, with output:
  
  Error/debug output:
  
  Using archive dir: /root/.duplicity/etc_daily
  Using backup name: etc_daily
  GPG binary is gpg, version 2.2.4
  Import of duplicity.backends.acdclibackend Succeeded
  Import of duplicity.backends.azurebackend Succeeded
  Import of duplicity.backends.b2backend Succeeded
  Import of duplicity.backends.botobackend Succeeded
  Import of duplicity.backends.cfbackend Succeeded
  Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
  Import of duplicity.backends.gdocsbackend Succeeded
  Import of duplicity.backends.giobackend Succeeded
  Import of duplicity.backends.hsibackend Succeeded
  Import of duplicity.backends.hubicbackend Succeeded
  Import of duplicity.backends.imapbackend Succeeded
  Import of duplicity.backends.lftpbackend Succeeded
  Import of duplicity.backends.localbackend Succeeded
  Import of duplicity.backends.mediafirebackend Succeeded
  Import of duplicity.backends.megabackend Succeeded
  Import of duplicity.backends.multibackend Succeeded
  Import of duplicity.backends.ncftpbackend Succeeded
  Import of duplicity.backends.onedrivebackend Succeeded
  Import of duplicity.backends.par2backend Succeeded
  Import of duplicity.backends.pydrivebackend Succeeded
  Import of duplicity.backends.rsyncbackend Succeeded
  Import of duplicity.backends.ssh_paramiko_backend Succeeded
  Import of duplicity.backends.ssh_pexpect_backend Succeeded
  Import of duplicity.backends.swiftbackend Succeeded
  Import of duplicity.backends.sxbackend Succeeded
  Import of duplicity.backends.tahoebackend Succeeded
  Import of duplicity.backends.webdavbackend Succeeded
  LFTP version is 4.8.1
  Using temporary directory /tmp/duplicity-_Mgype-tempdir
  Registering (mkstemp) temporary file 
/tmp/duplicity-_Mgype-tempdir/mkstemp-55iPLR-1
  SETTINGS:
  set ssl:verify-certificate true
  set ftp:ssl-allow false
  set http:use-propfind true
  set net:timeout 30
  set net:max-retries 5
  set ftp:passive-mode on
  debug
  open -u ',' 
ftp://hostname.your-storagebox.de
  
  Main action: remove-all-but-n-full
  Acquiring lockfile /root/.duplicity/etc_daily/lockfile
  

  duplicity 0.7.17 (February 26, 2018)
  Args: /usr/bin/duplicity remove-all-but-n-full 7 -v9 
--archive-dir=/root/.duplicity --force --name etc_daily --no-encryption 
ftp://@.your-storagebox.de/etc_full
  Linux  4.15.0-122-generic #124-Ubuntu SMP Thu Oct 15 
13:03:05 UTC 2020 x86_64 x86_64
  /usr/bin/python2 2.7.17 (default, Sep 30 2020, 13:38:04)
  [GCC 7.5.0]
  

  CMD: lftp -c "source /tmp/duplicity-_Mgype-tempdir/mkstemp-55iPLR-1; ( cd 
etc_full/ && ls ) || ( mkdir -p etc_full/ && cd etc_full/ && ls )"
  Reading results of 'lftp -c "source 
/tmp/duplicity-_Mgype-tempdir/mkstemp-55iPLR-1; ( cd etc_full/ && ls ) || ( 
mkdir -p etc_full/ && cd etc_full/ && ls )"'
  Backtrace of previous error: Traceback (innermost last):
-   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 369, in 
inner_retry
- return fn(self, *args)
-   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 578, in 
list
- return [tobytes(x) for x in self.backend._list()]
-   File "/usr/lib/python2.7/dist-packages/duplicity/backends/lftpbackend.py", 
line 181, in _list
- _, l, e = self.subprocess_popen(commandline)
-   File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 499, in 
subprocess_popen
- (logstr, result, stdout 

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-06 Thread Wolfgang Karall-Ahlborn
I can confirm that using

https://launchpad.net/~ci-train-ppa-
service/+archive/ubuntu/4326/+files/lftp_4.8.1-1ubuntu0.2~rbalint1_amd64.deb

in combination with the glibc package version 2.27-3ubuntu1.3 allowed me
to run a successful duplicity backup as well as checking the current
status on the FTP space in use, both of which use lftp.

Cheers
Wolfgang

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-06 Thread Balint Reczey
I have prepared at potential fix in 
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4326 .
Could you please verify that it indeed fixes the case with duplicity? (You may 
have encountered a different crash than what I've found.)


** Changed in: glibc (Ubuntu Focal)
   Status: New => Invalid

** Changed in: lftp (Ubuntu Bionic)
   Status: Confirmed => Incomplete

** Changed in: lftp (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: lftp (Ubuntu Bionic)
 Assignee: (unassigned) => Balint Reczey (rbalint)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1902832] Re: duplicity's lftp support broken - exits with error_code -11 on Bionic

2020-11-05 Thread Balint Reczey
** Summary changed:

- lftp support broken - exits with error_code -11 on Bionic
+ duplicity's lftp support broken - exits with error_code -11 on Bionic

** Also affects: glibc (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: lftp (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: lftp (Ubuntu Focal)
   Status: New => Fix Released

** Changed in: lftp (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902832

Title:
  duplicity's lftp support broken - exits with error_code -11 on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1902832/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs