summaryrefslogtreecommitdiff
path: root/tickets/8b02a339d62345ee9a0847fa0015d406/Maildir/new/1472379310.M719059P13842Q1.hrun
blob: ca0ae8eb14c5c3ea57d3fba254f9256f36403c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Return-Path: <obnam-dev-bounces@obnam.org>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from bagpuss.pepperfish.net (bagpuss.pepperfish.net [148.251.8.16])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pieni.net (Postfix) with ESMTPS id 45F442041F
	for <distix@pieni.net>; Sun, 28 Aug 2016 12:10:45 +0200 (CEST)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id D3A28DF;
	Sun, 28 Aug 2016 11:10:44 +0100 (BST)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1bdx36-00036s-Mf; Sun, 28 Aug 2016 11:10:44 +0100
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1bdx35-00036l-5V
 for <obnam-dev@obnam.org>; Sun, 28 Aug 2016 11:10:43 +0100
Received: from dd20434.kasserver.com ([85.13.140.148])
 by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from <development@maxgaukler.de>)
 id 1bdx33-0000C2-HL
 for obnam-dev@obnam.org; Sun, 28 Aug 2016 11:10:43 +0100
Received: from [192.168.1.46]
 (dslb-088-077-016-247.088.077.pools.vodafone-ip.de [88.77.16.247])
 by dd20434.kasserver.com (Postfix) with ESMTPSA id 16E573380129
 for <obnam-dev@obnam.org>; Sun, 28 Aug 2016 12:10:34 +0200 (CEST)
From: Maximilian Gaukler <development@maxgaukler.de>
To: obnam-dev@obnam.org
Message-ID: <88c2c42e-3e39-ad29-c921-d078a62aa023@maxgaukler.de>
Date: Sun, 28 Aug 2016 12:11:13 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Icedove/45.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -3.1
X-Spam-Score-int: -30
X-Spam-Bar: ---
X-Scanned-By: pepperfish.net, Sun, 28 Aug 2016 11:10:43 +0100
X-Spam-Report: Content analysis details: (-3.1 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.5 PPF_USER_AGENT         User-Agent: exists
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at http://www.dnswl.org/, low
 trust [85.13.140.148 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-ACL-Warn: message may be spam
X-Scan-Signature: 625f24d4d5a9233cab8b0380f6b09df7
Subject: [BUG] verify fails for relative root paths
X-BeenThere: obnam-dev@obnam.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Obnam development discussions <obnam-dev-obnam.org>
List-Unsubscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=unsubscribe>
List-Archive: <http://listmaster.pepperfish.net/pipermail/obnam-dev-obnam.org>
List-Post: <mailto:obnam-dev@obnam.org>
List-Help: <mailto:obnam-dev-request@obnam.org?subject=help>
List-Subscribe: <http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org>,
 <mailto:obnam-dev-request@obnam.org?subject=subscribe>
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org

Hi,

verification fails when using a relative root path, as it can be seen 
from the following simple testcase:


Commands to reproduce: (I still have to learn how to write these yarn 
files...)

# setup test data
mkdir -p src dest
obnam backup --root=src --repository=dest

# relative dir -- fails
obnam verify --root=src --repository=dest

# absolute dir -- works
obnam verify --root=`pwd`/src --repository=dest



Output:

Backed up 1 files (of 1 found), uploaded 0.0 B in 0s at 0.0 B/s average 
speed

# relative dir:
ERROR: R3E151X: Client my-hostname, generation 2 does not have file src

# absolute dir:
00h00m00s verifying file 2/1 0 B/0 B 0 %: /tmp/obnam-test/src
Verify did not find problems.





Thanks,

Max

_______________________________________________
obnam-dev mailing list
obnam-dev@obnam.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org