Error on locked files causing deja-dup "Backup Failed"
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=
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
- duplicity-team: Pending requested
-
Diff: 18 lines (+4/-4)1 file modifiedduplicity/selection.py (+4/-4)
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 |
Changed in duplicity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
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: crash-on- restore. patch: ignore- excluded- locked- files.patch: downgrade- error.patch: flush-after- write.patch: gpg2.patch:
- Fix OSError looking for tag in locked folders with exclude-if-present
(LP: #1620085)
* d/p/backport-
- Guard a chown call to avoid a stacktrace (LP: #1642813)
* d/p/backport-
- Ignore excluded locked files rather than giving noisy errors
(LP: #1089131)
* d/p/backport-
- Make locked file messages be warnings not errors, again. This avoids
confusing deja-dup. (LP: #1605939)
* d/p/backport-
- Flush after writing a temp file, to keep disk in sync (LP: #1538333)
* d/p/backport-
- Improve support for gpg2 (fixing FTBFS in process)
-- Michael Terry <email address hidden> Tue, 07 Mar 2017 18:48:01 -0500