From unknown Wed Jun 18 23:04:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#33673 <33673@debbugs.gnu.org> To: bug#33673 <33673@debbugs.gnu.org> Subject: Status: "guix system --help" does not detail how to use --on-error=strategy Reply-To: bug#33673 <33673@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:46 +0000 retitle 33673 "guix system --help" does not detail how to use --on-error=3D= strategy reassign 33673 guix submitter 33673 swedebugia@riseup.net severity 33673 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 08 03:31:10 2018 Received: (at submit) by debbugs.gnu.org; 8 Dec 2018 08:31:10 +0000 Received: from localhost ([127.0.0.1]:37573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVY0z-0002Sb-Uv for submit@debbugs.gnu.org; Sat, 08 Dec 2018 03:31:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVY0x-0002SN-N0 for submit@debbugs.gnu.org; Sat, 08 Dec 2018 03:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVY0r-0001yv-9t for submit@debbugs.gnu.org; Sat, 08 Dec 2018 03:31:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVY0r-0001yp-4L for submit@debbugs.gnu.org; Sat, 08 Dec 2018 03:31:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVY0q-0006x5-30 for bug-guix@gnu.org; Sat, 08 Dec 2018 03:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVY0l-0001wr-Qq for bug-guix@gnu.org; Sat, 08 Dec 2018 03:31:00 -0500 Received: from mx1.riseup.net ([198.252.153.129]:36001) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVY0l-0001wP-Jh for bug-guix@gnu.org; Sat, 08 Dec 2018 03:30:55 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 95B361A046C for ; Sat, 8 Dec 2018 00:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1544257854; bh=icCWaQUhwAANFudXbc2b/bP33R9qT/V4RyXCib8ND34=; h=Date:From:To:Subject:In-Reply-To:References:From; b=stJe/iHwppAJnpRVmUKxCidvgirq1xMjUzpfBVi5e+npx9p9sGvfE8Ev/mNH4miJO cQFmw3IBPQMToxFVbqvgEYlb0d7Iz8N+shRSHKru1DzGeDG+dYxd3GTu6XKPJLitl/ UJywSsMY0uj9BpwrU6KMjmqX9o8U2b6YCExZxNW0= X-Riseup-User-ID: 2FFC57BAD0AC19C6C2DC169170E6397D183113AC1EBC8285B252D41E196F50E7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 545DBE9AAE for ; Sat, 8 Dec 2018 00:30:54 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Sat, 08 Dec 2018 00:30:54 -0800 From: swedebugia@riseup.net To: bug-guix@gnu.org Subject: "guix system --help" does not detail how to use --on-error=strategy In-Reply-To: <74aa65394c92165fbf4c2f777099eab3@riseup.net> References: <87pnuccuk2.fsf@gmail.com> <74aa65394c92165fbf4c2f777099eab3@riseup.net> Message-ID: <2a004926090617e0227252136dc35dab@riseup.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Hi The current output is: --on-error=STRATEGY apply STRATEGY when an error occurs while reading FILE Also the manual currently lacks a cindex for on-error (I had to search with 's' through multiple false positives to find the relevant section) Additionally we now have so many commands in the help pages of guix system and guix build that it would be nice to present them in a more readable/categorized way. Would a patches for improvement in these areas be accepted? -- Cheers Swedebugia -------- Original Message -------- Subject: Re: error: rmdir: Device or resource busy Date: 2018-12-08 09:24 From: swedebugia@riseup.net To: Fredrik Salomonsson Cc: help-guix , Help-Guix Hej! On 2018-12-08 09:05, Fredrik Salomonsson wrote: > Hello, > > tried installing GuixSD 0.16. But hitting a cryptic error. > > guix system init /mnt/etc/config.scm /mnt > --substitute-urls="http://berlin.guixsd.org http://mirror.hydra.gnu.org" > ... > /gnu/store/sh9x3mhl5q60yxhl861kpk6vm70l3w81-bootloader-installer > > initializing operating system under '/mnt'... > guix system: error: rmdir: Device or resource busy > > This was working fine with 0.15. > > Is there a way to get a better backtrace from system init? Yes! >From the manual: '--on-error=STRATEGY' Apply STRATEGY when an error occurs when reading FILE. STRATEGY may be one of the following: 'nothing-special' Report the error concisely and exit. This is the default strategy. 'backtrace' Likewise, but also display a backtrace. 'debug' Report the error and enter Guile's debugger. From there, you can run commands such as ',bt' to get a backtrace, ',locals' to display local variable values, and more generally inspect the state of the program. *Note (guile)Debug Commands::, for a list of available debugging commands. Actually the --help to "guix system" hints about this but it is not telling how to use it, which is a bug I think. (i'm going to report it and send a patch) > Or does anyone > know what the error might be? I never saw it before. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 08 18:16:58 2018 Received: (at 33673) by debbugs.gnu.org; 8 Dec 2018 23:16:58 +0000 Received: from localhost ([127.0.0.1]:38909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVlqD-000860-Vw for submit@debbugs.gnu.org; Sat, 08 Dec 2018 18:16:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gVlqC-00085o-4V for 33673@debbugs.gnu.org; Sat, 08 Dec 2018 18:16:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVlq6-0007y3-CS for 33673@debbugs.gnu.org; Sat, 08 Dec 2018 18:16:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVlq6-0007xz-8X; Sat, 08 Dec 2018 18:16:50 -0500 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=43894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gVlq5-00032l-TG; Sat, 08 Dec 2018 18:16:50 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: swedebugia@riseup.net Subject: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy References: <87pnuccuk2.fsf@gmail.com> <74aa65394c92165fbf4c2f777099eab3@riseup.net> <2a004926090617e0227252136dc35dab@riseup.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Frimaire an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 09 Dec 2018 00:16:47 +0100 In-Reply-To: <2a004926090617e0227252136dc35dab@riseup.net> (swedebugia's message of "Sat, 08 Dec 2018 00:30:54 -0800") Message-ID: <87ftv7623k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33673 Cc: 33673@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, swedebugia@riseup.net skribis: > The current output is: > > --on-error=3DSTRATEGY apply STRATEGY when an error occurs while reading > FILE FWIW I think it=E2=80=99s reasonable for =E2=80=98--help=E2=80=99 to be gen= erally more concise than the manual. We could list the possible strategies here, but that might clutter the output more than is desirable. > Additionally we now have so many commands in the help pages of guix > system and guix build that it would be nice to present them in a more > readable/categorized way. > > Would a patches for improvement in these areas be accepted? Improvements are always welcome of course. The main criterion would be to remain consistent with the rest of Guix and with GNU conventions that we follow. Maybe it=E2=80=99s best to discuss what you have in mind first? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 11 02:19:02 2018 Received: (at 33673) by debbugs.gnu.org; 11 Dec 2018 07:19:02 +0000 Received: from localhost ([127.0.0.1]:42718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWcJp-0007Th-GX for submit@debbugs.gnu.org; Tue, 11 Dec 2018 02:19:01 -0500 Received: from flashner.co.il ([178.62.234.194]:42356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWcJn-0007TR-HD for 33673@debbugs.gnu.org; Tue, 11 Dec 2018 02:18:59 -0500 Received: from localhost (unknown [5.102.239.133]) by flashner.co.il (Postfix) with ESMTPSA id CD08540119; Tue, 11 Dec 2018 07:18:53 +0000 (UTC) Date: Tue, 11 Dec 2018 09:18:51 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy Message-ID: <20181211071841.GC1323@macbook41> References: <87pnuccuk2.fsf@gmail.com> <74aa65394c92165fbf4c2f777099eab3@riseup.net> <2a004926090617e0227252136dc35dab@riseup.net> <87ftv7623k.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XvKFcGCOAo53UbWW" Content-Disposition: inline In-Reply-To: <87ftv7623k.fsf@gnu.org> User-Agent: Mutt/1.11.0 (2018-11-25) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 33673 Cc: swedebugia@riseup.net, 33673@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --XvKFcGCOAo53UbWW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 09, 2018 at 12:16:47AM +0100, Ludovic Court=C3=A8s wrote: > Hi, >=20 > swedebugia@riseup.net skribis: >=20 > > The current output is: > > > > --on-error=3DSTRATEGY apply STRATEGY when an error occurs while read= ing > > FILE >=20 > FWIW I think it=E2=80=99s reasonable for =E2=80=98--help=E2=80=99 to be g= enerally more concise > than the manual. We could list the possible strategies here, but that > might clutter the output more than is desirable. >=20 > > Additionally we now have so many commands in the help pages of guix > > system and guix build that it would be nice to present them in a more > > readable/categorized way. > > > > Would a patches for improvement in these areas be accepted? >=20 > Improvements are always welcome of course. The main criterion would be > to remain consistent with the rest of Guix and with GNU conventions that > we follow. Maybe it=E2=80=99s best to discuss what you have in mind firs= t? >=20 > Thank you, > Ludo=E2=80=99. >=20 I'd go with (one of: nothing-special, backtrace, debug) with the assumption that for more information the manual is more verbose. I also just noticed that we have 'man guix-system', which could be more verbose on the subject without needing to fit in a concise output. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --XvKFcGCOAo53UbWW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwPZNsACgkQQarn3Mo9 g1Fk8w//YaVkFS8KUW1cmupJxwEd9XZA1jBBxDIJeU0hR6FpNbC7qudzN27/615h EUxhTy37rZ/4CWRmanmoUPRJSu/mocmo5D1H+x1PKi5hnp/yMn4B2K7J1I1HZ/A5 vm95IPRANew6+F68rfg75ADhUkxjBh+x9sSv7Fk7oI5DaCbZ+EO3RQoO2Ynw7Kld OS5AHSwJLtODvFTHPWIbzT5yY5j3Y/9nbA70aTzDY0VlNUJWsrwxdssfwrso3BHK +s5swDDJ+MS2EnmDqQGDqwfiSXw1v7/GJKFrd0fdZ6h2aBKzKPlOT2C8c4oANtHi wOk3fCBf2ltPxWyccqPFu/6H9qaMK7nEd3S771ht+9Z06mMLMt5wkDUIvJljAmbl J2owE1uS7gwrTbyG4ExRecHWczK82fM3lnh2qAN4qEFWHN+2VMbKQ6aVdMCaqUpH 7tNx30aQdJoH5jwDwWMtPQ5qxCkyASRzpbgyBFC0oUnLg8TSlrVwhHzr8nFGHwAQ ULn9wJm/d8HF/uVDFs6yAQslfM59DJap13n60X0JDhMnlbd7I64UAcj4KL3TWKym ND/VMcEVFC9EwM7QHkEo2q3pe+MrVIbalVjrYH5Hk1VUAnEdej9mWzehJx3QwsT1 sWD2mfnfyI1atlj4FSGFygf/fCjPdOaMPbq7wCN7NqY15dwZgUk= =dbA8 -----END PGP SIGNATURE----- --XvKFcGCOAo53UbWW-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 11 02:27:52 2018 Received: (at 33673) by debbugs.gnu.org; 11 Dec 2018 07:27:53 +0000 Received: from localhost ([127.0.0.1]:42722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWcSO-0007kq-Kp for submit@debbugs.gnu.org; Tue, 11 Dec 2018 02:27:52 -0500 Received: from mx1.riseup.net ([198.252.153.129]:33301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWcSL-0007ke-Bl for 33673@debbugs.gnu.org; Tue, 11 Dec 2018 02:27:51 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 92E1F1A2E92; Mon, 10 Dec 2018 23:27:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1544513268; bh=Aw2YfKo6W7nbAY9k3c6yXS0QZ7kHJEnBf1SVt5r9pFc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LI691Uo3EaA5VO7HpPNVLTRocN5Cv6/NGs6gEW0n0j1PG8oMt6bw+ppeZWHH/7TfY /BAwbBfGodOp2ZRsxjrOnbrXU4eJc8gBJVVJCIfUZFzaPMX/jevQO+6WKPufRXXDfr wob9thG0TgdFlfQH9irQ809w6sOCuQZpky0IzVkk= X-Riseup-User-ID: FB4E43703C0D155C502895692F669286CF0AB051A8C68E456C38DDE71C9CFC3C Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 5FE096A71E; Mon, 10 Dec 2018 23:27:48 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 10 Dec 2018 23:27:48 -0800 From: swedebugia@riseup.net To: Efraim Flashner Subject: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy In-Reply-To: <20181211071841.GC1323@macbook41> References: <87pnuccuk2.fsf@gmail.com> <74aa65394c92165fbf4c2f777099eab3@riseup.net> <2a004926090617e0227252136dc35dab@riseup.net> <87ftv7623k.fsf@gnu.org> <20181211071841.GC1323@macbook41> Message-ID: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33673 Cc: 33673@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2018-12-11 08:18, Efraim Flashner wrote: > On Sun, Dec 09, 2018 at 12:16:47AM +0100, Ludovic Courtès wrote: >> Hi, >> >> swedebugia@riseup.net skribis: >> >> > The current output is: >> > >> > --on-error=STRATEGY apply STRATEGY when an error occurs while reading >> > FILE >> >> FWIW I think it’s reasonable for ‘--help’ to be generally more concise >> than the manual. We could list the possible strategies here, but that >> might clutter the output more than is desirable. >> >> > Additionally we now have so many commands in the help pages of guix >> > system and guix build that it would be nice to present them in a more >> > readable/categorized way. >> > >> > Would a patches for improvement in these areas be accepted? >> >> Improvements are always welcome of course. The main criterion would be >> to remain consistent with the rest of Guix and with GNU conventions that >> we follow. Maybe it’s best to discuss what you have in mind first? >> >> Thank you, >> Ludo’. >> > > I'd go with (one of: nothing-special, backtrace, debug) > with the assumption that for more information the manual is more > verbose. Sounds good to me. Clutter is a problem we already have it seems so lets not make it worse. > > I also just noticed that we have 'man guix-system', which could be more > verbose on the subject without needing to fit in a concise output. Where do I edit this man-page? -- Cheers Swedebugia From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 11 12:10:20 2018 Received: (at 33673) by debbugs.gnu.org; 11 Dec 2018 17:10:20 +0000 Received: from localhost ([127.0.0.1]:44131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWlY3-0000pX-Rx for submit@debbugs.gnu.org; Tue, 11 Dec 2018 12:10:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gWlY2-0000pI-Ci for 33673@debbugs.gnu.org; Tue, 11 Dec 2018 12:10:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWlXv-0004eH-Oi for 33673@debbugs.gnu.org; Tue, 11 Dec 2018 12:10:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWlXv-0004e7-Kc; Tue, 11 Dec 2018 12:10:11 -0500 Received: from [2a00:8c40:243:232:c715:68dd:7cd5:702b] (port=56314 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gWlXv-0003yv-7x; Tue, 11 Dec 2018 12:10:11 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Efraim Flashner Subject: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy References: <87pnuccuk2.fsf@gmail.com> <74aa65394c92165fbf4c2f777099eab3@riseup.net> <2a004926090617e0227252136dc35dab@riseup.net> <87ftv7623k.fsf@gnu.org> <20181211071841.GC1323@macbook41> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Frimaire an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 11 Dec 2018 18:10:06 +0100 In-Reply-To: <20181211071841.GC1323@macbook41> (Efraim Flashner's message of "Tue, 11 Dec 2018 09:18:51 +0200") Message-ID: <87lg4wyopd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33673 Cc: swedebugia@riseup.net, 33673@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi! Efraim Flashner skribis: > On Sun, Dec 09, 2018 at 12:16:47AM +0100, Ludovic Court=C3=A8s wrote: [...] >> Improvements are always welcome of course. The main criterion would be >> to remain consistent with the rest of Guix and with GNU conventions that >> we follow. Maybe it=E2=80=99s best to discuss what you have in mind fir= st? >>=20 >> Thank you, >> Ludo=E2=80=99. >>=20 > > I'd go with (one of: nothing-special, backtrace, debug) > with the assumption that for more information the manual is more > verbose. Sounds good to me. Would you like to send a patch? > I also just noticed that we have 'man guix-system', which could be more > verbose on the subject without needing to fit in a concise output. Manual pages are generated from the =E2=80=98--help=E2=80=99 output, the ca= nonical documentation being the Info manual. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 14 13:53:30 2018 Received: (at submit) by debbugs.gnu.org; 14 Dec 2018 18:53:30 +0000 Received: from localhost ([127.0.0.1]:48553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXsaY-0006ms-DP for submit@debbugs.gnu.org; Fri, 14 Dec 2018 13:53:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXsaW-0006mc-7z for submit@debbugs.gnu.org; Fri, 14 Dec 2018 13:53:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXsaM-0006pK-JW for submit@debbugs.gnu.org; Fri, 14 Dec 2018 13:53:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXsaM-0006ox-4t for submit@debbugs.gnu.org; Fri, 14 Dec 2018 13:53:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXsaL-0006Fj-6O for guix-patches@gnu.org; Fri, 14 Dec 2018 13:53:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXsaB-0006lh-TQ for guix-patches@gnu.org; Fri, 14 Dec 2018 13:53:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:56780) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXsaB-0006kg-3W for guix-patches@gnu.org; Fri, 14 Dec 2018 13:53:07 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 353361A0A19 for ; Fri, 14 Dec 2018 10:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1544813584; bh=Xu3cS4aA2DO9t2FDe0r57f5tbVwKoYo8vAO8w8Ex31s=; h=Subject:References:To:From:Date:In-Reply-To:From; b=d49SwJJb7ewn1wJvtafcBDvug99xXn7un6bbf3te9ADhvgaLInFiukeeWf4zlFWDp sbtNnipI3jVJy4zW5mcHI3wM820ZsopeEpiOND2b0FUa54LUIxlFVH1t/0qkLw/2br E4tQz4d3Ke3Rdh8+HJ0/dOMTzm0vmCcIKvuDv/O4= X-Riseup-User-ID: D6564BC5C4E8D5427263C4E7A53617BA9D11931EE13F794BB1D69966AA22DFDD Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 928746B0A3 for ; Fri, 14 Dec 2018 10:53:03 -0800 (PST) Subject: PATCH: Fwd: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy References: <87lg4wyopd.fsf@gnu.org> To: guix-patches@gnu.org From: swedebugia X-Forwarded-Message-Id: <87lg4wyopd.fsf@gnu.org> Message-ID: <502fd617-38d4-c9e4-ad9c-ff237316d46e@riseup.net> Date: Fri, 14 Dec 2018 19:52:59 +0100 MIME-Version: 1.0 In-Reply-To: <87lg4wyopd.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------0F53DC583EFF1418D0AFFD8C" Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) This is a multi-part message in MIME format. --------------0F53DC583EFF1418D0AFFD8C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Is this patch ok? -------- Forwarded Message -------- Subject: Re: bug#33673: "guix system --help" does not detail how to use=20 --on-error=3Dstrategy Date: Tue, 11 Dec 2018 18:10:06 +0100 From: Ludovic Court=C3=A8s To: Efraim Flashner CC: swedebugia@riseup.net, 33673@debbugs.gnu.org Hi! Efraim Flashner skribis: > On Sun, Dec 09, 2018 at 12:16:47AM +0100, Ludovic Court=C3=A8s wrote: [...] >> Improvements are always welcome of course. The main criterion would b= e >> to remain consistent with the rest of Guix and with GNU conventions th= at >> we follow. Maybe it=E2=80=99s best to discuss what you have in mind f= irst? >>=20 >> Thank you, >> Ludo=E2=80=99. >>=20 > > I'd go with (one of: nothing-special, backtrace, debug) > with the assumption that for more information the manual is more > verbose. Sounds good to me. Would you like to send a patch? > I also just noticed that we have 'man guix-system', which could be more > verbose on the subject without needing to fit in a concise output. Manual pages are generated from the =E2=80=98--help=E2=80=99 output, the = canonical documentation being the Info manual. Thanks, Ludo=E2=80=99. --------------0F53DC583EFF1418D0AFFD8C Content-Type: text/x-patch; name="0001-system-Clarify-the-three-strategies-available.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-system-Clarify-the-three-strategies-available.patch" >From e71273a1b3b20bba8f4174ac4b98925bbc36ac0d Mon Sep 17 00:00:00 2001 From: swedebugia Date: Fri, 14 Dec 2018 19:41:41 +0100 Subject: [PATCH] system: Clarify the three strategies available. * guix/scripts/system.scm (show-help): Clarify the three choices. * doc/guix.texi (Invoking guix system): Add 3 @cindex to make on-error=strategy easier to find. --- doc/guix.texi | 3 +++ guix/scripts/system.scm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 20b5013fd..4c204c619 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -22628,6 +22628,9 @@ appear in the @code{operating-system} declaration actually exist needed at boot time are listed in @code{initrd-modules} (@pxref{Initial RAM Disk}). Passing this option skips these tests altogether. +@cindex on-error +@cindex on-error strategy +@cindex error strategy @item --on-error=@var{strategy} Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following: diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 8eb32c62b..d94917100 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -993,7 +993,7 @@ Some ACTIONS support additional ARGS.\n")) instead of reading FILE, when applicable")) (display (G_ " --on-error=STRATEGY - apply STRATEGY when an error occurs while reading FILE")) + apply STRATEGY (one of: nothing-special, backtrace, debug) when an error occurs while reading FILE.")) (display (G_ " --file-system-type=TYPE for 'disk-image', produce a root file system of TYPE -- 2.18.0 --------------0F53DC583EFF1418D0AFFD8C-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 18 05:54:34 2018 Received: (at 33673-done) by debbugs.gnu.org; 18 Dec 2018 10:54:34 +0000 Received: from localhost ([127.0.0.1]:52647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZD1G-0003KX-84 for submit@debbugs.gnu.org; Tue, 18 Dec 2018 05:54:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZD1E-0003KK-JJ for 33673-done@debbugs.gnu.org; Tue, 18 Dec 2018 05:54:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZD18-00070O-9C for 33673-done@debbugs.gnu.org; Tue, 18 Dec 2018 05:54:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZD17-0006zk-Uy; Tue, 18 Dec 2018 05:54:26 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=56200 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZD15-0006sk-Tf; Tue, 18 Dec 2018 05:54:24 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: swedebugia Subject: Re: bug#33673: PATCH: Fwd: Re: bug#33673: "guix system --help" does not detail how to use --on-error=strategy In-Reply-To: <502fd617-38d4-c9e4-ad9c-ff237316d46e@riseup.net> (swedebugia's message of "Fri, 14 Dec 2018 19:52:59 +0100") References: <87lg4wyopd.fsf@gnu.org> <502fd617-38d4-c9e4-ad9c-ff237316d46e@riseup.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Frimaire an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 18 Dec 2018 11:54:22 +0100 Message-ID: <87h8fbhzq9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33673-done Cc: 33673-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, swedebugia skribis: > From e71273a1b3b20bba8f4174ac4b98925bbc36ac0d Mon Sep 17 00:00:00 2001 > From: swedebugia > Date: Fri, 14 Dec 2018 19:41:41 +0100 > Subject: [PATCH] system: Clarify the three strategies available. > > * guix/scripts/system.scm (show-help): Clarify the three choices. > * doc/guix.texi (Invoking guix system): Add 3 @cindex to make on-error=3D= strategy > easier to find. > --- > doc/guix.texi | 3 +++ > guix/scripts/system.scm | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 20b5013fd..4c204c619 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -22628,6 +22628,9 @@ appear in the @code{operating-system} declaration= actually exist > needed at boot time are listed in @code{initrd-modules} (@pxref{Initial > RAM Disk}). Passing this option skips these tests altogether. >=20=20 > +@cindex on-error > +@cindex on-error strategy > +@cindex error strategy > @item --on-error=3D@var{strategy} > Apply @var{strategy} when an error occurs when reading @var{file}. > @var{strategy} may be one of the following: > diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm > index 8eb32c62b..d94917100 100644 > --- a/guix/scripts/system.scm > +++ b/guix/scripts/system.scm > @@ -993,7 +993,7 @@ Some ACTIONS support additional ARGS.\n")) > instead of reading FILE, when applicable")) > (display (G_ " > --on-error=3DSTRATEGY > - apply STRATEGY when an error occurs while readi= ng FILE")) > + apply STRATEGY (one of: nothing-special, backtr= ace, debug) when an error occurs while reading FILE.")) I wrapped this line and applied it. Thank you! Ludo=E2=80=99. From unknown Wed Jun 18 23:04:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Jan 2019 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator