if symlink is exclude list, target is marked as include

Bug #631517 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
High
Michael Terry
deja-dup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: deja-dup

When specifying symlink as exclude, target of symlink is marked as include (not exclude).
e.g. backing up encrypted /home/$USER, deja-dup unexpectedly includes /home/.ecryptfs/$USER/.Private.

How to reproduce:
1. create symlink.
2. in deja-dup, specify symlink as exclude.

Expected result:
exclude symlink's target.

Actual result:
include symlink's target.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: deja-dup 15.5-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Uname: Linux 2.6.35-19-generic i686
Architecture: i386
Date: Mon Sep 6 20:19:23 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100906)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: deja-dup

Revision history for this message
Nobuto Murata (nobuto) wrote :
Revision history for this message
Nobuto Murata (nobuto) wrote :

I attached deja-dup debug output.
$ DEJA_DUP_DEBUG=1 deja-dup > deja-dup.log 2> deja-dup_error.log

Revision history for this message
Nobuto Murata (nobuto) wrote :
Nobuto Murata (nobuto)
summary: - /home/.ecryptfs/$USER/.Private is unexpectedly included when home
- directory is encrypted
+ if symlink is exclude list, target is marked as include
Nobuto Murata (nobuto)
description: updated
Revision history for this message
Nobuto Murata (nobuto) wrote :

If I create symlink as exclude_folder_symlink -> exclude_folder_body and specify as exclude,
deja-dup outputs like
duplicity '--exclude=/home/user1/exclude_folder_symlink' '--include=/home/user1/exclude_folder_body'

Revision history for this message
Michael Terry (mterry) wrote :

Thanks for the catch. It was a stupid typo. Fixed in trunk.

Changed in deja-dup:
assignee: nobody → Michael Terry (mterry)
importance: Undecided → High
status: New → Fix Committed
Revision history for this message
Nobuto Murata (nobuto) wrote :

Thanks for the fix.
I tested the fix for maverick, then I noticed FTBFS.
I submitted new bug report as Bug #632238.

Anyway, I can confirm this bug was fixed with "./autogen && make" which is described in the link below.
http://live.gnome.org/DejaDup/GettingInvolved/Coding

Michael Terry (mterry)
Changed in deja-dup:
milestone: none → 15.92
Michael Terry (mterry)
Changed in deja-dup:
status: Fix Committed → Fix Released
Michael Terry (mterry)
Changed in deja-dup (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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