From d190ffef52edc6307eed4920a1ae1fc90aa27f8e Mon Sep 17 00:00:00 2001 From: Distix listener Date: Sat, 20 Feb 2016 21:46:30 +0100 Subject: imported mails --- .../Maildir/new/1456001176.M722325P8737Q17.hrun | 157 +++++++++++++++++++ .../Maildir/new/1456001178.M44641P8737Q19.hrun | 118 +++++++++++++++ .../Maildir/new/1456001178.M94329P8737Q20.hrun | 154 +++++++++++++++++++ .../Maildir/new/1456001181.M605109P8737Q27.hrun | 153 +++++++++++++++++++ .../Maildir/new/1456001182.M282643P8737Q28.hrun | 159 ++++++++++++++++++++ .../Maildir/new/1456001185.M320574P8737Q35.hrun | 167 +++++++++++++++++++++ .../Maildir/new/1456001190.M761385P8737Q45.hrun | 128 ++++++++++++++++ 7 files changed, 1036 insertions(+) create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001176.M722325P8737Q17.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M44641P8737Q19.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M94329P8737Q20.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001181.M605109P8737Q27.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001182.M282643P8737Q28.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001185.M320574P8737Q35.hrun create mode 100644 tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001190.M761385P8737Q45.hrun (limited to 'tickets/20bdae3913de49d4afd544d36996ce4b') diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001176.M722325P8737Q17.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001176.M722325P8737Q17.hrun new file mode 100644 index 0000000..2b6f5d2 --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001176.M722325P8737Q17.hrun @@ -0,0 +1,157 @@ +Return-Path: +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 578BD2B99B + for ; Tue, 22 Dec 2015 15:01:16 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id A38BEB8E; + Tue, 22 Dec 2015 14:01:15 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aBNV5-0000gV-HL; Tue, 22 Dec 2015 14:01:15 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aBNV4-0000gH-Ld + for ; Tue, 22 Dec 2015 14:01:14 +0000 +Received: from mail-ig0-f173.google.com ([209.85.213.173]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) id 1aBNUv-0000fe-H7 + for obnam-dev@obnam.org; Tue, 22 Dec 2015 14:01:14 +0000 +Received: by mail-ig0-f173.google.com with SMTP id m11so50031060igk.1 + for ; Tue, 22 Dec 2015 06:01:00 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:subject:message-id:reply-to:references:mime-version + :content-type:content-disposition:in-reply-to:user-agent; + bh=miBj3gG1+cGdOfvPqhQ7viKQU49ZtxTsky/Y1FK9LdY=; + b=v2z6DWl4jRcYNJOYPk5xS5SUu9h98MW0R83LZE/ysd78+Vx0JbO3fj7xu6DXrFc8xY + cFmAGwz62FlM/GSf8lCxIRAum9ogBsc3Okuo+bMiJCNGLdhcevPhVUeF+zOVfmG3y5We + 2zUEU2+Zze/n1l+WCI4sxLOhKme2Ks9WsfgA3+RN5ji+A/C5qnNn/ecqkZQyb8lF45jq + YP2IiRtxuiBMLcWk3FaPwEK8MbqZIkP5pVtdbONc3EDewLy4rNCozpM3vr9SHYxGyhmP + yYU7mItsy1PJ+3KULLZn3ZHAfBhcjhy2w83DOBbcLickfFNAcR6J3sNzm7NGKxAbjFja + 1nkg== +X-Received: by 10.50.12.36 with SMTP id v4mr13616478igb.6.1450792853200; + Tue, 22 Dec 2015 06:00:53 -0800 (PST) +Received: from megas (tripoint.kitware.com. [66.194.253.20]) + by smtp.gmail.com with ESMTPSA id 129sm12778045ioo.23.2015.12.22.06.00.51 + (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Tue, 22 Dec 2015 06:00:52 -0800 (PST) +Date: Tue, 22 Dec 2015 09:00:51 -0500 +From: Ben Boeckel +To: Lars Wirzenius +Message-ID: <20151222140051.GB11335@megas.khq.kitware.com> +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> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +In-Reply-To: <20151221165932.GS2511@exolobe1.liw.fi> +User-Agent: Mutt/1.5.24 (2015-08-30) +X-Spam-Score: -2.0 +X-Spam-Score-int: -19 +X-Spam-Bar: -- +X-Scanned-By: pepperfish.net, Tue, 22 Dec 2015 14:01:14 +0000 +X-Spam-Report: Content analysis details: (-2.0 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.213.173 listed in list.dnswl.org] + -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.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (mathstuf[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature +X-ACL-Warn: message may be spam +X-Scan-Signature: 439c9db7d537d78073733ee67505cfd7 +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 +Reply-To: mathstuf@gmail.com +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +On Mon, Dec 21, 2015 at 17:59:32 +0100, Lars Wirzenius wrote: +> On Mon, Dec 21, 2015 at 11:17:06AM -0500, Ben Boeckel wrote: +> > On Mon, Dec 21, 2015 at 16:33:18 +0100, Lars Wirzenius wrote: +> > > That just indicates to me that you should write a simpler program, +> > > perhaps as a wrapper around systemd-inhibit. :) +> > +> > Would this at least be acceptable to include in obnam? obnam-inhibit? It +> > seems silly to have everyone rewrite this thing when it is such an +> > important behavior. +> +> I'd rather it was a separate, generic utility than something named so +> people think it's related to Obnam, sorry. I'd be happy to add +> pointers to it to Obnam documentation, and have the Obnam Debian +> packaging suggest it. + +Wait, so let me get this straight: + + - 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? + +Making a full-blown repo for a single script with the content of: + + #!/bin/sh + exec systemd-inhibit --who=obnam --why="running a backup" obnam "$@" + +seems a little absurd to me. + +> There are other forms of composability than pipes. For example, the +> flock(1) utility, which creates a lock file while it runs a command, +> and automatically releases it even if it crashes. That's the same +> pattern as I suggest for the inhibition utility. +> +> That said, I expect Obnam to start reading from stdin some day. And +> produce output to stdout. Both for using in pipelines. Examples: +> +> * Have Obnam read the list of files to back up from stdin, fed by, +> say, find(1). +> +> * Have "obnam export-repository" produce a representation of a backup +> repository that is independent of the backup storage format, and +> "obnam import-repository" read such a representation to create a new +> repository. This would be quite useful for repository conversion. + +Well, this one isn't "backup", and for the first one, I'd want the +inhibitor lock as well. And the pipe-in-find is probably better as +--files-from=- (plus the associated -0 flag for using null-delimited +filenames) since a flag to even look at stdin would probably be needed +*anyways*. + +--Ben + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M44641P8737Q19.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M44641P8737Q19.hrun new file mode 100644 index 0000000..e260e3e --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M44641P8737Q19.hrun @@ -0,0 +1,118 @@ +Return-Path: +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 1383B2B7AA + for ; Mon, 21 Dec 2015 16:22:43 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 9B00AB9F; + Mon, 21 Dec 2015 15:22:42 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB2IM-0000Jv-H6; Mon, 21 Dec 2015 15:22:42 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB2IK-0000Jp-NP + for ; Mon, 21 Dec 2015 15:22:40 +0000 +Received: from mail-io0-f179.google.com ([209.85.223.179]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) id 1aB2II-0003La-UF + for obnam-dev@obnam.org; Mon, 21 Dec 2015 15:22:40 +0000 +Received: by mail-io0-f179.google.com with SMTP id q126so157234801iof.2 + for ; Mon, 21 Dec 2015 07:22:33 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:subject:message-id:reply-to:references:mime-version + :content-type:content-disposition:in-reply-to:user-agent; + bh=+FtE6gdbIMxEr+TFbcSoG/6lVHi8CvkW8sCMOepZKtQ=; + b=HCnwYJJsry369EK5+fuo45fiLCVsI3GeDbKgQjKfT1sh8XoHQUjt5p0wezk2BSx0gQ + 5BbXC2JGteWFYIa4W4Qf9ojMEfh+CFqqj+lYQZfW1180SVnaxRadB+h8hy5PUU79/BB9 + 1ZvSJobjMKdoixwS+VZ0SSXdR49gSrttN9pQ0358fevEQpAvHtbTs8YgaKW3J/br9DGa + If59pmU9dWwZgaHXzfXWXqsqo7q6z3/0yKOirlR73TjeLgXcbTBqvVmCUKebvELzA1Vj + cV+WZK0ZUeSPzkFFaQqAJX2p5GmOu2cGGj0Gp55mNADU1Tw2FSX31h1Vlqc6cv1UB7CB + sx8w== +X-Received: by 10.107.27.6 with SMTP id b6mr20166383iob.163.1450711346636; + Mon, 21 Dec 2015 07:22:26 -0800 (PST) +Received: from megas (tripoint.kitware.com. [66.194.253.20]) + by smtp.gmail.com with ESMTPSA id i195sm10429478ioe.19.2015.12.21.07.22.24 + (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Mon, 21 Dec 2015 07:22:25 -0800 (PST) +Date: Mon, 21 Dec 2015 10:22:24 -0500 +From: Ben Boeckel +To: Lars Wirzenius +Message-ID: <20151221152224.GA21839@megas.khq.kitware.com> +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> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +In-Reply-To: <20151220141633.GE2511@exolobe1.liw.fi> +User-Agent: Mutt/1.5.24 (2015-08-30) +X-Spam-Score: -2.0 +X-Spam-Score-int: -19 +X-Spam-Bar: -- +X-Scanned-By: pepperfish.net, Mon, 21 Dec 2015 15:22:40 +0000 +X-Spam-Report: Content analysis details: (-2.0 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.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (mathstuf[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.223.179 listed in list.dnswl.org] +X-ACL-Warn: message may be spam +X-Scan-Signature: 414f5f03ee092b3fac588a5aec0a9d93 +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 +Reply-To: mathstuf@gmail.com +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +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: +> +> inhibit-suspend obnam backup +> +> Such a utility would be more generic than code specifically in Obnam. + +This tool already exists as `systemd-inhibit`. The problem is that it +needs numerous arguments to be useful (the name of the program, the +locks to take, a reason for taking the lock, etc.). I don't see this as +any different than video players taking the XSS lock to inhibit +screensavers: 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). + +--Ben + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M94329P8737Q20.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M94329P8737Q20.hrun new file mode 100644 index 0000000..e6bd19f --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001178.M94329P8737Q20.hrun @@ -0,0 +1,154 @@ +Return-Path: +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 9B12523520 + for ; Sun, 20 Dec 2015 15:16:46 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id EC9E3B71; + Sun, 20 Dec 2015 14:16:45 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aAemz-0005Xk-Nv; Sun, 20 Dec 2015 14:16:45 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aAemy-0005Xb-TR + for ; Sun, 20 Dec 2015 14:16:44 +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 ) id 1aAemw-0001oT-VW + for obnam-dev@obnam.org; Sun, 20 Dec 2015 14:16:44 +0000 +Received: from exolobe1.liw.fi (unknown [82.129.76.156]) + (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) + (No client certificate requested) + by pieni.net (Postfix) with ESMTPSA id 5E09823264; + Sun, 20 Dec 2015 15:16:35 +0100 (CET) +Received: from exolobe1.liw.fi (localhost [127.0.0.1]) + by exolobe1.liw.fi (Postfix) with ESMTPS id B128C41391; + Sun, 20 Dec 2015 15:16:34 +0100 (CET) +Date: Sun, 20 Dec 2015 15:16:33 +0100 +From: Lars Wirzenius +To: Ben Boeckel +Message-ID: <20151220141633.GE2511@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> +MIME-Version: 1.0 +In-Reply-To: <20151029045526.GA13909@bronto-burt.dev.benboeckel.net> +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, Sun, 20 Dec 2015 14:16:44 +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: f11bba8f41b8bc2894d5c90ad7eebf09 +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 +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Content-Type: multipart/mixed; boundary="===============4837920643194033257==" +Mime-version: 1.0 +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + + +--===============4837920643194033257== +Content-Type: multipart/signed; micalg=pgp-sha256; + protocol="application/pgp-signature"; boundary="SWTRyWv/ijrBap1m" +Content-Disposition: inline + + +--SWTRyWv/ijrBap1m +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi, sorry, it's been a month and a half since this patch. + +On Thu, Oct 29, 2015 at 12:55:26AM -0400, Ben Boeckel wrote: +> On Thu, Oct 29, 2015 at 00:49:56 -0400, Ben Boeckel wrote: +> > When a backup is happening, the machine should not suspend or otherwise +> > go down. Add a setting for taking a systemd inhibitor lock. +> >=20 +> > The code fails safely which allows both the dbus module and the +> > systemd-logind DBus interface to be optional. In both cases, warnings +> > are generated. +>=20 +> So, I'm not really sure how to test this properly within the test suite; +> the lock is really kind of opaque without running systemd-inhibit to +> list the active locks. Manual testing shows that obnam is taking the +> inhibitor lock (with the proper description and all) as seen with +> `systemd-inhibit --list`. Can anyone without systemd and/or dbus verify +> the "fails gracefully" bit? I don't have any testing machines with obnam +> and without those bits. + +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: + + inhibit-suspend obnam backup + +Such a utility would be more generic than code specifically in Obnam. + +So I'm afraid I'm going to reject the patch. + +--=20 +Schr=F6dinger's backup hypothesis: the condition of any backup is +undefined until a restore is attempted. -- andrewsh + +--SWTRyWv/ijrBap1m +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: Digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCAAGBQJWdrhBAAoJEGwvphbseiAx9LQP/1YI0XDbJXecTlBjHx1Dop52 +cBVHZjrPyRrZZRQ0ymY66w1687S7pmTFi0DVR1XPecVXHZ2fxLBmf3Z7ukcHjr5e +frnPbXMs1qhRs6Ou3hhlRZ5HA+vuFZ2B20WDEGc8l229xe3q6pu0F+rSkRZ23iur +fWbSzMSaQNoOP8fkjJ6/ifR0j1TTWhsYCcO0DN/jQ0rWbGUPFeisZpS8UMxZ1Apm +dorrzozGYPfck6/ZNFNv6d885xPrtZStjg59e1n4/De+0vI/EKHc5YfP+2eSsJPh +7ya9kZPl22z5fUPfOKJBLFJfvXVaSSIKLYrHdLndiO5tPcJhZESgbli4QgfjCBIf +v2Ut2a4tSMFJ+EECOR759c8UOR0yaS8Du8D/Qv5voYsI7v+WG9PqnOgDq+fmM5/h +p4OipXN9GQLE07S/ohMwLbopEVkRg6pVLNtLcLv01rfp42TINQGZQQR5xAluxks+ +m2ZO7Ix0qZozy3Ci7oxDro9LjR4WDsbQvthah70feLxaIb0Ly6gmQeqNrTlES/mQ +C7Pm+oexgvojLkEFoQdRrol+KErYxHWGs04dBms6AC19o1BWSJVXl9Rqm2c/Xzf+ +2/iNT3sBsq2rCgnEe+9BsZxwhoPhWNFd6wTfKtyIB1/6ZUoMDPHx0Lg2O2gzbCA/ +rP24EpJSUkKtRAUlxPoJ +=YDWI +-----END PGP SIGNATURE----- + +--SWTRyWv/ijrBap1m-- + + +--===============4837920643194033257== +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 + +--===============4837920643194033257==-- + diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001181.M605109P8737Q27.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001181.M605109P8737Q27.hrun new file mode 100644 index 0000000..40c2a1c --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001181.M605109P8737Q27.hrun @@ -0,0 +1,153 @@ +Return-Path: +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 ; 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 ; 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 ) 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 +To: Ben Boeckel +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 +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-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==-- + diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001182.M282643P8737Q28.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001182.M282643P8737Q28.hrun new file mode 100644 index 0000000..adc2fb9 --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001182.M282643P8737Q28.hrun @@ -0,0 +1,159 @@ +Return-Path: +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 ; 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 ; 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 ) 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 +To: Ben Boeckel +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 +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-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==-- + diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001185.M320574P8737Q35.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001185.M320574P8737Q35.hrun new file mode 100644 index 0000000..d800e08 --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001185.M320574P8737Q35.hrun @@ -0,0 +1,167 @@ +Return-Path: +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 31D5A2B80C + for ; Mon, 21 Dec 2015 17:59:49 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 75AFCBA1; + Mon, 21 Dec 2015 16:59:48 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB3oK-0007IF-BS; Mon, 21 Dec 2015 16:59:48 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB3oI-0007I7-L3 + for ; Mon, 21 Dec 2015 16:59:46 +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 ) id 1aB3oG-0006Bv-Ss + for obnam-dev@obnam.org; Mon, 21 Dec 2015 16:59:46 +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 053B52B7AA; + Mon, 21 Dec 2015 17:59:38 +0100 (CET) +Received: from exolobe1.liw.fi (localhost [127.0.0.1]) + by exolobe1.liw.fi (Postfix) with ESMTPS id 4D08040373; + Mon, 21 Dec 2015 17:59:33 +0100 (CET) +Date: Mon, 21 Dec 2015 17:59:32 +0100 +From: Lars Wirzenius +To: Ben Boeckel +Message-ID: <20151221165932.GS2511@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> +MIME-Version: 1.0 +In-Reply-To: <20151221161706.GD21839@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 16:59:46 +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: ead9a2b6d4436a72c03b49bb9387508d +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 +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Content-Type: multipart/mixed; boundary="===============8250331839199722307==" +Mime-version: 1.0 +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + + +--===============8250331839199722307== +Content-Type: multipart/signed; micalg=pgp-sha256; + protocol="application/pgp-signature"; boundary="nSQp8DZZn7gZbDHt" +Content-Disposition: inline + + +--nSQp8DZZn7gZbDHt +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Mon, Dec 21, 2015 at 11:17:06AM -0500, Ben Boeckel wrote: +> On Mon, Dec 21, 2015 at 16:33:18 +0100, Lars Wirzenius wrote: +> > That just indicates to me that you should write a simpler program, +> > perhaps as a wrapper around systemd-inhibit. :) +>=20 +> Would this at least be acceptable to include in obnam? obnam-inhibit? It +> seems silly to have everyone rewrite this thing when it is such an +> important behavior. + +I'd rather it was a separate, generic utility than something named so +people think it's related to Obnam, sorry. I'd be happy to add +pointers to it to Obnam documentation, and have the Obnam Debian +packaging suggest it. + +> > GUI programs such as video players are not generally composable. +> > Command line programs such as Obnam are. That's an important +> > distinction. +>=20 +> Sorry, when am I ever going to pipe obnam output to anything other than +> a log file (or less, sed, etc.)? Does obnam even read stdin? + +There are other forms of composability than pipes. For example, the +flock(1) utility, which creates a lock file while it runs a command, +and automatically releases it even if it crashes. That's the same +pattern as I suggest for the inhibition utility. + +That said, I expect Obnam to start reading from stdin some day. And +produce output to stdout. Both for using in pipelines. Examples: + +* Have Obnam read the list of files to back up from stdin, fed by, + say, find(1). + +* Have "obnam export-repository" produce a representation of a backup + repository that is independent of the backup storage format, and + "obnam import-repository" read such a representation to create a new + repository. This would be quite useful for repository conversion. + +--=20 +Schr=F6dinger's backup hypothesis: the condition of any backup is +undefined until a restore is attempted. -- andrewsh + +--nSQp8DZZn7gZbDHt +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: Digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAEBCAAGBQJWeC/zAAoJEGwvphbseiAxE5kQALN8Q8HOdWIQ8EbiOkB4Moq+ +kAB82LQS65/naMxFvpzS8pMJ6BUe1u87UydxWAC9/Ztd7SqczHfu+czk7Wswn7Py ++C+XDnjZ4X0gfPDlgOUbfQ4NOz0CY6+bw/WgI91MfTkgmZ7mqsM8hQ0lE7ZqsABt +aVuNEMGzItWe9PAc5VPVCOrvNJBBvRn0E4/kbaG3tLStRewdbtJeSZyXMLIl97OM +VwGKfBu5fwkyJMzBbf5oR98WN+VT9RCOM4OuLNFWEa67q/0gc8du37GRJbrn9hkx +G8KoG1v0Bj3rK/GBZdLWOfg1EUOJQyeND5swAjIR6kVSDWVHPOq4njD+az/evDSb +rYCzVdVuaYUDE8njE/yl05e+SvjaHv6szbqjJl+sRz2vy2Mz7nl1IVuy4ppnTE+m +YKmeL3BD8kwB3yzE5kfTNSgQRnR1mQGRrXt/HDQ5XVhg6IO9uSbQBSXV2ZOCJ1pk +zUsQrakBZzVKJuKGqL+t4yzKW8eleGUuz2b0rDSC4a5BL3qd86MXPj8knuN5K42x +Q2i6d88ah2r4RwiQarC2CaSyu9o5UW2xvTwIHzioIfGA5S0h3UTPmSYKjgNnvlsn +e+vpIfywAIsMRLLQT051tp0MuLyhIjju4j/oSTqkY1UXasWgX7dW7lF+M0pnve5x +g5fSf4XifFywSMsEZiqr +=bctk +-----END PGP SIGNATURE----- + +--nSQp8DZZn7gZbDHt-- + + +--===============8250331839199722307== +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 + +--===============8250331839199722307==-- + diff --git a/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001190.M761385P8737Q45.hrun b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001190.M761385P8737Q45.hrun new file mode 100644 index 0000000..34a43f0 --- /dev/null +++ b/tickets/20bdae3913de49d4afd544d36996ce4b/Maildir/new/1456001190.M761385P8737Q45.hrun @@ -0,0 +1,128 @@ +Return-Path: +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 F25552B7AA + for ; Mon, 21 Dec 2015 17:17:28 +0100 (CET) +Received: from platypus.pepperfish.net (unknown [10.112.100.20]) + by bagpuss.pepperfish.net (Postfix) with ESMTP id 0C9C7B74; + Mon, 21 Dec 2015 16:17:28 +0000 (GMT) +Received: from ip6-localhost ([::1] helo=platypus.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB39L-0004CX-UG; Mon, 21 Dec 2015 16:17:27 +0000 +Received: from inmail0 ([10.112.100.10] helo=mx0.pepperfish.net) + by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian)) + id 1aB39K-0004CR-PO + for ; Mon, 21 Dec 2015 16:17:26 +0000 +Received: from mail-ig0-f180.google.com ([209.85.213.180]) + by mx0.pepperfish.net with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) (envelope-from ) id 1aB39I-0004zv-TF + for obnam-dev@obnam.org; Mon, 21 Dec 2015 16:17:26 +0000 +Received: by mail-ig0-f180.google.com with SMTP id to18so38879947igc.0 + for ; Mon, 21 Dec 2015 08:17:19 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=date:from:to:cc:subject:message-id:reply-to:references:mime-version + :content-type:content-disposition:content-transfer-encoding + :in-reply-to:user-agent; + bh=flvQv+URTA8hssnKdZNsWtvvuaRTKcifaOu7hc3zmxc=; + b=v+fAB8JJUHa8ylvJCSB9YVz0Ndx4svARsoPyzxnFxzprRfle9Xn+A+Q3+2X1ElxSrr + bvST9FOYpvNWU6TB0B4IrRE7xZ6YN4z2extjKkQLvQPQ9I/mMuHezuckW3OfXb0b7eCW + flzhf6aP1sUyX0ixIbdA/6pygHRGHIMelw1GFC72q1RB937XOghF8jSCoLRTTGlNzYT+ + 0Zc23aeL9Ex0x9cwSRXsfUQI1HXZ9+fY8bsqDnh72f7krOO6uUIuekb3emvTND8oyDrF + EqhD53RqVD0Ygi+TZIAf0HYGLzs+zE+ReTl9vWgAKk0NvQ6tRNeDZs6yBFExzVUchmqx + zwIA== +X-Received: by 10.50.150.5 with SMTP id ue5mr8731859igb.50.1450714633253; + Mon, 21 Dec 2015 08:17:13 -0800 (PST) +Received: from megas (tripoint.kitware.com. [66.194.253.20]) + by smtp.gmail.com with ESMTPSA id rv1sm8364421igb.15.2015.12.21.08.17.12 + (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); + Mon, 21 Dec 2015 08:17:12 -0800 (PST) +Date: Mon, 21 Dec 2015 11:17:06 -0500 +From: Ben Boeckel +To: Lars Wirzenius +Message-ID: <20151221161706.GD21839@megas.khq.kitware.com> +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> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +In-Reply-To: <20151221153318.GR2511@exolobe1.liw.fi> +User-Agent: Mutt/1.5.24 (2015-08-30) +X-Spam-Score: -2.0 +X-Spam-Score-int: -19 +X-Spam-Bar: -- +X-Scanned-By: pepperfish.net, Mon, 21 Dec 2015 16:17:26 +0000 +X-Spam-Report: Content analysis details: (-2.0 points) + pts rule name description + ---- ---------------------- -------------------------------------------------- + -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low + trust [209.85.213.180 listed in list.dnswl.org] + -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.0 PPF_FROM_CONTAINS_MAIL The From header contains 'mail' + 1.2 FREEMAIL_FROM Sender email is commonly abused enduser mail provider + (mathstuf[at]gmail.com) + -0.0 SPF_PASS SPF: sender matches SPF record + -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% + [score: 0.0000] + -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's + domain + 0.1 DKIM_SIGNED Message has a DKIM or DK signature, + not necessarily valid + -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature +X-ACL-Warn: message may be spam +X-Scan-Signature: e22476795c0c271ab9cf3b1ad5ae1506 +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 +Reply-To: mathstuf@gmail.com +List-Id: Obnam development discussions +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Sender: obnam-dev-bounces@obnam.org +Errors-To: obnam-dev-bounces@obnam.org + +On Mon, Dec 21, 2015 at 16:33:18 +0100, Lars Wirzenius wrote: +> That just indicates to me that you should write a simpler program, +> perhaps as a wrapper around systemd-inhibit. :) + +Would this at least be acceptable to include in obnam? obnam-inhibit? It +seems silly to have everyone rewrite this thing when it is such an +important behavior. + +> GUI programs such as video players are not generally composable. +> Command line programs such as Obnam are. That's an important +> distinction. + +Sorry, when am I ever going to pipe obnam output to anything other than +a log file (or less, sed, etc.)? Does obnam even read stdin? + +Obnam being composable would, to me, indicate that obnam has some sort +of backup support when used within a pipeline of the content passing +through it. Sort of like a record/replay utility (though this would just +be "cat" with memory…like a filesystem perhaps? :) ). It really feels +more like a standalone application to me (like newsbeuter, slrn, mpv, +and other such programs; the persistent configuration file is probably +what makes me feel that it really is different), but maybe I'm just +unaware of some obnam capabilities? + +--Ben + +_______________________________________________ +obnam-dev mailing list +obnam-dev@obnam.org +http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/obnam-dev-obnam.org -- cgit v1.2.1