From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YEb2IYa2qGIZoQAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 18:25:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qF0LIYa2qGIVagAAG6o9tA (envelope-from ) for ; Tue, 14 Jun 2022 18:25:42 +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 28CBF1547F for ; Tue, 14 Jun 2022 18:25:42 +0200 (CEST) Received: from localhost ([::1]:33716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o19ML-0000vr-2W for larch@yhetil.org; Tue, 14 Jun 2022 12:25:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o19Jm-0007xA-Jl for bug-guix@gnu.org; Tue, 14 Jun 2022 12:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o19Jl-00079d-T2 for bug-guix@gnu.org; Tue, 14 Jun 2022 12:23:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o19Jl-0001Kw-Q1 for bug-guix@gnu.org; Tue, 14 Jun 2022 12:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55857: Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Jun 2022 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55857 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 55857@debbugs.gnu.org Received: via spool by 55857-submit@debbugs.gnu.org id=B55857.16552237765127 (code B ref 55857); Tue, 14 Jun 2022 16:23:01 +0000 Received: (at 55857) by debbugs.gnu.org; 14 Jun 2022 16:22:56 +0000 Received: from localhost ([127.0.0.1]:35581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o19Jg-0001Kd-BE for submit@debbugs.gnu.org; Tue, 14 Jun 2022 12:22:56 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:40878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o19Je-0001KO-6v for 55857@debbugs.gnu.org; Tue, 14 Jun 2022 12:22:55 -0400 Received: by mail-qt1-f174.google.com with SMTP id hf10so6449989qtb.7 for <55857@debbugs.gnu.org>; Tue, 14 Jun 2022 09:22:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Ud1wEyjno8rEskkvYSoHKLynV+4wggQ2FyIJCeDFuFE=; b=ZkN5WJsGba7oFapJNZ+yKLf3h/UYZF4C9LROIU5gL9AadkYD6yQqZI39nMRHJIb1md vfcfIXzoh7n4MidpASKQq1MxUzKZTuuttrefgk77y5DGKsytJx5WC96VWKYWyDRiEuPJ iq+YDCNGBh76jjgF54Qq0sGOZD8iR9siJHXqoUYGKvIcO7MQ40kMT7tM52OAcePzGsl7 xQ4MNE7V/JmDCGiXr2Zgze4BD2gQMbVlAt90gqA6y7ydP75ZMeOybb2JZ1iENYzMeUDT orJx+iCT0lk2c4ovMwEtQ74XAgWs6jjErJmkQNLpWYmFlSNTurhrNpehs2S4JpnfeWy6 NEcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Ud1wEyjno8rEskkvYSoHKLynV+4wggQ2FyIJCeDFuFE=; b=VFc8zvarfQp0bZjJ+MDRpEVjhle3pPACKUSDgXh6WTNfmuo7Pxjy7VP1GiRY2T8or/ hgvuTwmTQ0SxtPDHovTHV12n+g4cRPis5AkPkxaJa5Gz9YiDR/GjEpYq8DYGDPL0S7iu vyEPcEhqCRM6tnyjlggKPNoXBp7QZz1pvLW3Lo+y+4/0lSqvy4myb1e1tvRpmsGA8uE3 5GOUmxnMR7ccRZx4cKOdcZAScsOuRuFgiEWjev7dGbAExoodrWZ3/v/1CUit640IC912 URinYRlou1/olj0/JfTtSzO1Vc+3EvSUestqyYz+VHfzGPa5ch60xv8g19c+QQ+DJs3w bVgQ== X-Gm-Message-State: AOAM533sLRA404PFtbPuODKX0FBl/MjOsQwKfTHpv9W+cK0dvkQpBkPY HpSBoUVQQcEXuGEHf9EYysHZl1nNMIhoK9DC X-Google-Smtp-Source: ABdhPJzuWXJATAH/rlCcAeU4JEt53BCGsRHjeefMenEK5eQDjx1TyOrTihMuR7+En5wWi3B0HXUUqg== X-Received: by 2002:ac8:6b9a:0:b0:305:2536:7a37 with SMTP id z26-20020ac86b9a000000b0030525367a37mr4832322qts.681.1655223768435; Tue, 14 Jun 2022 09:22:48 -0700 (PDT) Received: from hurd (dsl-10-149-55.b2b2c.ca. [72.10.149.55]) by smtp.gmail.com with ESMTPSA id bp6-20020a05620a458600b0069fc13ce1fesm9720517qkb.47.2022.06.14.09.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 09:22:47 -0700 (PDT) From: Maxim Cournoyer References: <87leu7j84f.fsf@gmail.com> <87o7z0xjxq.fsf@gnu.org> Date: Tue, 14 Jun 2022 12:22:46 -0400 In-Reply-To: <87o7z0xjxq.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 10 Jun 2022 23:55:29 +0200") Message-ID: <87v8t3dxk9.fsf@gmail.com> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655223942; 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=Ud1wEyjno8rEskkvYSoHKLynV+4wggQ2FyIJCeDFuFE=; b=ujQOZvgi9xRRaGk1XnHEV2Raf074tRQNZIdK3vryrvnKtlHOXvKxv004y5h0mr1Sa+X25N F/TLwd3sLKTRc7NZooeSUvz+P1jrRg+wdo/Z+hRAZzqI372QhOtUYmhMlBm9jmHRd8IiUY 40GxI5HL9563TJdA+oHkRhKa0MS/BefEcTj9fzwXs2XuNfjh4tYVLDmqaivH+wOajQG4RU OduocTMS0t/Ph7O1HrESAtjOmEet951jcRr2RhkHSnnk83hgQ8ckCHcEvhGFxKE4D8O7Qe Ji+/yOwFGQt5iljHnscFPVc0DurBWuMG6BQ6i9hTiKD74yfjjzqXi0CcyqInGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655223942; a=rsa-sha256; cv=none; b=bHjekq/E+0MGEtGLMXfB5XGIQ8Aup8pWuiHLAfZRxzPZKAebYrfly2k27yUVHMfdRbZO9W nBh9cpbjDwJllXYZbSZR4L/ie6a1FotGDirJHjMeRQNW5zaWSVf+4SxnMuL9lOkU6G78y3 O8gC7Pkw4MyMsdhKvNn/ZTYuwXG4299QvK/0STW9X3qLeq1zOEH+mGxYlAafpwU+nCIXxo PRe/XLiwhxyzn90kjbRd5hWO4aVQntP+2137cnl1nU5JkVVHStfM2J2I/YSlz8GVy8/3KR XjJGdXo13b9m2KW4jWfyU2ylvrVjS8+Ujn6PhQlE0+1ErA8yV7w0OlVPBYy+Hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZkN5WJsG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZkN5WJsG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 28CBF1547F X-Spam-Score: 7.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: C12xtqPgBRzY Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> The following message is shown when reconfiguring Guix System: >> >> shepherd: Evaluating user expression (and (defined? (quote transient?)) = (map (# ?) ?)). >> >> It doesn't seem intended for end users to see; at least I have no clue >> what it's supposed to tell me :-). > > The question marks are HORIZONTAL ELLIPSIS not being displayed properly > because =E2=80=98guix=E2=80=99 is not running under a UTF-8 locale. > > The message is produced by shepherd as a response to an expression that > =E2=80=98guix system reconfigure=E2=80=99 tells it to evaluate, in (gnu s= ervices herd). > And all this happens as part of the live service upgrade mechanism. > > Admittedly, this particular message is not something one cares about as > a user, but it seemed safer to print messages shepherd might send during > that operation. Perhaps what we need is a proper logging infrastructure? The above message could be flagged as a 'debug' level message. stdout/stderr would only get to see the 'info' or higher level messages, the rest would be logged only to syslog, keeping the user interface clean. I know such a logging mechanism exists in Guile-Lib, as the (logging logger) module [0]. What do you think? Thanks, Maxim [0] https://www.nongnu.org/guile-lib/doc/ref/logging.logger/