From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id nZY+CVETSGMpWAAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 15:32:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IPYxCFETSGPlewAA9RJhRA (envelope-from ) for ; Thu, 13 Oct 2022 15:32:01 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB00D2CD4C for ; Thu, 13 Oct 2022 15:32:00 +0200 (CEST) Received: from localhost ([::1]:46856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiyJb-0000YA-VL for larch@yhetil.org; Thu, 13 Oct 2022 09:31:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiyAx-00058U-8S for bug-guix@gnu.org; Thu, 13 Oct 2022 09:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiyAw-0003kv-W9 for bug-guix@gnu.org; Thu, 13 Oct 2022 09:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiyAw-0004Wl-Ev for bug-guix@gnu.org; Thu, 13 Oct 2022 09:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55360: bug#58375: Installer does not show what is being downloaded Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 13 Oct 2022 13:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55360 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: Josselin Poiret , 55360@debbugs.gnu.org, 58375@debbugs.gnu.org Received: via spool by 55360-submit@debbugs.gnu.org id=B55360.166566733117315 (code B ref 55360); Thu, 13 Oct 2022 13:23:02 +0000 Received: (at 55360) by debbugs.gnu.org; 13 Oct 2022 13:22:11 +0000 Received: from localhost ([127.0.0.1]:59937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiyA6-0004VB-QU for submit@debbugs.gnu.org; Thu, 13 Oct 2022 09:22:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiyA4-0004Uv-J7; Thu, 13 Oct 2022 09:22:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiy9z-0003ey-6H; Thu, 13 Oct 2022 09:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=DFSdyUBeDGpkIGR1Qnb9pzynxf9qLRN7rtzghbtYR3s=; b=nL29Zx8x2xP8HBbEykJ2 wTZg4JwROyxb7xi0tHY34PeJpvKGuL+qgj8i1Jwr+xVGo+A1044T0eRgBLNMPnkH3NTsmDis76cJE Rd530rhaU+tAo+2LbkL8nbFUv59wagdguybsRKGApmNVkjd2b+kiZcMSdvRZMPlv6b+ih/VSU7W0F p9ram6MUiH3pgYCDlwNt+wpHSkoaY7X5YUsWZApC3ZCe6PACKQQsix0hxbi/DUaMMYO6wF+TkJh0j hQp9E0a+gX6DLH8Srrmx9uEadjioZvMgu6HuZHdAQ0aJF9cAHFsED6YVq+OtztStAlMhwRGgN9CtU eDgsUWhKZ69cXg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51868 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiy9s-0006sB-Ai; Thu, 13 Oct 2022 09:21:59 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmkko21t.fsf@gnu.org> <87y1wqw5tx.fsf@gnu.org> <87lepk5hnh.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 22 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la =?UTF-8?Q?P=C3=AAche?= 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: Thu, 13 Oct 2022 15:21:53 +0200 In-Reply-To: <87lepk5hnh.fsf_-_@gnu.org> (Mathieu Othacehe's message of "Thu, 13 Oct 2022 09:04:02 +0200") Message-ID: <87zgdzq2oe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665667920; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DFSdyUBeDGpkIGR1Qnb9pzynxf9qLRN7rtzghbtYR3s=; b=uXFcRog4PpEWl3WH5nQhAgvZrajWnU5qSlxaIv70MYRDglNrQy+YNjqOUIsrt3sOrtmC42 79cI/laml7puOpfXSPrnwLj/5RnLICa7qNNXXUPfKKDcWiD4vyCfjdchgwkOdNyF2yNvI1 SxMHuvUcPqG7hfIdeOSAMDdMblXhUS8EwAmoIdsnv34GKsnOQs6LfCPpbuNI/p+AHA5kbi YTXwR63Bo1EYe3Ny/V71Y3/9i9AmKOHANojxrzgfYcR0tGQWFVWqMxzStdWKlOGDutDaXn JLmoxvj26cs5inPx73GvoBUPQNOkmRAKV4C25Aefs1D/HqqdjQ0LFZGpstKhFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665667920; a=rsa-sha256; cv=none; b=bT6nK3OIyoJzlvDTjB6t4espH+PivuJ9fUKbNCZlty4mB2180lZs5Ga0o6ByAGbGgJ60Zk PSJFZ22khlXWRs1hWlwPMUFSjztK97YR2lulEkH5bpxbnm1iUISHfvWFQG7+vkniLXOiha w6MetMtTwDjh/hmjuONZfYgbaezhI6vZuBmfxX0G+BqYtirVCESfrcloDuPrFemg8EZ/Wc nyJ13z8RkYUchF9apWczM6OnJaxNAFZ7aAMi+lkA18EbLMRApTTnPgoVzakjosbiIOz5KT uzQpVRZc3quqrWz0cOa1HdrlX6aGOapSm3DeB1wtZl3wWzyLy/jnz6VYLLAIGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nL29Zx8x; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=nL29Zx8x; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DB00D2CD4C X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: s1CJ+LTP/grx Hi! Mathieu Othacehe skribis: >> I=E2=80=99m not sure it=E2=80=99s a good idea for =E2=80=98guix system i= nit=E2=80=99: we=E2=80=99d be logging >> mostly progress bars, package names, and the likes to syslog=E2=80=94not= super >> useful. So I=E2=80=99d suggest not capturing stdout of =E2=80=98guix sy= stem init=E2=80=99. > > In the bug report https://issues.guix.gnu.org/57983 capturing the 'guix > system init' output highlighted a "guix substitute" crash. So it does > seem like a useful mechanism, especially while 56005 is still open. Hmm right. is not installer-specific, so it=E2=80=99s annoying that we have to prepare for th= at, but we can=E2=80=99t deny such bugs exist and prevent installation. If we really want to capture the output of =E2=80=98guix system init=E2=80= =99, then we need to open a pseudo-terminal with =E2=80=98openpty=E2=80=99 & co. instead= of =E2=80=98pipe=E2=80=99 in =E2=80=98run-external-command-with-handler=E2=80=99. That may be relativel= y easy actually. But then I think this should be used sparsely, maybe only for =E2=80=98guix system init=E2=80=99. > Now the current situation is also not really acceptable. Nope. :-) > What about hiding the "guix system init" output completely and display > a progress bar page instead? I don=E2=80=99t think we can do that (with grafts, only part of the build p= lan is known upfront so we don=E2=80=99t even know beforehand how many items wi= ll be built/downloaded). Also, I think there are two strategies: either we run =E2=80=98guix system init=E2=80=99, in which case we let its output through, or we integrate =E2= =80=98guix system init=E2=80=99 functionality in the installer so we have more fine-gr= ain control over the process, in which case we could also have more graphical output or something. That second solution is a lot of work, though. Thanks, Ludo=E2=80=99.