From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SM+zJRgnE1/4fwAA0tVLHw (envelope-from ) for ; Sat, 18 Jul 2020 16:45:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id JDONIRgnE19bSwAA1q6Kng (envelope-from ) for ; Sat, 18 Jul 2020 16:45:12 +0000 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 20FA59404D9 for ; Sat, 18 Jul 2020 16:45:12 +0000 (UTC) Received: from localhost ([::1]:40494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwpxV-00041L-72 for larch@yhetil.org; Sat, 18 Jul 2020 12:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwpxO-00041F-T6 for bug-guix@gnu.org; Sat, 18 Jul 2020 12:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwpxO-0005Ru-IA for bug-guix@gnu.org; Sat, 18 Jul 2020 12:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwpxO-0007ZS-Fk for bug-guix@gnu.org; Sat, 18 Jul 2020 12:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#30939: shepherd: detailed output should be placed into well-known location and not tty References: <20180325183555.cilo6qyrj43jh6he@abyayala> In-Reply-To: <20180325183555.cilo6qyrj43jh6he@abyayala> Resent-From: conjaroy Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 18 Jul 2020 16:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30939 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30939@debbugs.gnu.org Received: via spool by 30939-submit@debbugs.gnu.org id=B30939.159509065528996 (code B ref 30939); Sat, 18 Jul 2020 16:45:02 +0000 Received: (at 30939) by debbugs.gnu.org; 18 Jul 2020 16:44:15 +0000 Received: from localhost ([127.0.0.1]:59305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwpwd-0007Xb-71 for submit@debbugs.gnu.org; Sat, 18 Jul 2020 12:44:15 -0400 Received: from mail-ej1-f46.google.com ([209.85.218.46]:46260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwpgi-000721-T0 for 30939@debbugs.gnu.org; Sat, 18 Jul 2020 12:27:49 -0400 Received: by mail-ej1-f46.google.com with SMTP id p20so13946917ejd.13 for <30939@debbugs.gnu.org>; Sat, 18 Jul 2020 09:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rPhz8hIpWflhGvU6Y1rgJHnSX4yEJgpmng/WLralLg8=; b=GyhklGAYaQ/jRrH3Q07YcMKHGN7tXIqzWkbPlrPQ2SK+0jfENe0QXN5xqG3fLMwUC2 c6vKRC/11U8vh9FmeDEp+eEDtXJCcZP/HJxnp7FMs3p9xTt/X5utDIfNG7qPJqWL3Kb0 uSIz2FxkRvd7EyaEHLG8/5QWjDpnJATeo/9Z+Iae59bI7f+5ZXj1gnuOygbz0p2fcfZQ Uy6dTbyZvFo4pKeT34FoGDIuk7JiKfnCrKf5R/moujpM1MBXT0LjLP7hVENIcM+DlTLC CV0Ys3anf3+8E/q/1ZtcR8VUL7G3Tfvql6fauXx9eKUthG/hKA1OdKzyY8fDevABaZwZ Vmng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rPhz8hIpWflhGvU6Y1rgJHnSX4yEJgpmng/WLralLg8=; b=mzbENMwGmHOZoUYycOlFc4ENWyd8drQ47i3XStZyW2BkHBlVaOuXlQVvWCk3zbuYVd 0h/QTb07JckrYBzTMaHnrxBXYZ5VXbagYIGhhZkHUZaaAlI3Lu8vIzMsN1yOHzyEYA9f Xmze/K0QBwIjBnTnr5YLv0BgE17ZWLEIstXfUAsMS27cCY1hGYMg+sd30fADtjA/Lbke Y+b3+gvU0rjRVdehB7nY8x0MXjikYZ7TCtMui+iKqmIfgxhJOfLc7I4eTepFQn4ubcNm iwRHZjyaeWvT9NfM50FimDcXAacsN5OIvbfcjPilNBv3cQp8DU3o1ffHDvhDShA5ggZV L/6Q== X-Gm-Message-State: AOAM530l9dujsmeCvmVBRxDQogqFctTpPeX1INapgfXs5xhSHhkktopI l5y5C5CpxqMc2LXZPlJGxFWVIorEul/T/VvJy9odag== X-Google-Smtp-Source: ABdhPJyIq3F3Dc35JXsflcuQ3BmxUjZ40v/Ram4kkjNXqtKKdJlUo/zi02ZKQ59G1wQOPj69SJbSJ7xmdkVuT+bfe/4= X-Received: by 2002:a17:906:1245:: with SMTP id u5mr13233462eja.286.1595089662696; Sat, 18 Jul 2020 09:27:42 -0700 (PDT) MIME-Version: 1.0 From: conjaroy Date: Sat, 18 Jul 2020 12:27:06 -0400 Message-ID: Content-Type: multipart/alternative; boundary="000000000000bae28205aab9c0a7" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Sat, 18 Jul 2020 12:44:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GyhklGAY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: IDwr1DJgSnPw --000000000000bae28205aab9c0a7 Content-Type: text/plain; charset="UTF-8" Hello - I too have found that debugging is a challenge when a service's stdout/stderr aren't captured automatically. From my point of view though, the issue is not just that certain binaries lack syslog support: since a service implementation's gexp can do much more than just exec a binary, and since mistakes in gexps usually go unnoticed until a runtime, I've found it easy to write scripts that trigger fatal Guile errors before the service binary is even started (syntax errors, missing `use-modules` declarations, etc.) Will the solution proposed here capture output for this class of errors as well? --000000000000bae28205aab9c0a7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello -

I too have found tha= t debugging is a challenge when a service's stdout/stderr aren't ca= ptured automatically. From my point of view though, the issue is not just t= hat certain binaries lack syslog support: since a service implementation= 9;s gexp can do much more than just exec a binary, and since mistakes in ge= xps usually go unnoticed until a runtime, I've found it easy to write s= cripts that trigger fatal Guile errors before the service binary is even st= arted (syntax errors, missing `use-modules` declarations, etc.)
<= br>
Will the solution proposed here capture output for this class= of errors as well?
--000000000000bae28205aab9c0a7--