summaryrefslogtreecommitdiff
path: root/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001181.M605109P8737Q27.hrun
blob: 40c2a1c6027c9a8bb46d23948a5349c2f758e7c2 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
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 47C412B24B
	for <distix@pieni.net>; Mon, 21 Dec 2015 16:33:34 +0100 (CET)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id E0F9EBA8;
	Mon, 21 Dec 2015 15:33:33 +0000 (GMT)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1aB2Sr-00012c-QS; Mon, 21 Dec 2015 15:33:33 +0000
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1aB2Sq-00012V-AG
 for <obnam-dev@obnam.org>; Mon, 21 Dec 2015 15:33:32 +0000
Received: from pieni.net ([95.142.166.37] ident=postfix)
 by mx0.pepperfish.net with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from <liw@liw.fi>) id 1aB2So-0003fB-KY
 for obnam-dev@obnam.org; Mon, 21 Dec 2015 15:33:32 +0000
Received: from exolobe1.liw.fi (188-127-214-94.cust.suomicom.net
 [188.127.214.94])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by pieni.net (Postfix) with ESMTPSA id 96D072B24B;
 Mon, 21 Dec 2015 16:33:23 +0100 (CET)
Received: from exolobe1.liw.fi (localhost [127.0.0.1])
 by exolobe1.liw.fi (Postfix) with ESMTPS id 8DE4040373;
 Mon, 21 Dec 2015 16:33:19 +0100 (CET)
Date: Mon, 21 Dec 2015 16:33:18 +0100
From: Lars Wirzenius <liw@liw.fi>
To: Ben Boeckel <mathstuf@gmail.com>
Message-ID: <20151221153318.GR2511@exolobe1.liw.fi>
References: <20150918050247.GA8128@bronto-burt.dev.benboeckel.net>
 <1446094196-14166-1-git-send-email-mathstuf@gmail.com>
 <20151029045526.GA13909@bronto-burt.dev.benboeckel.net>
 <20151220141633.GE2511@exolobe1.liw.fi>
 <20151221152224.GA21839@megas.khq.kitware.com>
MIME-Version: 1.0
In-Reply-To: <20151221152224.GA21839@megas.khq.kitware.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Score: -3.4
X-Spam-Score-int: -33
X-Spam-Bar: ---
X-Scanned-By: pepperfish.net, Mon, 21 Dec 2015 15:33:32 +0000
X-Spam-Report: Content analysis details: (-3.4 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 PPF_USER_AGENT_MUTT    User-Agent: contains Mutt (Mutt isn't a spam
 tool) -0.5 PPF_USER_AGENT         User-Agent: exists
 -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: 058b39b569832a6e6ccbf5e13e8e5099
Cc: obnam-dev@obnam.org
Subject: Re: [PATCH] backup: take an inhibitor lock if possible
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>
Content-Type: multipart/mixed; boundary="===============7837139761901678045=="
Mime-version: 1.0
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org


--===============7837139761901678045==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="ffBYM5qgR8HH9Mta"
Content-Disposition: inline


--ffBYM5qgR8HH9Mta
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 21, 2015 at 10:22:24AM -0500, Ben Boeckel wrote:
> On Sun, Dec 20, 2015 at 15:16:33 +0100, Lars Wirzenius wrote:
> > I'm not entirely sure I'm comfortable adding this kind of code to
> > Obnam. I think it'd be better off as a separate utility, kind of like
> > the flock utility. It could be used like this:
> >=20
> >     inhibit-suspend obnam backup
> >=20
> > Such a utility would be more generic than code specifically in Obnam.
>=20
> This tool already exists as `systemd-inhibit`. The problem is that it
> needs numerous arguments to be useful

That just indicates to me that you should write a simpler program,
perhaps as a wrapper around systemd-inhibit. :)

> it's just expected behavior that the screen doesn't lock when a
> video is playing just as suspending in the middle of a backup is not
> something I think anyone would expect (or want barring power-down
> due to low battery or a failing UPS).

GUI programs such as video players are not generally composable.
Command line programs such as Obnam are. That's an important
distinction.

--=20
Schr=F6dinger's backup hypothesis: the condition of any backup is
undefined until a restore is attempted. -- andrewsh

--ffBYM5qgR8HH9Mta
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWeBu+AAoJEGwvphbseiAxxTEQALve1w8qCQnO1dSjmai813sA
qUNdIbACS6Ga4xDZlWIdSsu2haD0wVve99THcsa8KUdNFEU3JYNKQCQjgEUN/BnP
fsTqmVv/19FaXxakXXw+hebfj21xMOQWst+ogU7kuOR7G7orIdEsgXL+K+COtKP/
FnLx6w1SFpMAzt/oH23AvZAVcgZT7GAO2AJrO6GfDfV5CCG8ZRnGG5Bv06IJKdaw
PDcNj3N55UQ94cXquZ2mtu6KfZjfDiRh0k4pnFxtg0f6IZSN9HtF/a+5+pn0N1uW
Z4JGvxNwuh7WKSsEFYV3kXQ4ylj85/En7skPsyDOuuYgMpJRz2OKd1utsJ6AGcmW
uG8sVMWCODy8Gr9kNHukPxiXB/B5wmLi9bNdZl5xvDgSN7RnWqmDwV6rF6fdI1FP
L1WYPtgeN7vFETsXQNK8EtrM1DHPDuz8l4F4p6NS4NGZ+Qv7M0dRc48L/0y4fnSv
TKTZRIt+JqWLBPJUGB6fFYrLT/o7bFQeIOg8X9B0PaRy4GOKsU4bNzB5kBobJc9Q
ELAOFA9l+2Dut/Xx/N4uFzEQieryPKon6dBfMpvXUJVJXIE+dEI+ACcJjSRoJc1Z
Q8DMNl9BP+3WMSnu8oXlZbJgYYKfQb/9moTGM6A8TtZKRcT/fxB1ljYKlDJwzGrT
Qvl5UzJ+iZSuEzP4oJSK
=eC+C
-----END PGP SIGNATURE-----

--ffBYM5qgR8HH9Mta--


--===============7837139761901678045==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============7837139761901678045==--