From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Missed testing Date: Tue, 12 Mar 2019 12:27:38 +0100 Message-ID: <20190312122738.1df7eeec@scratchpost.org> References: <87ef7cu7m6.fsf@elephly.net> <874l88z91x.fsf@ITSx01.pdp10.guru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/kqlJ6o1gXp5q3wBQ_rQUwCA"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3fZV-0006g1-2z for guix-devel@gnu.org; Tue, 12 Mar 2019 07:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3fZU-0007Rf-02 for guix-devel@gnu.org; Tue, 12 Mar 2019 07:27:49 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:57006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3fZT-0007R7-O5 for guix-devel@gnu.org; Tue, 12 Mar 2019 07:27:47 -0400 In-Reply-To: <874l88z91x.fsf@ITSx01.pdp10.guru> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jeremiah@pdp10.guru Cc: guix-devel@gnu.org, ekado@elephly.net --Sig_/kqlJ6o1gXp5q3wBQ_rQUwCA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable FWIW, I agree that error handling when booting the Guix system leaves a lot= to be desired. Because of the system rollback feature it's not so bad, but we should adver= tise that feature, and that ",bournish" works, before dropping into the repl. Also, that doesn't help on initial installation which should be made much m= ore user-friendly. > Still not addressed is why users section stops being defined when one > copy and pastes that example text onto the configuration. That sounds very strange and would be a very bad bug. > Nor the fact that luks boot with that example configuration never > prompts for the luks password and just goes to a very unhappy place and > drops the user in a guile shell to sort things out and we lack > documentation with how to deal with that case. I'm using luks home with current guix master and it prompts for my password. (define dayas-home (mapped-device (source (uuid "531005b3-71a1-4784-aa2a-11f68682c6d= a")) (target "dayas-home") (type luks-device-mapping))) (operating-system (mapped-devices (list dayas-home)) (file-systems ... (file-system (device "/dev/mapper/dayas-home") (mount-point "/home") (type "btrfs") (needed-for-boot? #f) (mount? #t) (check? #t) (dependencies (list dayas-home))))) > Users are going to hit edge cases, when we write them; we really don't > want the users to have to read 100,000+ lines of code to try to > figureout how to deal with them. I agree. These kind of bug reports are very useful. I've learned to not step on the mines, but better would be to have nicer failure modes. I'll be so happy when the TUI installer is the default way to install Guix. Installing Guix manually is not fun. The installer can and should be made to automatically amend the system config by mptspi etc. --Sig_/kqlJ6o1gXp5q3wBQ_rQUwCA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlyHl6oACgkQ5xo1VCww uqUDMwf+O1EaiBgklw4H3icxqGVV6mpjlH/zVg0qEZ4/fJqOUDXTZlLYzCs36IDV jMaiFvjmkB3fIb2QjpaLgwGpvtb0XlfVkJL89WqKOZWTgJHS++JlekRtDPUzgRjZ +nAGMVuOveyMgpt9Nq5lNp1Gdmf4UT7g08bqCrtRjWty99IPIPsGd3/XznT9N6Qw qaiTF9ZJnvDQ0zhFF8uy/qJRTX0kWUc5bT8oTEzspIDKlx7g6r9KIiRxWkfOTPdP s7l3yEFQWv2U814GC55ngkIV0Pucvd81NNjccgujySMes56OLR6OubweekP2Rxs7 LISoOPB7qKrHiCdxSkGfm8PysQAw+A== =1CgO -----END PGP SIGNATURE----- --Sig_/kqlJ6o1gXp5q3wBQ_rQUwCA--