summaryrefslogtreecommitdiff
path: root/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001182.M282643P8737Q28.hrun
blob: adc2fb997c606b28db04b8c7a113c2275e23615f (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
154
155
156
157
158
159
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 422FB2B88C
	for <distix@pieni.net>; Tue, 22 Dec 2015 15:10:09 +0100 (CET)
Received: from platypus.pepperfish.net (unknown [10.112.100.20])
	by bagpuss.pepperfish.net (Postfix) with ESMTP id A8279B8E;
	Tue, 22 Dec 2015 14:10:08 +0000 (GMT)
Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1aBNdg-0001Ok-Id; Tue, 22 Dec 2015 14:10:08 +0000
Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net)
 by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
 id 1aBNdf-0001OT-86
 for <obnam-dev@obnam.org>; Tue, 22 Dec 2015 14:10:07 +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 1aBNdZ-0000ps-L0
 for obnam-dev@obnam.org; Tue, 22 Dec 2015 14:10:07 +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 364B22B88C;
 Tue, 22 Dec 2015 15:09:55 +0100 (CET)
Received: from exolobe1.liw.fi (localhost [127.0.0.1])
 by exolobe1.liw.fi (Postfix) with ESMTPS id 02E8C54B07;
 Tue, 22 Dec 2015 15:09:53 +0100 (CET)
Date: Tue, 22 Dec 2015 15:09:51 +0100
From: Lars Wirzenius <liw@liw.fi>
To: Ben Boeckel <mathstuf@gmail.com>
Message-ID: <20151222140951.GW2511@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>
 <20151221153318.GR2511@exolobe1.liw.fi>
 <20151221161706.GD21839@megas.khq.kitware.com>
 <20151221165932.GS2511@exolobe1.liw.fi>
 <20151222140051.GB11335@megas.khq.kitware.com>
MIME-Version: 1.0
In-Reply-To: <20151222140051.GB11335@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, Tue, 22 Dec 2015 14:10:07 +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: 34ff9891efaf7efdecd1e14d498a2725
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="===============1321380940201291111=="
Mime-version: 1.0
Sender: obnam-dev-bounces@obnam.org
Errors-To: obnam-dev-bounces@obnam.org


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


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

On Tue, Dec 22, 2015 at 09:00:51AM -0500, Ben Boeckel wrote:
> Wait, so let me get this straight:
>=20
>   - adding it to obnam is too specific;
>   - using systemd-inhibit is too generic (needs enough parameters that
>     manually typing it is annoying);
>   - so making something *like* obnam-inhibit is the right way;
>   - but instead of having obnam provide such a thing, everyone has to
>     make their own?
>=20
> Making a full-blown repo for a single script with the content of:
>=20
>     #!/bin/sh
>     exec systemd-inhibit --who=3Dobnam --why=3D"running a backup" obnam "=
$@"
>=20
> seems a little absurd to me.

You said systemd-inhibit is too cumbersome to use. That doesn't look
particularly cumbersome to me, so I'd be happy to just tell people to
use systemd-inhibit.

Reading the systemd-inhibit manpage tells me that --who and --why are
optional, not mandatory, making it quite easy to use, in my opinion.

Problem solves, as far as I can see.

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

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

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

iQIcBAEBCAAGBQJWeVmvAAoJEGwvphbseiAxNW8QAIvi2Wm2EqlrMUq8fLNrGPp3
xv/WgZyafabG9WbQ6xKQAUKEdDyMOvlvqFJjgj4OOULFdT7ZVrsv5bALGjWcDRDo
WxSyWfk1DEvzRnFKQAJUXwakFISmYNUIatmMe48TDEx6axUWpWoBNWg+c/uKQ0zL
RMbLURcP34aTS/6AQhcF2CiVdHjys/RYkTB3auKuGJo+tdeSNz4YHfpJ/C46CM0X
dA4kQRaLZX0YCj7QrZt0ZR669Jph0fuQ4nuTbAQFqEhQ6vX31KG3lgxcA6ozi7XZ
O0UpVRuO2zUS9w0ukJwPpRc3J+LZFP4QSvCmO5ou64g/50qGOL0e3jv1hvIvTve5
JleSk+mmPC4UWne2OpQKS3upW54PTi+CM2d/j+yd24fB9bicCsYJl8z7MQNypbzu
i0D7oNkHMd3j/Lj98TLxWFK7LdcCk9Bi1ogl9AHmvXZqW+xUtCnTcttMdgNCDyq7
tnvgkkDw6O3PPZ+KVHtfBng4UWY+gLvEk89R3pYvzvWPYpth6eXtcTJB/x4IlBgR
ZRWS/LNkd0zXDRscu+D3jlytHqwSlLaQ8tXXIAaQWntIiecOPKyC6fipAR+8ga3Z
3b04Qr+Vq+t2sA+7mHET2zFD2r7psgPLQC929RN6yfhhj0wDjojL8+mBT95pQ8CZ
/RvT20a+m+9RyObotykh
=fv7p
-----END PGP SIGNATURE-----

--MhP8cYafZlTESjGT--


--===============1321380940201291111==
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

--===============1321380940201291111==--