GNU bug report logs - #55857
Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Wed, 8 Jun 2022 18:58:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 55857 <at> debbugs.gnu.org:


Received: (at 55857) by debbugs.gnu.org; 15 Jun 2022 15:51:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 15 11:51:24 2022
Received: from localhost ([127.0.0.1]:39612 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1VIi-0003aH-Gr
	for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 11:51:24 -0400
Received: from mail-qv1-f41.google.com ([209.85.219.41]:46919)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1o1VIe-0003Zx-3v
 for 55857 <at> debbugs.gnu.org; Wed, 15 Jun 2022 11:51:23 -0400
Received: by mail-qv1-f41.google.com with SMTP id i19so9070304qvu.13
 for <55857 <at> debbugs.gnu.org>; Wed, 15 Jun 2022 08:51:20 -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=lE5UOKM2sgJdVsUbn42wEdFQgY493fAaXa8SEtn9eJs=;
 b=Ns0A5B3JBMh+sC0wG7zvs8GIlyEPMiP3SD2O8td+lm6GHoj/azozfPZ7+hkFgSWCva
 6Oa+iq1XQfs8PG9T1tCPwM5ryjazqtVzSKzDW2Tcjm1RlCj8ZkDielkJ8JLMK8HJLIE9
 Vo9CVpmto0bQb4jCUA4Bf5rwHbFHKIGMai7qujRBeEEY0gTa6iJ7Y855LHQAcVIvo5Tu
 x+G8IJCPCxhZVsL63MyeL3/efcym8JHxxpNeFJz7HOyIz2unngIYrTWmIJPMsgEOsjXP
 VnEd3NU7WP6WQjpXCWcNbaDewWH+7z91I5s7xKAHjY93kSQm9xVkIOhcyFp7npKBGlHf
 N1Mw==
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=lE5UOKM2sgJdVsUbn42wEdFQgY493fAaXa8SEtn9eJs=;
 b=eJ8mHrWB7viqMR0mSrDYQIBJRg0E9xT8KpZdxvHwnmgO/Y/WeyNfBkYHU3avfp0mLX
 od7CRSYzoZ/CLtxa430NJzbLhrOgDNKv76cXZ6fJGW5wP8qd/uQ6250e32DXNDliPbhr
 1NaRV6OzBP+ezdAZCM04FeigyL8UD3JaIBJdGGrVN8VC+S6GL88ACMDb1pVLKVvLkmYT
 rKU61+V6y4OTSQXMkATEayL865JjElOESHf65PbVx4a+DB9st76uuI523zB5oJKH5/tz
 7DggVSPB2kJ8OcPONlrcisoOaXWBeJw6qIjJe+z+KdULri9oew1ItXvGH0Kl6YULPYtE
 eLkQ==
X-Gm-Message-State: AJIora+7ojGLn2AhX2bFxQmy1AovjWBw+Y2Azew8xRS2FeOISiBc6vOW
 o0lkW+VsUr2tY3AfODHZzemxFC594nMM1Q==
X-Google-Smtp-Source: AGRyM1vgHfKd9F1qfn5TqaluTcxnFKOU1wFwWkvmAXbgLhXaYQlKIGW+v0GiId/f7KGrFlLIQF7oQQ==
X-Received: by 2002:a05:6214:568c:b0:46b:4b23:a5f2 with SMTP id
 lm12-20020a056214568c00b0046b4b23a5f2mr168633qvb.130.1655308274253; 
 Wed, 15 Jun 2022 08:51:14 -0700 (PDT)
Received: from hurd (dsl-10-149-53.b2b2c.ca. [72.10.149.53])
 by smtp.gmail.com with ESMTPSA id
 f12-20020a05620a280c00b0069fe1dfbeffsm12344371qkp.92.2022.06.15.08.51.13
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 15 Jun 2022 08:51:13 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#55857: Odd Shepherd message on 'guix system reconfigure':
 (map (# ?) ?)
References: <87leu7j84f.fsf@HIDDEN> <87o7z0xjxq.fsf@HIDDEN>
 <87v8t3dxk9.fsf@HIDDEN> <875yl2tfoa.fsf@HIDDEN>
Date: Wed, 15 Jun 2022 11:51:12 -0400
In-Reply-To: <875yl2tfoa.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Wed, 15 Jun 2022 11:54:45 +0200")
Message-ID: <87y1xyc4cv.fsf@HIDDEN>
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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55857
Cc: 55857 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis:
>
>> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
> [...]
>
>>> 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=
 services 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 difficulty here is that the message comes from shepherd without a
> priority/level flag.  Usually those messages are well worth displaying
> because they show what services got restarted, what failed, etc.  But
> this one message is the fly in the ointment=E2=80=A6

Yes, I wasn't clear but I meant *Shepherd* needs a proper logging
infrastructure (although it seems to me the logging library in Guile-Lib
could be used in any Guile project, Guix included -- the way the
'logging' module comes standard in Python and preferred to printing or
reinventing a logging system :-)).

Maxim




Information forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.

Message received at 55857 <at> debbugs.gnu.org:


Received: (at 55857) by debbugs.gnu.org; 15 Jun 2022 09:54:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 15 05:54:56 2022
Received: from localhost ([127.0.0.1]:36592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o1Pjj-0001Z7-Rc
	for submit <at> debbugs.gnu.org; Wed, 15 Jun 2022 05:54:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56070)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1o1Pjg-0001Yr-9y
 for 55857 <at> debbugs.gnu.org; Wed, 15 Jun 2022 05:54:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57698)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1o1Pjb-0005to-0i; Wed, 15 Jun 2022 05:54:47 -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=bgUiAmzrNJaLMFFStk2Xj9NVHv5DRzf+Vpc8Qru+6dI=; b=DxJbo+5QPj95xKKseQOo
 734o0d2+quYGa5C70sPQnT4fT6aS/wpfNIX1DvDa8evLgM+SF2u1P5G0Tip/yBwfLBcUDqwXLoCk3
 ZeLz6U6OfTQCM+1xJBbhveNPPTqvjfxBGlG9U/8p+L5czMl07+g0ryqZycf3fO5V92zfvNRxJwF5J
 Wlvzb++pPmdaUca9L+5chzBYhvOkCDCYbW3r50OQLp5Wb2nFqq2fOYWBpruha17flgXcJ37FO6mLn
 2Ecsa+/kEKaAYZolRGC29DZDJdEVcTPQSQ1AWB9JFDGSiZHsjdIfzo8FlWSg5wAHu9imEyMD2oSOa
 0SDilH5PmmqTpQ==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65061
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1o1Pja-0002mf-Fv; Wed, 15 Jun 2022 05:54:46 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: bug#55857: Odd Shepherd message on 'guix system reconfigure':
 (map (# ?) ?)
References: <87leu7j84f.fsf@HIDDEN> <87o7z0xjxq.fsf@HIDDEN>
 <87v8t3dxk9.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Septidi 27 Prairial an 230 de la =?utf-8?Q?R=C3=A9vo?=
 =?utf-8?Q?lution=2C?= jour de la Verveine
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: Wed, 15 Jun 2022 11:54:45 +0200
In-Reply-To: <87v8t3dxk9.fsf@HIDDEN> (Maxim Cournoyer's message of "Tue, 14
 Jun 2022 12:22:46 -0400")
Message-ID: <875yl2tfoa.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55857
Cc: 55857 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis:

> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

[...]

>> 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 =
services 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 difficulty here is that the message comes from shepherd without a
priority/level flag.  Usually those messages are well worth displaying
because they show what services got restarted, what failed, etc.  But
this one message is the fly in the ointment=E2=80=A6

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.

Message received at 55857 <at> debbugs.gnu.org:


Received: (at 55857) by debbugs.gnu.org; 14 Jun 2022 16:50:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 14 12:50:53 2022
Received: from localhost ([127.0.0.1]:35612 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o19kj-00026E-A9
	for submit <at> debbugs.gnu.org; Tue, 14 Jun 2022 12:50:53 -0400
Received: from baptiste.telenet-ops.be ([195.130.132.51]:60954)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1o19kf-00025y-5h
 for 55857 <at> debbugs.gnu.org; Tue, 14 Jun 2022 12:50:52 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by baptiste.telenet-ops.be with bizsmtp
 id j4qm2700H4UW6Th014qmtm; Tue, 14 Jun 2022 18:50:47 +0200
Message-ID: <eff7c022549090ae03e2664e395ee6851019cd6d.camel@HIDDEN>
Subject: Re: bug#55857: Odd Shepherd message on 'guix system reconfigure':
 (map (# ?) ?)
From: Maxime Devos <maximedevos@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, Ludovic
 =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Date: Tue, 14 Jun 2022 18:50:41 +0200
In-Reply-To: <87v8t3dxk9.fsf@HIDDEN>
References: <87leu7j84f.fsf@HIDDEN> <87o7z0xjxq.fsf@HIDDEN>
 <87v8t3dxk9.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-KSqBYBAJ7Ndo+UPT+q3v"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1655225447; bh=zWxCGp++sroVLFEFThf8rGnF+hWLRr2pNanLyzGs+0M=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=QblmlJjQeCBqZ5zZE0g/Vuy9QRW5pXgr1rMuA6H8uYcCpfFk4s9D6AUuSzND9AqGa
 5G+cjXBZZTW68QgyVj86HEDzPpAvw02Fms1mZ/w4QC4gnPGX5y1qdwOSX9zK7skjpl
 dsFJ5QDvRMQfT4bce2FjRlRFD/LvPfeqz7RBRD+Ahj95drDgLTmZALkht5DOlFLuQ1
 qxRjU5tyA1BjxkQPReFxk1FRaYl0r2fqjtefOTfWeVOSK12ZV5N3NhCfL942Ci92Uv
 JaeiQwyCnibuctw51slNfs1XQnHdULfkKC5qxyRA1tHY45gcyDLeMjDObygfldlzri
 QJBUK8rd3Z7CA==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55857
Cc: 55857 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--=-KSqBYBAJ7Ndo+UPT+q3v
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Maxim Cournoyer schreef op di 14-06-2022 om 12:22 [-0400]:
> Perhaps what we need is a proper logging infrastructure?=C2=A0 The above
> message could be flagged as a 'debug' level message.=C2=A0 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.=C2=A0 I
> know such a logging mechanism exists in Guile-Lib, as the (logging
> logger) module [0].
>=20
> What do you think?

Attila Lendvai has some ideas on logging, see
https://issues.guix.gnu.org/55242#2 and later patches.

Greetings,
Maxime.

--=-KSqBYBAJ7Ndo+UPT+q3v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iIwEABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYqi8YRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7im3AQDG0H2PY4bRJ1GZibkey2TMYiQJ
6wOU3IWz4DfAPjkSKgD4ho8hUG4SCV0++NIZwERaeT1ALEZb8iM1+JjpiPWUAQ==
=ylRa
-----END PGP SIGNATURE-----

--=-KSqBYBAJ7Ndo+UPT+q3v--





Information forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.

Message received at 55857 <at> debbugs.gnu.org:


Received: (at 55857) by debbugs.gnu.org; 14 Jun 2022 16:22:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 14 12:22:56 2022
Received: from localhost ([127.0.0.1]:35581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1o19Jg-0001Kd-BE
	for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1o19Je-0001KO-6v
 for 55857 <at> 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 <at> 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 <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#55857: Odd Shepherd message on 'guix system reconfigure':
 (map (# ?) ?)
References: <87leu7j84f.fsf@HIDDEN> <87o7z0xjxq.fsf@HIDDEN>
Date: Tue, 14 Jun 2022 12:22:46 -0400
In-Reply-To: <87o7z0xjxq.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Fri, 10 Jun 2022 23:55:29 +0200")
Message-ID: <87v8t3dxk9.fsf@HIDDEN>
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-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55857
Cc: 55857 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludovic,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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/




Information forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.

Message received at 55857 <at> debbugs.gnu.org:


Received: (at 55857) by debbugs.gnu.org; 10 Jun 2022 21:56:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 10 17:56:09 2022
Received: from localhost ([127.0.0.1]:51480 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nzmbx-0003iG-KH
	for submit <at> debbugs.gnu.org; Fri, 10 Jun 2022 17:56:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nzmbw-0003i3-GS
 for 55857 <at> debbugs.gnu.org; Fri, 10 Jun 2022 17:56:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40858)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nzmbr-0001Eq-3N; Fri, 10 Jun 2022 17:56: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=Juicy4X8jp1qHciZGdpdl55DyCMnNUcPkXHUrci3hG8=; b=OnOQZncsSz2ls/EM/42k
 RPHptk25OaAp+66cSvG9IyGLLA4YSczfSxW/1962o2wMVAAHRSsl5MWzay7luWHPf6NvwS5AcfmYw
 n/KconGa2KHL4N7v3wJS/gylxWCw6306kRfsbLI8D+VAXqjFeXdRdvXttZxSsSOxTJ6Cf/7mu1rUj
 eEavtOlcobUkdg7cqt2xcslwg65fQ4l7VvZMital0GVmDfuNqXbQHIcXKR/DChCwt0lCgrLGo7BR+
 XipPdKyz4Ai9eNXZel4t73St5fIZzilx+0b/f1RUs61BM2Hccd9J0okRGPQaK+hjvnjUb/7dqYj2d
 PQsKXS5jDd8bCw==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55906
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nzmbq-0006vY-OO; Fri, 10 Jun 2022 17:56:02 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: bug#55857: Odd Shepherd message on 'guix system reconfigure':
 (map (# ?) ?)
References: <87leu7j84f.fsf@HIDDEN>
Date: Fri, 10 Jun 2022 23:55:29 +0200
In-Reply-To: <87leu7j84f.fsf@HIDDEN> (Maxim Cournoyer's message of "Wed, 08
 Jun 2022 14:57:36 -0400")
Message-ID: <87o7z0xjxq.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55857
Cc: 55857 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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 ser=
vices 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.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Jun 2022 18:57:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 08 14:57:44 2022
Received: from localhost ([127.0.0.1]:44309 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nz0sC-00028X-MQ
	for submit <at> debbugs.gnu.org; Wed, 08 Jun 2022 14:57:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:39874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1nz0s9-00028N-Ny
 for submit <at> debbugs.gnu.org; Wed, 08 Jun 2022 14:57:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34870)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1nz0s9-0003Of-Ga
 for bug-guix@HIDDEN; Wed, 08 Jun 2022 14:57:41 -0400
Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:33651)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1nz0s8-0002sj-1x
 for bug-guix@HIDDEN; Wed, 08 Jun 2022 14:57:41 -0400
Received: by mail-qk1-x72d.google.com with SMTP id d23so1333302qke.0
 for <bug-guix@HIDDEN>; Wed, 08 Jun 2022 11:57:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version;
 bh=mMrvA8W7LiZqgvcz7fPFDrUMdEDkCitUzHuwgMhhRjI=;
 b=IP3+msrIzZlsBQiD4hKwrzMz4st9rERQuB5lXhTP3xRMk9iMzhlt5M+l1fYOgSG72H
 69vib/2YuE4asfBWHYZQeujX8Zz6QxL3AMgt3BeWtwNlLEpIlO7Sne8o27lKml5Kor7u
 hOmwDubpxFbw0PoseR7do/hE2n4e/HeYB0i1P9/jKr9hxpOp9/L0EsUWY/QUHTmbPP6g
 +yhy7MZFaivRjGAAFPp1WMlzRD0R7VaeImT9EUBQKnE9DrOIUfTIEzvj5sWJYifmQ8yH
 VbqpfL/76YX7oqZsrxACid82y/QAoMgTCLQSCo4Az2YlIo4Trduo6wUvaKhgfmM0ztQ+
 v8cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=mMrvA8W7LiZqgvcz7fPFDrUMdEDkCitUzHuwgMhhRjI=;
 b=F0fuL32B11fiGhMy5qA6eQMY04pfDczwWQTrbFrm2P2RlWKjvmhTpo9oGz8gB5h+Qu
 nfrFYYjugidYN6Y7aGhyU9SBM4h1vjUG6lk/JN1gdWExtjzk8ozNR+Cz7b+a1wAPLmNL
 h/Ce+UQNUT7BwJ2L73ELrS30zBhssy6APxYMi9I9+KnTM/3oFfThX/GMX9TfP3yNhxot
 2v/pxorSILA/rJWcw6lBprvcsK3ihspPppM+uCOBam+qmpK1BnOzR9Dl++qXKfYpNesn
 RwqOTDFNkuBn+vwWaesXHhk76W1vT1j7dNsxvo+pe1DgbTQig8FZNVLRrDKaUsy2cE3a
 ytcQ==
X-Gm-Message-State: AOAM533in/Rbpxj7ZCyfY/JpMOafn30U0N/OcHzZSbywzOM/Nh1AgWN8
 H8bAVQhz/3S2rgKZ96PjWe/RLCdrI2Ezrw==
X-Google-Smtp-Source: ABdhPJw0zN4rba8JO9kL5w317Gy9tMWpnsgSSK536VOv2vOM7jP7BolsbBYx/rscI17mXkE0BFJG+w==
X-Received: by 2002:a05:620a:4150:b0:6a3:7c8b:9796 with SMTP id
 k16-20020a05620a415000b006a37c8b9796mr24472603qko.18.1654714658159; 
 Wed, 08 Jun 2022 11:57:38 -0700 (PDT)
Received: from hurd (dsl-151-172.b2b2c.ca. [66.158.151.172])
 by smtp.gmail.com with ESMTPSA id
 ew5-20020a05622a514500b0030503a897b1sm1419345qtb.42.2022.06.08.11.57.37
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 08 Jun 2022 11:57:37 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: Odd Shepherd message on 'guix system reconfigure': (map (# ?) ?)
Date: Wed, 08 Jun 2022 14:57:36 -0400
Message-ID: <87leu7j84f.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::72d;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x72d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello Guix,

The following message is shown when reconfiguring Guix System:

--8<---------------cut here---------------start------------->8---
shepherd: Evaluating user expression (and (defined? (quote transient?)) (map (# ?) ?)).
--8<---------------cut here---------------end--------------->8---

It doesn't seem intended for end users to see; at least I have no clue
what it's supposed to tell me :-).

Thanks,

Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#55857; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 15 Jun 2022 16:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.