From unknown Sat Jun 14 14:24:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36264 <36264@debbugs.gnu.org> To: bug#36264 <36264@debbugs.gnu.org> Subject: Status: shepherd doesn't capture service stdout/stderr Reply-To: bug#36264 <36264@debbugs.gnu.org> Date: Sat, 14 Jun 2025 21:24:19 +0000 retitle 36264 shepherd doesn't capture service stdout/stderr reassign 36264 guix submitter 36264 Robert Vollmert severity 36264 important thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 12:42:06 2019 Received: (at submit) by debbugs.gnu.org; 17 Jun 2019 16:42:06 +0000 Received: from localhost ([127.0.0.1]:43204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcuhp-0004YT-Ud for submit@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 ) id 1hcuhk-0004Y0-Ql for submit@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 ) id 1hcuhj-0006AY-7O for bug-guix@gnu.org; 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 ) id 1hcuhi-0001xT-0P for bug-guix@gnu.org; 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 ) id 1hcuhf-0001Nj-U5 for bug-guix@gnu.org; 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 ; 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 ; Mon, 17 Jun 2019 18:41:38 +0200 (CEST) From: Robert Vollmert 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@vllmrt.net> Date: Mon, 17 Jun 2019 18:41:37 +0200 To: bug-guix@gnu.org 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 17 14:50:02 2019 Received: (at 36264) by debbugs.gnu.org; 17 Jun 2019 18:50:02 +0000 Received: from localhost ([127.0.0.1]:43319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcwhd-0007pm-RV for submit@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 ) id 1hcwhb-0007pE-L2 for 36264@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@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@vllmrt.net> In-Reply-To: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@vllmrt.net> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Mon, 17 Jun 2019 20:49:41 +0200 Message-ID: Subject: Re: bug#36264: shepherd doesn't capture service stdout/stderr To: Robert Vollmert Content-Type: multipart/alternative; boundary="0000000000003773df058b8976cf" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36264 Cc: 36264@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000003773df058b8976cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello guix, Robert Vollmert 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
Hello guix,

Robert Vol= lmert <rob@vllmrt.net> ezt =C3= =ADrta (id=C5=91pont: 2019. j=C3=BAn. 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 d= efault config and
prometheus-node-exporter-service-t= ype with default config. I hope that helps somewheat.

<= div dir=3D"auto">
Best regards,
g_bor




--0000000000003773df058b8976cf-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 10:28:47 2020 Received: (at control) by debbugs.gnu.org; 5 Apr 2020 14:28:47 +0000 Received: from localhost ([127.0.0.1]:46455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL6GU-0007kM-TO for submit@debbugs.gnu.org; Sun, 05 Apr 2020 10:28:47 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:4101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL6GS-0007jq-LM for control@debbugs.gnu.org; Sun, 05 Apr 2020 10:28:45 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay1-d.mail.gandi.net (Postfix) with ESMTPA id 45B89240004 for ; Sun, 5 Apr 2020 14:28:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 05 Apr 2020 14:28:37 +0000 From: Brice Waegeneire To: control@debbugs.gnu.org Subject: merge 36264 30939 Message-ID: <10441295b633fc99948b7eed4aad51f3@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) severity 36264 important merge 36264 30939 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 06 03:19:58 2024 Received: (at 36264-done) by debbugs.gnu.org; 6 Sep 2024 07:19:59 +0000 Received: from localhost ([127.0.0.1]:39032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smTGA-00061Q-Kk for submit@debbugs.gnu.org; Fri, 06 Sep 2024 03:19:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smTG7-000615-Oq for 36264-done@debbugs.gnu.org; Fri, 06 Sep 2024 03:19:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smTEy-0006h5-9l for 36264-done@debbugs.gnu.org; Fri, 06 Sep 2024 03:18:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=IVBYs7dFUx0jkL/NjmGepdYHcCukAol/v08JN0+OEXk=; b=Aj6Ogfc2JdEPU8gDK8RB JHiKhKXcYPqqks8xdK+HdaSrky+3MtpwWwjxoGkEdO8m9swqD0gAdQW/rj2COlLS0yqXwVR3oDean eJhSCkPFgXRQZL2OZMY8OIvUUtCbK21iZ3/14MMy9Xry9aAPFvMwrgc7lmtGMZ40VexmAEZDdD30C 1vxrg4Lt00E8fqYJQQqwvmW8srcIrMeKTh8oMKAQ/cBdkxyp6NaW8BzZ4Vaf4nF1kvXlKrqdRF4GT ldVMVMHBsltCKgBVF+ejSkzTH7E+TNGvoMeVOOeRgroc0h6dA1y8YKRzVGeB0UqJVW536XogRt/Tk laEJCHOCwZ9EAg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 36264-done@debbugs.gnu.org Subject: Re: bug#36264: shepherd doesn't capture service stdout/stderr In-Reply-To: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@vllmrt.net> (Robert Vollmert's message of "Mon, 17 Jun 2019 18:41:37 +0200") References: <60AB29DA-9E60-4C78-B1C8-7BAD9318D69F@vllmrt.net> Date: Fri, 06 Sep 2024 09:18:41 +0200 Message-ID: <87ed5x45da.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 36264-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Robert Vollmert skribis: > 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 Fortunately that was fixed in Shepherd 0.9.0 (April 2022). Ludo=E2=80=99. From unknown Sat Jun 14 14:24:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 04 Oct 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator