GNU bug report logs - #36264
shepherd doesn't capture service stdout/stderr

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: Robert Vollmert <rob@HIDDEN>; dated Mon, 17 Jun 2019 16:43:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 36264) by debbugs.gnu.org; 17 Jun 2019 18:50:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 17 14:50:02 2019
Received: from localhost ([127.0.0.1]:43319 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hcwhd-0007pm-RV
	for submit <at> debbugs.gnu.org; Mon, 17 Jun 2019 14:50:02 -0400
Received: from mail-ed1-f51.google.com ([209.85.208.51]:37234)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1hcwhb-0007pE-L2
 for 36264 <at> debbugs.gnu.org; Mon, 17 Jun 2019 14:50:00 -0400
Received: by mail-ed1-f51.google.com with SMTP id w13so17645295eds.4
 for <36264 <at> debbugs.gnu.org>; Mon, 17 Jun 2019 11:49:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=e3Acy5F2eLMzNzzW4JxJQis8lTu6q2pVe623foSzTCE=;
 b=RcZd0tXcWZubaT2NYfSKGSObf9OVnq1d3QYUfsb7DaRJgCA7cdBVDme8ImCKOEZn/y
 x3b91FWjmc0PAEFz2CSnmVh5rco57LtAGYYz+zsgd76fJyfRqohcXTIFlIG/zo8Efs/X
 KgbCuyv2eW5pGLqZqdCaNdJvKS0aZ0bDfgeGpfMZN4Jvk7O8XRK3lF+TunkoKrwottmD
 PTflY4Zyajfe4XxcISa3b9CNn6esGf6W8ih3k+Rxpj/ECJJF2yZsScfCw3/SHYX0Alnc
 rMNhLytLLlhfb6Sh5KtqoErmeIn8GE6nYs8gtOhneA77LRJusx0f+FUKUEiqf0kz313x
 V22w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=e3Acy5F2eLMzNzzW4JxJQis8lTu6q2pVe623foSzTCE=;
 b=sHOPoJoKjGrb0oo+OWP/ezHXOfom5DzFz3TadaD4qvJLybEilco2AibysUz4AeK5ff
 O/rbDZhy3CypAibxUr78aml7/PXTGD6WZDVDCOBjhp9yZiXnxu3TFBE862HIh/dLD6/B
 e7HNb1nkQY0jlaXdsTMkv8pgRt/QZZ5jNKhRlD7fhttaCiO5B6a2RYinYJwpE3oLnsnq
 iTvtiPiEYG+mwI+GJUHP/VTtppEpA1HX8Mvu5s4i16ItFRSu0SJzAF8uL2E+1gGUm1TX
 D2FqLQlbryTrtmoZ9I34B4ZpNDWKeI9hpUVv2vHzlKOoIcyxhYL0laOwGeOf0swUJZf6
 F4cA==
X-Gm-Message-State: APjAAAXJYBn2D22f5sEzmAN1Mr3TQ6Eqfe/uCvGn996IPC8yRISWV/g9
 u0T/wwwSFwjQYj8MumeLxl7eTR+CQ9uQ9E8qfA==
X-Google-Smtp-Source: APXvYqxBidHmg3aBIinYHliPIQVR4NxceDISrSYOJktvnuHcmYsgqAoVZk9LgVCcTR72rdZeRGJ4uNAReA02YmDNgqY=
X-Received: by 2002:a17:906:d052:: with SMTP id
 bo18mr16202107ejb.311.1560797393678; 
 Mon, 17 Jun 2019 11:49:53 -0700 (PDT)
MIME-Version: 1.0
References: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@HIDDEN>
In-Reply-To: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@HIDDEN>
From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN>
Date: Mon, 17 Jun 2019 20:49:41 +0200
Message-ID: <CAE4v=piqPrAZHxbf90JO__SCC4+sRiV1apXd7ZQFAB_FD49gSg@HIDDEN>
Subject: Re: bug#36264: shepherd doesn't capture service stdout/stderr
To: Robert Vollmert <rob@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003773df058b8976cf"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 36264
Cc: 36264 <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 (-)

--0000000000003773df058b8976cf
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello guix,

Robert Vollmert <rob@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2019. j=C3=BA=
n. 17., H=C3=A9t
18:55):

> On a pretty fresh Guix System install, I see some regular
> sshd error messages on tty1 (which I guess means they=E2=80=99re
> written to /dev/console). Also, setting up a regular
> shepherd service via make-forkexec-constructor for a
> program that logs to stderr (postgrest which I=E2=80=99m in the
> process of packaging), all output goes to tty1.
>

This is also on my todo list for a while, so I can provide some additional
information. I noticed this on two services I was using:
ntp-service-type with default config and
prometheus-node-exporter-service-type with default config. I hope that
helps somewheat.


> Compare the discussion at
>
> https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00186.html


Best regards,
g_bor

>
>
>
>
>

--0000000000003773df058b8976cf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Hello guix,</div><div dir=3D"auto"><br><div class=3D=
"gmail_quote" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr">Robert Vol=
lmert &lt;<a href=3D"mailto:rob@HIDDEN">rob@HIDDEN</a>&gt; ezt =C3=
=ADrta (id=C5=91pont: 2019. j=C3=BAn. 17., H=C3=A9t 18:55):<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">On a pretty fresh Guix System install, I see some =
regular<br>
sshd error messages on tty1 (which I guess means they=E2=80=99re<br>
written to /dev/console). Also, setting up a regular<br>
shepherd service via make-forkexec-constructor for a<br>
program that logs to stderr (postgrest which I=E2=80=99m in the<br>
process of packaging), all output goes to tty1.<br></blockquote></div></div=
><div dir=3D"auto"><br></div><div dir=3D"auto">This is also on my todo list=
 for a while, so I can provide some additional information. I noticed this =
on two services I was using:</div><div dir=3D"auto">ntp-service-type with d=
efault config and</div><div dir=3D"auto">prometheus-node-exporter-service-t=
ype with default config. I hope that helps somewheat.</div><div dir=3D"auto=
"><br></div><div dir=3D"auto"><div class=3D"gmail_quote" dir=3D"auto"><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
<br>
Compare the discussion at<br>
<br>
<a href=3D"https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00186.h=
tml" rel=3D"noreferrer noreferrer" target=3D"_blank">https://lists.gnu.org/=
archive/html/guix-devel/2019-06/msg00186.html</a></blockquote></div></div><=
div dir=3D"auto"><br></div><div dir=3D"auto">Best regards,</div><div dir=3D=
"auto">g_bor</div><div dir=3D"auto"><div class=3D"gmail_quote" dir=3D"auto"=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><br>
<br>
<br>
<br></blockquote></div></div></div>

--0000000000003773df058b8976cf--




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

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


Received: (at submit) by debbugs.gnu.org; 17 Jun 2019 16:42:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 17 12:42:06 2019
Received: from localhost ([127.0.0.1]:43204 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hcuhp-0004YT-Ud
	for submit <at> debbugs.gnu.org; Mon, 17 Jun 2019 12:42:06 -0400
Received: from lists.gnu.org ([209.51.188.17]:54068)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rob@HIDDEN>) id 1hcuhk-0004Y0-Ql
 for submit <at> debbugs.gnu.org; Mon, 17 Jun 2019 12:42:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56211)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <rob@HIDDEN>) id 1hcuhj-0006AY-7O
 for bug-guix@HIDDEN; Mon, 17 Jun 2019 12:42:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rob@HIDDEN>) id 1hcuhi-0001xT-0P
 for bug-guix@HIDDEN; Mon, 17 Jun 2019 12:41:59 -0400
Received: from mx2.mailbox.org ([80.241.60.215]:44472)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hcuhf-0001Nj-U5
 for bug-guix@HIDDEN; Mon, 17 Jun 2019 12:41:57 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
 (No client certificate requested)
 by mx2.mailbox.org (Postfix) with ESMTPS id 0A082A014C
 for <bug-guix@HIDDEN>; Mon, 17 Jun 2019 18:41:41 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de
 [80.241.56.122]) (amavisd-new, port 10030)
 with ESMTP id mqxK0MC9Y5In for <bug-guix@HIDDEN>;
 Mon, 17 Jun 2019 18:41:38 +0200 (CEST)
From: Robert Vollmert <rob@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: shepherd doesn't capture service stdout/stderr
Message-Id: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@HIDDEN>
Date: Mon, 17 Jun 2019 18:41:37 +0200
To: bug-guix@HIDDEN
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 80.241.60.215
X-Spam-Score: -1.6 (-)
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.6 (--)

On a pretty fresh Guix System install, I see some regular
sshd error messages on tty1 (which I guess means they=E2=80=99re
written to /dev/console). Also, setting up a regular
shepherd service via make-forkexec-constructor for a
program that logs to stderr (postgrest which I=E2=80=99m in the
process of packaging), all output goes to tty1.

Compare the discussion at

https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00186.html





Acknowledgement sent to Robert Vollmert <rob@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36264; 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: Mon, 17 Jun 2019 19:00:03 UTC

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