Error on locked files causing deja-dup "Backup Failed"

Bug #1605939 reported by Aaron Whitehouse
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
High
Unassigned
duplicity (Ubuntu)
Fix Released
High
Unassigned
Zesty
Fix Released
High
Unassigned

Bug Description

Deja-dup backups display a pop-up window (likely since 0.7-r1224, 0.8-r1111, 2016-06-13) saying:

==
BACKUP FAILED

Error accessing possibly locked file /etc/.pwd.lock

==
This is likely an error in duplicity 0.7.08

Running:
export DEJA_DUP_DEBUG=1
deja-dup --backup

it looks as though the backup is actually completing successfully, but is displaying an error screen. The duplicity command itself can be obtained from the output of the above command:

/usr/bin/duplicity --exclude=/tmp/1604_dup --include=/home/aaron/.cache/deja-dup/metadata --include=/etc --exclude=/home/aaron/Downloads --exclude=/home/aaron/.local/share/Trash --exclude=/sys --exclude=/run --exclude=/proc --exclude=/var/tmp --exclude=/tmp --exclude=/home/aaron/.xsession-errors --exclude=/home/aaron/.steam/root --exclude=/home/aaron/.Private --exclude=/home/aaron/.adobe/Flash_Player/AssetCache --exclude=/home/aaron/.cache/deja-dup --exclude=/home/aaron/.cache --exclude=/home/aaron/.local/share/Steam --exclude=/home/.ecryptfs/aaron/.Private --exclude=** --gio --dry-run --volsize=50 / file:///tmp/1604_dup --verbosity=9 --gpg-options=--no-use-agent --archive-dir=/home/aaron/.cache/deja-dup --tempdir=/tmp

Running this command directly, duplicity appears to run correctly, so this is likely an issue with the duplicity error changing slightly and triggering the "Backup Failed" warning.

Related branches

Changed in duplicity:
status: New → In Progress
assignee: nobody → Aaron Whitehouse (aaron-whitehouse)
importance: Undecided → High
milestone: none → 0.7.09
description: updated
Changed in duplicity:
status: In Progress → Fix Committed
assignee: Aaron Whitehouse (aaron-whitehouse) → nobody
Changed in duplicity:
status: Fix Committed → Fix Released
Vej (vej)
Changed in duplicity (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package duplicity - 0.7.06-2ubuntu3

---------------
duplicity (0.7.06-2ubuntu3) zesty; urgency=medium

  * d/p/backport-fix-tags-in-locked-folders.patch:
    - Fix OSError looking for tag in locked folders with exclude-if-present
      (LP: #1620085)
  * d/p/backport-crash-on-restore.patch:
    - Guard a chown call to avoid a stacktrace (LP: #1642813)
  * d/p/backport-ignore-excluded-locked-files.patch:
    - Ignore excluded locked files rather than giving noisy errors
      (LP: #1089131)
  * d/p/backport-downgrade-error.patch:
    - Make locked file messages be warnings not errors, again. This avoids
      confusing deja-dup. (LP: #1605939)
  * d/p/backport-flush-after-write.patch:
    - Flush after writing a temp file, to keep disk in sync (LP: #1538333)
  * d/p/backport-gpg2.patch:
    - Improve support for gpg2 (fixing FTBFS in process)

 -- Michael Terry <email address hidden> Tue, 07 Mar 2017 18:48:01 -0500

Changed in duplicity (Ubuntu Zesty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.