From unknown Mon Aug 18 02:32:37 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#30464 <30464@debbugs.gnu.org> To: bug#30464 <30464@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Add console-agetty-service. Reply-To: bug#30464 <30464@debbugs.gnu.org> Date: Mon, 18 Aug 2025 09:32:37 +0000 retitle 30464 [PATCH 0/2] Add console-agetty-service. reassign 30464 guix-patches submitter 30464 Danny Milosavljevic severity 30464 normal tag 30464 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 06:43:17 2018 Received: (at submit) by debbugs.gnu.org; 15 Feb 2018 11:43:17 +0000 Received: from localhost ([127.0.0.1]:43681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emHwb-0000VV-9H for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:43:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emHwZ-0000VI-MH for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:43:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emHwT-00089E-OU for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:43:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emHwT-000898-LT for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:43:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emHwS-0003vF-NJ for guix-patches@gnu.org; Thu, 15 Feb 2018 06:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emHwN-00087n-RE for guix-patches@gnu.org; Thu, 15 Feb 2018 06:43:08 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:33454) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emHwN-00087b-Jm for guix-patches@gnu.org; Thu, 15 Feb 2018 06:43:03 -0500 Received: from dayas.3.home (178.113.165.248.wireless.dyn.drei.com [178.113.165.248]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 0BB0633609ED; Thu, 15 Feb 2018 12:43:01 +0100 (CET) From: Danny Milosavljevic To: guix-patches@gnu.org Subject: [PATCH 0/2] Add console-agetty-service. Date: Thu, 15 Feb 2018 12:42:56 +0100 Message-Id: <20180215114256.551-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.15.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic 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: -5.0 (-----) Danny Milosavljevic (2): services: Add console-agetty-service. services: agetty-shepherd-service: Default to providing 'term-console instead of 'term-auto . gnu/services/base.scm | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 06:47:51 2018 Received: (at 30464) by debbugs.gnu.org; 15 Feb 2018 11:47:51 +0000 Received: from localhost ([127.0.0.1]:43690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emI10-0000fO-Ri for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:47:51 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:52396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emI0z-0000fF-Gh for 30464@debbugs.gnu.org; Thu, 15 Feb 2018 06:47:49 -0500 Received: from dayas.3.home (178.113.165.248.wireless.dyn.drei.com [178.113.165.248]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 57AE133609ED; Thu, 15 Feb 2018 12:47:48 +0100 (CET) From: Danny Milosavljevic To: 30464@debbugs.gnu.org Subject: [PATCH 1/2] services: Add console-agetty-service. Date: Thu, 15 Feb 2018 12:47:41 +0100 Message-Id: <20180215114742.663-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180215114256.551-1-dannym@scratchpost.org> References: <20180215114256.551-1-dannym@scratchpost.org> Tags: patch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: Danny Milosavljevic 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: -0.7 (/) * gnu/services/base.scm (): Make tty default to #f. (console-agetty-shepherd-service): New variable. (console-agetty-service-type): New variable. (console-agetty-service): New variable. (%base-services): Replace agetty-service instance by console-agetty-service instance. --- gnu/services/base.scm | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 1ad7c2320..29ae5fca3 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -817,7 +817,8 @@ the message of the day, among other things." agetty-configuration? (agetty agetty-configuration-agetty ; (default util-linux)) - (tty agetty-configuration-tty) ;string | #f + (tty agetty-configuration-tty ;string | #f + (default #f)) (term agetty-term ;string | #f (default #f)) (baud-rate agetty-baud-rate ;string | #f @@ -1072,6 +1073,31 @@ program."))) the tty to run, among other things." (service agetty-service-type config)) +(define console-agetty-shepherd-service + (lambda (config) + (let ((base-service + (car + (agetty-shepherd-service + (agetty-configuration (inherit config) + (keep-baud? #t)))))) + (list + (shepherd-service (inherit base-service) + ;; Make sure that Linux doesn't log to the same console as well. + (requirement (cons 'syslogd (shepherd-service-requirement base-service)))))))) + +(define console-agetty-service-type + (service-type (name 'console-agetty) + (extensions (list (service-extension shepherd-root-service-type + console-agetty-shepherd-service))) + (description + "Provide console login using the @command{agetty} +program on the Linux console."))) + +(define* (console-agetty-service config) + "Return a service to run agetty according to @var{config}, which specifies +the tty to run, defaulting to the Linux console." + (service console-agetty-service-type config)) + (define-record-type* mingetty-configuration make-mingetty-configuration mingetty-configuration? @@ -2053,10 +2079,9 @@ This service is not part of @var{%base-services}." (cons tty %default-console-font)) '("tty1" "tty2" "tty3" "tty4" "tty5" "tty6"))) - (agetty-service (agetty-configuration - (extra-options '("-L")) ; no carrier detect - (term "vt100") - (tty #f))) ; automatic + (console-agetty-service (agetty-configuration + (extra-options '("-L")) ; no carrier detect + (term "vt100"))) (mingetty-service (mingetty-configuration (tty "tty1"))) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 06:47:53 2018 Received: (at 30464) by debbugs.gnu.org; 15 Feb 2018 11:47:53 +0000 Received: from localhost ([127.0.0.1]:43692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emI13-0000fi-5S for submit@debbugs.gnu.org; Thu, 15 Feb 2018 06:47:53 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:52400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emI10-0000fM-JK for 30464@debbugs.gnu.org; Thu, 15 Feb 2018 06:47:50 -0500 Received: from dayas.3.home (178.113.165.248.wireless.dyn.drei.com [178.113.165.248]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 91A473361629; Thu, 15 Feb 2018 12:47:49 +0100 (CET) From: Danny Milosavljevic To: 30464@debbugs.gnu.org Subject: [PATCH 2/2] services: agetty-shepherd-service: Default to providing 'term-console instead of 'term-auto . Date: Thu, 15 Feb 2018 12:47:42 +0100 Message-Id: <20180215114742.663-2-dannym@scratchpost.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180215114742.663-1-dannym@scratchpost.org> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> Tags: patch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: Danny Milosavljevic 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: -0.7 (/) * gnu/services/base.scm (agetty-shepherd-service): Default to providing 'term-console instead of 'term-auto . --- gnu/services/base.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 29ae5fca3..4ab83d1d2 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -937,7 +937,8 @@ to use as the tty. This is primarily useful for headless systems." (shepherd-service (modules '((ice-9 match) (gnu build linux-boot))) (documentation "Run agetty on a tty.") - (provision (list (symbol-append 'term- (string->symbol (or tty "auto"))))) + (provision (list (symbol-append 'term- (string->symbol + (or tty "console"))))) ;; Since the login prompt shows the host name, wait for the 'host-name' ;; service to be done. Also wait for udev essentially so that the tty From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 09:40:17 2018 Received: (at 30464) by debbugs.gnu.org; 15 Feb 2018 14:40:17 +0000 Received: from localhost ([127.0.0.1]:43836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emKht-0006ff-Li for submit@debbugs.gnu.org; Thu, 15 Feb 2018 09:40:17 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:55830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emKhs-0006fY-Dr for 30464@debbugs.gnu.org; Thu, 15 Feb 2018 09:40:16 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id EAB0511644; Thu, 15 Feb 2018 15:40:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lo6je1OOnBt5; Thu, 15 Feb 2018 15:40:15 +0100 (CET) Received: from ribbon (unknown [193.50.110.160]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3A0E811600; Thu, 15 Feb 2018 15:40:15 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= 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: Thu, 15 Feb 2018 15:40:14 +0100 In-Reply-To: <20180215114742.663-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Thu, 15 Feb 2018 12:47:41 +0100") Message-ID: <87r2pm8gfl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Hello, Danny Milosavljevic skribis: > * gnu/services/base.scm (): Make tty default to #f. > (console-agetty-shepherd-service): New variable. > (console-agetty-service-type): New variable. > (console-agetty-service): New variable. > (%base-services): Replace agetty-service instance by console-agetty-servi= ce > instance. Could you explain the rationale? The only difference is that this shepherd service depends on =E2=80=98syslo= gd=E2=80=99 whereas the current agetty service doesn=E2=80=99t, right? > +(define* (console-agetty-service config) > + "Return a service to run agetty according to @var{config}, which speci= fies > +the tty to run, defaulting to the Linux console." > + (service console-agetty-service-type config)) In general we don=E2=80=99t provide such procedures any more and instead ex= pose service types and configs directly. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 10:41:42 2018 Received: (at 30464) by debbugs.gnu.org; 15 Feb 2018 15:41:42 +0000 Received: from localhost ([127.0.0.1]:44992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emLfK-0008NE-I9 for submit@debbugs.gnu.org; Thu, 15 Feb 2018 10:41:42 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:44182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emLfI-0008N5-EB for 30464@debbugs.gnu.org; Thu, 15 Feb 2018 10:41:40 -0500 Received: from localhost (178.113.165.248.wireless.dyn.drei.com [178.113.165.248]) by dd26836.kasserver.com (Postfix) with ESMTPSA id BBDC03361813; Thu, 15 Feb 2018 16:41:38 +0100 (CET) Date: Thu, 15 Feb 2018 16:41:35 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. Message-ID: <20180215164135.188beed0@scratchpost.org> In-Reply-To: <87r2pm8gfl.fsf@gnu.org> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: 30464@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: -0.7 (/) Hi Ludo, On Thu, 15 Feb 2018 15:40:14 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Could you explain the rationale? >=20 > The only difference is that this shepherd service depends on =E2=80=98sys= logd=E2=80=99 > whereas the current agetty service doesn=E2=80=99t, right? Yes, it's my inner OCD. Right now, the agetty is started while the Linux kernel is still booting and printing stuff to the console. So you have two parties printing stuff to the same console simultaneously. That looks ... not nice. What this would do is the getty would only be started (and printing stuff) after syslogd. The first thing syslogd does is it disables the Linux direct console printing. It doesn't make sense to have agetty itself depend on syslogd because agetty can be (and usually is) used for modems etc which have nothing to do with the local console. > > +(define* (console-agetty-service config) > > + "Return a service to run agetty according to @var{config}, which spe= cifies > > +the tty to run, defaulting to the Linux console." > > + (service console-agetty-service-type config)) =20 >=20 > In general we don=E2=80=99t provide such procedures any more and instead = expose > service types and configs directly. Okay, I can remove that one and inline it at the (only) call site. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 15 10:48:01 2018 Received: (at 30464) by debbugs.gnu.org; 15 Feb 2018 15:48:02 +0000 Received: from localhost ([127.0.0.1]:44996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emLlQ-0008WC-A2 for submit@debbugs.gnu.org; Thu, 15 Feb 2018 10:48:01 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emLlN-0008W2-9A for 30464@debbugs.gnu.org; Thu, 15 Feb 2018 10:47:59 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 163411163C; Thu, 15 Feb 2018 16:47:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VQbFzWDL3Kee; Thu, 15 Feb 2018 16:47:55 +0100 (CET) Received: from ribbon (unknown [193.50.110.160]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 49903114D2; Thu, 15 Feb 2018 16:47:55 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= 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: Thu, 15 Feb 2018 16:47:54 +0100 In-Reply-To: <20180215164135.188beed0@scratchpost.org> (Danny Milosavljevic's message of "Thu, 15 Feb 2018 16:41:35 +0100") Message-ID: <878tbu8dat.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Heya, Danny Milosavljevic skribis: > On Thu, 15 Feb 2018 15:40:14 +0100 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> Could you explain the rationale? >>=20 >> The only difference is that this shepherd service depends on =E2=80=98sy= slogd=E2=80=99 >> whereas the current agetty service doesn=E2=80=99t, right? > > Yes, it's my inner OCD. > > Right now, the agetty is started while the Linux kernel is still booting = and > printing stuff to the console. So you have two parties printing stuff > to the same console simultaneously. That looks ... not nice. Right. > What this would do is the getty would only be started (and printing stuff) > after syslogd. The first thing syslogd does is it disables the Linux dir= ect > console printing. OK, got it. (Which has me thinking that longer term it=E2=80=99d be nice to have the Shepherd take care of syslogd-ish activity.) > It doesn't make sense to have agetty itself depend on syslogd because > agetty can be (and usually is) used for modems etc which have nothing > to do with the local console. Alright. How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d default to the empty list, and could be set to '(syslogd) in this case. Does that sound too obscure to you, or would it be OK? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 15:57:33 2018 Received: (at 30464) by debbugs.gnu.org; 16 Feb 2018 20:57:33 +0000 Received: from localhost ([127.0.0.1]:47258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emn4X-0005sP-De for submit@debbugs.gnu.org; Fri, 16 Feb 2018 15:57:33 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:34934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emn4V-0005sH-Ss for 30464@debbugs.gnu.org; Fri, 16 Feb 2018 15:57:32 -0500 Received: from localhost (178.113.146.86.wireless.dyn.drei.com [178.113.146.86]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 151D7336048E; Fri, 16 Feb 2018 21:57:29 +0100 (CET) Date: Fri, 16 Feb 2018 21:57:25 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: shepherd logging; console-agetty-service Message-ID: <20180216215725.58607c8c@scratchpost.org> In-Reply-To: <878tbu8dat.fsf@gnu.org> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: 30464@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: -0.7 (/) Hi Ludo, On Thu, 15 Feb 2018 16:47:54 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > (Which has me thinking that longer term it=E2=80=99d be nice to have the > Shepherd take care of syslogd-ish activity.) If you mean that we should make sure to log shepherd's own messages, I agre= e. Integrating syslogd into shepherd, not sure. I think external syslogd is f= ine. If not, there are a lot of other logging programs to choose from. I like modularity. shepherd could write its messages to the kernel log ringbuffer in /dev/kmsg= [3]. That sounds dirty, but it would synchronize messages oh-so-nicely and would not immediately require syslogd. It would also make sure that syslogd eventually picks shepherd's messages up (right now they are somewhere on the first terminal - if you are lucky and they didn't scroll off). I'm not sure whether then they would be printed to /dev/console as well the= n - probably. We'd need a guile soft-port, but it's not like I haven't done that before. User-shepherd shouldn't do it though (and can't because it doesn't have permission to write to /dev/kmsg). Please stop me and tell me why it's a bad idea :) Also a way of capturing stderr and stdout (and maybe even /dev/log) of serv= ices would be nice. If you thought that the above was bad, you ain't seen nothing yet :-> We could also instead open /dev/klog and dup2 its fd to 1 and 2. That way, shepherd messages and all stray messages by any process shepherd started will end up in the kernel log. (problem: there are some reserved patterns that have special meaning - and we don't control what the services do as well as we do what just shepherd does) Also, I know one is supposed to write UNIX services as daemons, but that's not really composable and kinda complicated to debug for no good reason. I'd prefer if shepherd also keeps a way to run regular programs as services, making sure that they are session leader, their output is logged, they are kept alive and monitored. daemontools[1][2] have done all this stuff already and I like it much more than traditional service managers. It's much more modular, handles logging on its own, handles error cases well, uses the file system well etc, handles errors in the loggers (!). > How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d > default to the empty list, and could be set to '(syslogd) in this case. >=20 > Does that sound too obscure to you, or would it be OK? Sure, let's do that. It's a little weird to have it for all agettys, although maybe some other u= sers of agetty require it anyway. Then I wonder if all guix shepherd service configs should have such a field. [1] https://isotope11.com/blog/manage-your-services-with-daemontools [2] https://cr.yp.to/daemontools/faq/create.html [3] https://cgit.freedesktop.org/systemd/systemd/tree/src/journal/journald-= kmsg.c dev_kmsg_fd =3D open("/dev/kmsg", O_RDWR|O_CLOEXEC|O_NONBLOCK|O_NOCTTY); printf "<%i>" priority identifier "[" pid "]: " message "\n" Linux: /* * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace * the decimal value represents 32bit, the lower 3 bit are the log * level, the rest are the log facility. * * If no prefix or no userspace facility is specified, we * enforce LOG_USER [which is 1], to be able to reliably distinguish * kernel-generated messages from userspace-injected ones. */ From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 16 16:08:41 2018 Received: (at 30464) by debbugs.gnu.org; 16 Feb 2018 21:08:41 +0000 Received: from localhost ([127.0.0.1]:47262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emnFJ-00069f-Iu for submit@debbugs.gnu.org; Fri, 16 Feb 2018 16:08:41 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:35728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emnFH-00069X-E3 for 30464@debbugs.gnu.org; Fri, 16 Feb 2018 16:08:39 -0500 Received: from localhost (178.113.146.86.wireless.dyn.drei.com [178.113.146.86]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 9C9C3336048E; Fri, 16 Feb 2018 22:08:05 +0100 (CET) Date: Fri, 16 Feb 2018 22:07:37 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: shepherd logging Message-ID: <20180216220737.0b5b7c0d@scratchpost.org> In-Reply-To: <20180216215725.58607c8c@scratchpost.org> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: 30464@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: -0.7 (/) Oops, didn't see /var/log/shepherd.log - but I think it should just use syslog for that - and it's possible to use syslog for that by writing to /dev/kmsg . Does the Hurd with /dev/kmsg ? How do they solve early boot logging ? From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 11:20:11 2018 Received: (at 30464) by debbugs.gnu.org; 17 Feb 2018 16:20:11 +0000 Received: from localhost ([127.0.0.1]:48501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5De-0007vV-Vy for submit@debbugs.gnu.org; Sat, 17 Feb 2018 11:20:11 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5Dd-0007vN-BG for 30464@debbugs.gnu.org; Sat, 17 Feb 2018 11:20:10 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CDBC811152; Sat, 17 Feb 2018 17:20:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K070mBxdoF-c; Sat, 17 Feb 2018 17:20:07 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2C62710D80; Sat, 17 Feb 2018 17:20:07 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: shepherd logging; console-agetty-service References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= 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: Sat, 17 Feb 2018 17:20:06 +0100 In-Reply-To: <20180216215725.58607c8c@scratchpost.org> (Danny Milosavljevic's message of "Fri, 16 Feb 2018 21:57:25 +0100") Message-ID: <87sh9zk2q1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Hi, Danny Milosavljevic skribis: > On Thu, 15 Feb 2018 16:47:54 +0100 > ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > >> (Which has me thinking that longer term it=E2=80=99d be nice to have the >> Shepherd take care of syslogd-ish activity.) > > If you mean that we should make sure to log shepherd's own messages, I ag= ree. That=E2=80=99s already done. > Integrating syslogd into shepherd, not sure. I think external syslogd is= fine. > If not, there are a lot of other logging programs to choose from. > I like modularity. Yes, I like it too. OTOH, there=E2=80=99s a chicken-and-egg problem here: shepherd ends up implementing its own logging facility, and we have situations like the one you mentioned earlier in this thread. > shepherd could write its messages to the kernel log ringbuffer in /dev/km= sg [3]. > That sounds dirty, but it would synchronize messages oh-so-nicely and wou= ld > not immediately require syslogd. It would also make sure that syslogd > eventually picks shepherd's messages up (right now they are somewhere on = the > first terminal - if you are lucky and they didn't scroll off). Indeed, that=E2=80=99s something we can easily do already, and it would add= ress a major annoyance. :-) Actually, could it use syslog(3), which writes to /dev/log? > Also a way of capturing stderr and stdout (and maybe even /dev/log) of se= rvices > would be nice. Yes. Though again capturing service stdout/stderr is kinda redundant with what syslogd does. What I like in journald is the fact that it unifies all logging facilities, and also connects them to service management. > We could also instead open /dev/klog and dup2 its fd to 1 and 2. > That way, shepherd messages and all stray messages by any process shepherd > started will end up in the kernel log. (problem: there are some reserved > patterns that have special meaning - and we don't control what the servic= es > do as well as we do what just shepherd does) Right, so we=E2=80=99d need shepherd to filter these and pass them through syslog(3), which ensures correct message formatting. That=E2=80=99s what does apparently (thanks for the link!). > Also, I know one is supposed to write UNIX services as daemons, but that's > not really composable and kinda complicated to debug for no good reason. > I'd prefer if shepherd also keeps a way to run regular programs as servic= es, > making sure that they are session leader, their output is logged, they are > kept alive and monitored. Sure! > daemontools[1][2] have done all this stuff already and I like it much more > than traditional service managers. It's much more modular, handles loggi= ng > on its own, handles error cases well, uses the file system well etc, hand= les > errors in the loggers (!). Sounds like a great source of inspiration then. :-) >> How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d >> default to the empty list, and could be set to '(syslogd) in this case. >>=20 >> Does that sound too obscure to you, or would it be OK? > > Sure, let's do that. > > It's a little weird to have it for all agettys, although maybe some other= users > of agetty require it anyway. > > Then I wonder if all guix shepherd service configs should have such a fie= ld. That brings us to the topic of a general service customization mechanism: . Well, one thing at a time. :-) Thanks for the great ideas! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 11:25:10 2018 Received: (at 30464) by debbugs.gnu.org; 17 Feb 2018 16:25:10 +0000 Received: from localhost ([127.0.0.1]:48513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5IU-00083k-Jx for submit@debbugs.gnu.org; Sat, 17 Feb 2018 11:25:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5IS-00083c-N1 for 30464@debbugs.gnu.org; Sat, 17 Feb 2018 11:25:09 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4395B11152; Sat, 17 Feb 2018 17:25:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LTc1zb1wYBVb; Sat, 17 Feb 2018 17:25:07 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6D9B43D09; Sat, 17 Feb 2018 17:25:07 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: shepherd logging References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> <20180216220737.0b5b7c0d@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= 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: Sat, 17 Feb 2018 17:25:07 +0100 In-Reply-To: <20180216220737.0b5b7c0d@scratchpost.org> (Danny Milosavljevic's message of "Fri, 16 Feb 2018 22:07:37 +0100") Message-ID: <87k1vbk2ho.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Danny Milosavljevic skribis: > Oops, didn't see /var/log/shepherd.log - but I think it should just > use syslog for that - and it's possible to use syslog for that by > writing to /dev/kmsg . > > Does the Hurd with /dev/kmsg ? It doesn=E2=80=99t have /dev/kmsg, but it has /dev/klog: --8<---------------cut here---------------start------------->8--- ludo@darnassus:~$ ls -l /dev/klog=20 crw-rw---- 1 root root 0, 0 Jul 16 2015 /dev/klog ludo@darnassus:~$ showtrans /dev/klog=20 /hurd/streamio kmsg --8<---------------cut here---------------end--------------->8--- > How do they solve early boot logging ? GNU=C2=A0Mach has a special =E2=80=9Cconsole=E2=80=9D device that early boo= t processes can open and write too, as in: https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c#n7= 31 It=E2=80=99s comparable to /dev/kmsg, but it exists before file system serv= ers are brought up, which is why it doesn=E2=80=99t have an entry in the file system hierarchy. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 11:47:31 2018 Received: (at 30464) by debbugs.gnu.org; 17 Feb 2018 16:47:31 +0000 Received: from localhost ([127.0.0.1]:48526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5e7-00009N-0u for submit@debbugs.gnu.org; Sat, 17 Feb 2018 11:47:31 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:38688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5e5-00009F-Me for 30464@debbugs.gnu.org; Sat, 17 Feb 2018 11:47:30 -0500 Received: from localhost (178.113.229.194.wireless.dyn.drei.com [178.113.229.194]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 71A7433602D4; Sat, 17 Feb 2018 17:47:28 +0100 (CET) Date: Sat, 17 Feb 2018 17:47:23 +0100 From: Danny Milosavljevic To: ludo@gnu.org (Ludovic =?ISO-8859-1?Q?Court=E8s?=) Subject: Re: shepherd logging Message-ID: <20180217174723.7a5daf84@scratchpost.org> In-Reply-To: <87k1vbk2ho.fsf@gnu.org> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> <20180216220737.0b5b7c0d@scratchpost.org> <87k1vbk2ho.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: 30464@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: -0.7 (/) > https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c#= n731 >=20 > It=E2=80=99s comparable to /dev/kmsg, but it exists before file system se= rvers > are brought up, which is why it doesn=E2=80=99t have an entry in the file > system hierarchy. Huh, so it's just connected to stderr? That means it should work fine alre= ady with no changes in shepherd. Nice! Just to be sure, it is possible to read out these messages and log them to a file later on, right? From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 17 11:58:01 2018 Received: (at 30464) by debbugs.gnu.org; 17 Feb 2018 16:58:01 +0000 Received: from localhost ([127.0.0.1]:48538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5oH-0000Pe-H7 for submit@debbugs.gnu.org; Sat, 17 Feb 2018 11:58:01 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:42588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en5oG-0000PX-5K for 30464@debbugs.gnu.org; Sat, 17 Feb 2018 11:58:00 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 72EF511163; Sat, 17 Feb 2018 17:57:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KiTkdmG53uq0; Sat, 17 Feb 2018 17:57:58 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7AFA210D80; Sat, 17 Feb 2018 17:57:58 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: shepherd logging References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <20180216215725.58607c8c@scratchpost.org> <20180216220737.0b5b7c0d@scratchpost.org> <87k1vbk2ho.fsf@gnu.org> <20180217174723.7a5daf84@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?utf-8?Q?Pluvi=C3=B4se?= an 226 de la =?utf-8?Q?R=C3=A9volution?= 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: Sat, 17 Feb 2018 17:57:58 +0100 In-Reply-To: <20180217174723.7a5daf84@scratchpost.org> (Danny Milosavljevic's message of "Sat, 17 Feb 2018 17:47:23 +0100") Message-ID: <87efljk0yx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Danny Milosavljevic skribis: >> https://git.savannah.gnu.org/cgit/hurd/hurd.git/tree/startup/startup.c= #n731 >>=20 >> It=E2=80=99s comparable to /dev/kmsg, but it exists before file system s= ervers >> are brought up, which is why it doesn=E2=80=99t have an entry in the file >> system hierarchy. > > Huh, so it's just connected to stderr? That means it should work fine al= ready > with no changes in shepherd. Nice! Indeed! > Just to be sure, it is possible to read out these messages and log them t= o a > file later on, right? I think what goes to =E2=80=9Cconsole=E2=80=9D is printed and then forever = lost: https://git.savannah.gnu.org/cgit/hurd/gnumach.git/tree/device/cons.c That said, not much should go there since as soon as the root file system is up, processes can start using /dev/klog. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 26 12:52:51 2018 Received: (at 30464) by debbugs.gnu.org; 26 Feb 2018 17:52:51 +0000 Received: from localhost ([127.0.0.1]:33792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqMxG-0006oP-QG for submit@debbugs.gnu.org; Mon, 26 Feb 2018 12:52:50 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:46920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqMxE-0006oH-Pn for 30464@debbugs.gnu.org; Mon, 26 Feb 2018 12:52:49 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3CD8B10C6B; Mon, 26 Feb 2018 18:52:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dOyNPvWp8aPE; Mon, 26 Feb 2018 18:52:46 +0100 (CET) Received: from ribbon (unknown [193.50.110.216]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EA66C1A3; Mon, 26 Feb 2018 18:52:45 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> Date: Mon, 26 Feb 2018 18:52:45 +0100 In-Reply-To: <878tbu8dat.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 15 Feb 2018 16:47:54 +0100") Message-ID: <877eqzvdsi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30464 Cc: 30464@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 (+) Hi Danny, The discussion drifted a bit=E2=80=A6 :-) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Danny Milosavljevic skribis: [...] >> It doesn't make sense to have agetty itself depend on syslogd because >> agetty can be (and usually is) used for modems etc which have nothing >> to do with the local console. > > Alright. > > How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d > default to the empty list, and could be set to '(syslogd) in this case. > > Does that sound too obscure to you, or would it be OK? Thoughts? The =E2=80=98dependencies=E2=80=99 hack looks simple enough and = would solve this immediate need, I think. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 08 14:21:59 2020 Received: (at 30464) by debbugs.gnu.org; 8 Oct 2020 18:22:00 +0000 Received: from localhost ([127.0.0.1]:33125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQaYB-0006pv-Ko for submit@debbugs.gnu.org; Thu, 08 Oct 2020 14:21:59 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:34026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQaY7-0006pg-Fp for 30464@debbugs.gnu.org; Thu, 08 Oct 2020 14:21:58 -0400 Received: by mail-qv1-f65.google.com with SMTP id q10so3544471qvs.1 for <30464@debbugs.gnu.org>; Thu, 08 Oct 2020 11:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=up7SKTMmizhu7KonZHuQaxsXuj8VNwExSenvHYv9mMI=; b=nWNmzAK/G7G/5z6BcY4wiJ6IBB6/HwOS34u+B+sW+9CItCL5V1AEtUcSZ2w0pfDp7R c0OGvusgdyiCTJZBFDBrDxHWKB4cdGuD6V6E01Y2qLJPk2ysn1zRjjH7fy1MO4UCDtg8 ci7fl4f5w/v9Aya15wSP5XEXSNoZHb9fRUFJUSOS0WwmIiypYe2LvYzW6Qyr9yoqqmkP C61h3f7e5Z4ih8/DkeT1c68GjQbfplDZi9Rd4FB78V+LUgMGCo6/+glNSOGi+4sOYgvE TrPUpitBLZA2iOsTItpoMBlakyV9ImflMWea/2knYQ8IS9jlCD9ChLMak2HOJVW5eDRh wPrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=up7SKTMmizhu7KonZHuQaxsXuj8VNwExSenvHYv9mMI=; b=s7T0pzzeyZiX/rbFV7MT/louh6eBJh3gBfa6W19u38w8fAzv0zL/77f+bVXt/skDnE sbfMFrIIg+nCrkmukglgBKYhFJjT8d3C9Tys+DRC8o3nJV3AmQ/giW9BDPjfcfHKyW/A Mz9S3S4KKG0Uh0InKX///RW95SyNnpFjM/Jn4F7rN9F17jI2rMtPmFbAR3qVcfZ0TlJi sHKLWPYFcxYJ/rEfXyZblAhpx+/dpppp6bLrGR/TKAJSD3R5HDt9GmSMwyC2aM89cNHi Y3s/+rAVtTYM8PhyCldS+cMKIdMAHygW4SWdzR89Bnfr/Q40M8Lbl1OLGxds/4oxU4I+ wDcw== X-Gm-Message-State: AOAM531yj+/f4gY4E/UNrhssrvmOFVtI50s6sEJJt+SokQ4pFWjwN1Ow pwbDbCw2vTHRgBoDiCpfSrZAkUka9OEDBg== X-Google-Smtp-Source: ABdhPJwjs1tg6ld0ucC9PMyMWyVDDmr3VAkSqVj81Zp9pqVxuNQ6cvwtpSHYVZjmC9wRxzmmZCv80A== X-Received: by 2002:a0c:b31c:: with SMTP id s28mr9230204qve.17.1602181309460; Thu, 08 Oct 2020 11:21:49 -0700 (PDT) Received: from hurd (dsl-10-135-56.b2b2c.ca. [72.10.135.56]) by smtp.gmail.com with ESMTPSA id s3sm4555690qkj.27.2020.10.08.11.21.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 11:21:47 -0700 (PDT) From: Maxim Cournoyer To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <877eqzvdsi.fsf@gnu.org> Date: Thu, 08 Oct 2020 14:21:44 -0400 In-Reply-To: <877eqzvdsi.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 26 Feb 2018 18:52:45 +0100") Message-ID: <87ft6otw7b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: 30464 Cc: Danny Milosavljevic , 30464@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 (-) Hello Danny, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Danny, > > The discussion drifted a bit=E2=80=A6 :-) > > ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > >> Danny Milosavljevic skribis: > > [...] > >>> It doesn't make sense to have agetty itself depend on syslogd because >>> agetty can be (and usually is) used for modems etc which have nothing >>> to do with the local console. >> >> Alright. >> >> How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d >> default to the empty list, and could be set to '(syslogd) in this case. >> >> Does that sound too obscure to you, or would it be OK? > > Thoughts? The =E2=80=98dependencies=E2=80=99 hack looks simple enough an= d would solve > this immediate need, I think. > > Ludo=E2=80=99. Any update on this? Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 13 11:08:27 2022 Received: (at 30464) by debbugs.gnu.org; 13 Jan 2022 16:08:27 +0000 Received: from localhost ([127.0.0.1]:34349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n82eI-0008Ur-QO for submit@debbugs.gnu.org; Thu, 13 Jan 2022 11:08:27 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:41601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n82eE-0008UX-UE for 30464@debbugs.gnu.org; Thu, 13 Jan 2022 11:08:25 -0500 Received: by mail-wm1-f49.google.com with SMTP id q141-20020a1ca793000000b00347b48dfb53so4000395wme.0 for <30464@debbugs.gnu.org>; Thu, 13 Jan 2022 08:08:22 -0800 (PST) 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=pg4065m+mkPQQl/iF33Ij/7WsOssbCbE0M+qHT6fnbc=; b=pzMPWpoGcMKz14FPnlsAjgVZn9N1tZpeEWyXePRPIwFQFUeooUvE6uOFi82bwLUvu6 CdF6/SXs6c0CUYoUSacCIC0SeNCFlmOuM4hoTlbdsws4+GQ0orEM9NzmdAFnEZY3oOUF T1NTIMqDTd6GjtP9afpDbjsw0SKBbHVJ1WyXJAn7lcP0U7NiCCUlvydLjJuYMIPqj+Mh DtxlMtbHZS+2XLMomH4cRba0QpK0/Gggprj1noWm3U064KObIb35h3SXQCWrMxauZ2ah eeHW9N2Z8T0vYTkD25GvqfTzm5FOBKD8wgNVV5GK1sVrEvim+jPCT7QPD8ZguCYSIXee I10A== 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=pg4065m+mkPQQl/iF33Ij/7WsOssbCbE0M+qHT6fnbc=; b=R2HASGjCZP/JlNrwDDnlx8Oz+NJoTvjo2HwAgZEum5w20k0Ap9Eg8kWZ2MqIMIX219 YkZAxwusc9h8yCWI1RmNNhc0g+e3lFhqt3c3rtxxgqneP2G+EW78hLHxU8Nkj89iLoQU 6ZhQP7aFA6Knk3uIyK2AjVxQnekAXqkarxLtnSmdJiSwDMHwJCZ52BYJ3epQfVgmHPmS yIc1SrO1HtDYmnqtuBFkq8Th6ApDCGHeM6IwiXqUzYF0gBO010iSUZWq6W69wes2+UO5 Viz95M4b8Ixp5/KvLGZOZQXnoV/3wRx7ldnSbnVXSvslcFA3CVtXpCG0ZjWlv53Oi+UV ICWw== X-Gm-Message-State: AOAM530IZN561Xd3qjXHqkZ7ipSUcetJ+NzSOePqGlRTmH/3zybeWF5W mXIORNmavTXwscze36nzYY9i0/OuJA4= X-Google-Smtp-Source: ABdhPJzyKG89WQS14dn6qgWVdFRqdU7PENdflEu9t7YHk+VK3zNvOarJ6e6iY0IRmBiUjk135ddUyw== X-Received: by 2002:a05:600c:8a2:: with SMTP id l34mr4321656wmp.123.1642090096050; Thu, 13 Jan 2022 08:08:16 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g12sm3927601wrd.71.2022.01.13.08.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jan 2022 08:08:15 -0800 (PST) From: zimoun To: Maxim Cournoyer Subject: Re: bug#30464: [PATCH 0/2] Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <877eqzvdsi.fsf@gnu.org> <87ft6otw7b.fsf@gmail.com> Date: Thu, 13 Jan 2022 17:02:59 +0100 In-Reply-To: <87ft6otw7b.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 08 Oct 2020 14:21:44 -0400") Message-ID: <86h7a7ipxo.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 30464 Cc: Danny Milosavljevic , Ludovic =?utf-8?Q?Court=C3=A8s?= , 30464@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 (-) Hi, This patch #30464 series [1] had been submitted on Feb 2018 and after a drifting discussion, the last message is: On Thu, 08 Oct 2020 at 14:21, Maxim Cournoyer w= rote: >> The discussion drifted a bit=E2=80=A6 :-) >> >> [...] >> >>>> It doesn't make sense to have agetty itself depend on syslogd because >>>> agetty can be (and usually is) used for modems etc which have nothing >>>> to do with the local console. >>> >>> Alright. >>> >>> How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d >>> default to the empty list, and could be set to '(syslogd) in this case. >>> >>> Does that sound too obscure to you, or would it be OK? >> >> Thoughts? The =E2=80=98dependencies=E2=80=99 hack looks simple enough a= nd would solve >> this immediate need, I think. > > Any update on this? Therefore, any update on this? Cheers, simon 1: From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 21:39:59 2022 Received: (at 30464) by debbugs.gnu.org; 3 Feb 2022 02:39:59 +0000 Received: from localhost ([127.0.0.1]:54048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFS2Q-0000ib-TF for submit@debbugs.gnu.org; Wed, 02 Feb 2022 21:39:59 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:53129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFS2P-0000iA-Bf for 30464@debbugs.gnu.org; Wed, 02 Feb 2022 21:39:57 -0500 Received: by mail-wm1-f53.google.com with SMTP id v123so811885wme.2 for <30464@debbugs.gnu.org>; Wed, 02 Feb 2022 18:39:57 -0800 (PST) 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=ZEIzVBPvUUNQ6+GsPBpqrycfHmBYtHrfblI99kvu4+4=; b=LFCcZ2wHHStnF9Swtg54BuoKm6qWMVeJGxGhtAWfqHtWFGaaAHvq+sgJxMHCqDee+u osHdJn6AjeGDM/oIyZv+7e5htSVfzCcQV+x5UNolteZJJOkomMH/npE0YofGkZXzwbEJ ffflYJyNgnCPcNDLkLiQT8sqrMO5dCW96rlPHvdw+ubEkXS7k/WTXopWzwrxlLE9OyDH 2M+Mr7qys6KdRdpW88swEKr0lxBqtIKm4Gq9tZgdAP4p7oEGieZPyOC7rdOyJJmDS2Ml x+uzBW0wdn2CAuh0Bik7kbhZ1obyPel9gVEvPdvChNSwP6uipqvRDyFqkyVztk643pmE fKVA== 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=ZEIzVBPvUUNQ6+GsPBpqrycfHmBYtHrfblI99kvu4+4=; b=s7kN8T/0dBq+sOnokBr2sBnVpGU8O/6FlUNF0ACwQX1mfg5ExWXXL09N1yazQLfLrl mZD9TCyfhG+yfgV5GQBUX3OSVmDydOkB9Jkvdk3kRGS9VaRbCyxGuUAJE9oQAIAKZTO5 NMqqTF4gj1E3Z9SxnRIsy225sEoZpg+9UuQZXQ3k8nb2kJRtXPTN0cqasIrwy2ZYYAJc 1SLg6QlYk/OV7Skc7yNik1oGbcD87StSSzoNmAsy5XSn6XMs9Fz0OIBrPk2D8I9W951n XWmVnTBA/3h6Rttq5VJX73Hv9CvpOQBxM9UvY4b43YlHZWUHcOhNg22woPXahfRE7DhF l4EA== X-Gm-Message-State: AOAM532k15lJd1usJ3z/ce4IYMwTGNOIt+H/nyYn9IVyBPt2OL+kktkW sTJxGX7Mjpr9ajM5Ruj66khokqGO+no= X-Google-Smtp-Source: ABdhPJxrgiFw2YHMqucd0umzV8XYHZh0VgN31gsZ5I+l8azGrL3CxHJAp2jmPTqq9OMcWYH3KCvTgg== X-Received: by 2002:a7b:c928:: with SMTP id h8mr8183529wml.168.1643855991713; Wed, 02 Feb 2022 18:39:51 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id a9sm7096012wmm.32.2022.02.02.18.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 18:39:51 -0800 (PST) From: zimoun To: Maxim Cournoyer Subject: Re: bug#30464: [PATCH 0/2] Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <877eqzvdsi.fsf@gnu.org> <87ft6otw7b.fsf@gmail.com> <86h7a7ipxo.fsf_-_@gmail.com> Date: Thu, 03 Feb 2022 03:33:22 +0100 In-Reply-To: <86h7a7ipxo.fsf_-_@gmail.com> (zimoun's message of "Thu, 13 Jan 2022 17:02:59 +0100") Message-ID: <86k0ec1xxp.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 30464 Cc: Danny Milosavljevic , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= , 30464@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 (-) Hi, For reference from 2018. On Thu, 13 Jan 2022 at 17:02, zimoun wrote: > This patch #30464 series [1] had been submitted on Feb 2018 and after a > drifting discussion, the last message is: > > > On Thu, 08 Oct 2020 at 14:21, Maxim Cournoyer = wrote: > >>> The discussion drifted a bit=E2=80=A6 :-) >>> >>> [...] >>> >>>>> It doesn't make sense to have agetty itself depend on syslogd because >>>>> agetty can be (and usually is) used for modems etc which have nothing >>>>> to do with the local console. >>>> >>>> Alright. >>>> >>>> How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d >>>> default to the empty list, and could be set to '(syslogd) in this case. >>>> >>>> Does that sound too obscure to you, or would it be OK? >>> >>> Thoughts? The =E2=80=98dependencies=E2=80=99 hack looks simple enough = and would solve >>> this immediate need, I think. >> >> Any update on this? > > Therefore, any update on this? Without any update on this, I plan to mark it as =E2=80=99donewontfix=E2=80= =99 in a couple of weeks. Let me know if it is worth to keep it open. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 03 15:55:40 2022 Received: (at 30464) by debbugs.gnu.org; 3 Feb 2022 20:55:40 +0000 Received: from localhost ([127.0.0.1]:58059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFj8l-0002ft-N8 for submit@debbugs.gnu.org; Thu, 03 Feb 2022 15:55:39 -0500 Received: from dd30410.kasserver.com ([85.13.145.193]:38812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFj8i-0002fS-DJ for 30464@debbugs.gnu.org; Thu, 03 Feb 2022 15:55:36 -0500 Received: from localhost (84-115-234-128.cable.dynamic.surfer.at [84.115.234.128]) by dd30410.kasserver.com (Postfix) with ESMTPSA id A6F8D1120B23; Thu, 3 Feb 2022 21:55:35 +0100 (CET) Date: Thu, 3 Feb 2022 21:55:34 +0100 From: Danny Milosavljevic To: zimoun Subject: Re: bug#30464: [PATCH 0/2] Add console-agetty-service. Message-ID: <20220203215534.1fc0f095@scratchpost.org> In-Reply-To: <86k0ec1xxp.fsf_-_@gmail.com> References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <877eqzvdsi.fsf@gnu.org> <87ft6otw7b.fsf@gmail.com> <86h7a7ipxo.fsf_-_@gmail.com> <86k0ec1xxp.fsf_-_@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/6SXGa1Qtl8BcrbFqAG3z4TV"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464 Cc: Ludovic =?ISO-8859-1?Q?Co?= =?ISO-8859-1?Q?urt=E8s?= , 30464@debbugs.gnu.org, Maxim Cournoyer 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 (-) --Sig_/6SXGa1Qtl8BcrbFqAG3z4TV Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Heh. This problem is really not that bad in the big scheme of things. I was hoping https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27155 to be do= ne first, obsoleting the need for this workaround here :( > >>>>> It doesn't make sense to have agetty itself depend on syslogd becau= se > >>>>> agetty can be (and usually is) used for modems etc which have nothi= ng > >>>>> to do with the local console. =20 For completeness: It would also be possible to depend on syslogd by default and *also* have t= he modem agettys startup delayed until syslogd is there. But if you have a modem agetty service but NO syslogd shepherd service in your config, that would hang the boot with no remote access. So let's not do that. 27155 could maybe statically analyze whether there is a syslogd and an aget= ty in the config, and error out if not both or neither. > >>>> How about adding a =E2=80=98dependencies=E2=80=99 field to ? It=E2=80=99d > >>>> default to the empty list, and could be set to '(syslogd) in this ca= se. Yeah, we have to default to '() in the interest of backward compatibility anyway. > >>>> Does that sound too obscure to you, or would it be OK? =20 Yes, it should be ok. See bug# 53763 for a patchset. --Sig_/6SXGa1Qtl8BcrbFqAG3z4TV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmH8QUYACgkQ5xo1VCww uqVsVAf/f/wDUQ2JenPPoEEUw4l33hhvNcTLdtpPC5oH1BJJkDDjCbiP7Ndx6EII TwFXey9OA0gqbNu0yF1bqfhR5Dgj7yES1UBcydpPlcxYcEn8Z+kIi5giZsbWUKt4 8Tb7MsWkC1NV0KIWq7k7bSq5IMSHZJnFzf6cwoxP7V664ky2qtrLRUw6OzWdrjhh S/NBAfDUna5uV7yDr900mwwgff9iMtOPUo+u8z5jX/eTark9TcxHk30DHsFOLOgX E9q2w1CDqf6vW0N+32e/bb4aYRHyLLsMElGykK6lU0btP3SqL51MTDMAi40rDgef nLdQkCCLCJdf0pLLQlSRg7hGlLXx9A== =z/e3 -----END PGP SIGNATURE----- --Sig_/6SXGa1Qtl8BcrbFqAG3z4TV-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 25 11:17:42 2022 Received: (at 30464-done) by debbugs.gnu.org; 25 Feb 2022 16:17:42 +0000 Received: from localhost ([127.0.0.1]:53550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNdHq-0003Ee-I6 for submit@debbugs.gnu.org; Fri, 25 Feb 2022 11:17:42 -0500 Received: from dd30410.kasserver.com ([85.13.145.193]:56582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNdHp-0003ET-JG; Fri, 25 Feb 2022 11:17:42 -0500 Received: from localhost (84-115-234-128.cable.dynamic.surfer.at [84.115.234.128]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 3A7A811201C6; Fri, 25 Feb 2022 17:17:40 +0100 (CET) Date: Fri, 25 Feb 2022 17:17:38 +0100 From: Danny Milosavljevic To: 53763-done@debbugs.gnu.org, 30464-done@debbugs.gnu.org Subject: Re: [PATCH 0/3] Make console agetty wait for syslogd to start up Message-ID: <20220225171738.296d1a25@scratchpost.org> In-Reply-To: <20220203205243.25095-1-dannym@scratchpost.org> References: <20220203205243.25095-1-dannym@scratchpost.org> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1muWmh1pgu0nQUdHsEgTpTY"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30464-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: -1.7 (-) --Sig_/1muWmh1pgu0nQUdHsEgTpTY Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Pushed agetty changes as commits ed17082d94bdcdb67713e95d181061d179299aad, = fcb6cab62149fd46d9fe496b91cc019a43774a43, 07c3a439555113bdd0bd416265221063d= 263f44c. --Sig_/1muWmh1pgu0nQUdHsEgTpTY Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmIZASIACgkQ5xo1VCww uqVyZQf8CSv33uhNWAxCDjWHePLx5Im+XgnaXju4BprxOf4wLkYu3DWdZfo+jFER vXzeofIbnBZFeDEOtCxfFbpuXTi9UwPXWJL/Ba6pz+nrcnU37aQyApVQZgHfytLS 3goV2iLTh6reAX7nZzUyvGclP5HumbJLxguByK0uOLp8XPvJp7tYwt2xjiQNYR2r 9/BedNcOlzjqz0j3WrWxeOj3UYKHboGM2fqQjCcCrnGiTL0ZON3E2/CuB9ts+m+O 1XuM/7NZDRDtHRmYVItIA3tyw4TYSl9vp78qtE35Z6QMNjZREoYk4QOMANX5LCXj LETOE8ajWNQs4vceJHTmZzfLw/To6g== =Ccqf -----END PGP SIGNATURE----- --Sig_/1muWmh1pgu0nQUdHsEgTpTY-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 23 09:02:50 2022 Received: (at 30464) by debbugs.gnu.org; 23 Mar 2022 13:02:50 +0000 Received: from localhost ([127.0.0.1]:43094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0dW-00010b-Hx for submit@debbugs.gnu.org; Wed, 23 Mar 2022 09:02:50 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:45707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0dT-00010A-OM for 30464@debbugs.gnu.org; Wed, 23 Mar 2022 09:02:49 -0400 Received: by mail-wm1-f48.google.com with SMTP id 123-20020a1c1981000000b0038b3616a71aso886699wmz.4 for <30464@debbugs.gnu.org>; Wed, 23 Mar 2022 06:02:47 -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; bh=jXSZkdRQzWtrerFEZxGE3Frl7t5iVY0iJXEpwcdm+yg=; b=GOP+/E3ioZsK6onLUPO/QBLyt9yBEnS40x4HRolIEUoMBUuP4G9ms156BEBc/3Sd0J Yi0RtA3bYbotDnwaRNdjs2HNpnnoifPz5hjnkJ3clbTWmj6E5aGxMK5CmF1CWUY1YAI+ Uyjvb2PQJ9DyA1iGu1kq1BaaoN1iPIQBvD6xPdJbUpQhcFHniXApu0TlRinyyuIZ33jZ 5SaNWa8E+fIoT1Y+suYEneaIB2v8oUIi4jFpLLI/ec9xG9ZSnnNo+2wlAmRPLpeH0Nq9 KN6bNXaba50oTA2fOZyP+Ydsk9WtSDPnSINDYxSbMoZKqmLY0Zh8vMAZoErgt74QbocT xaLQ== 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; bh=jXSZkdRQzWtrerFEZxGE3Frl7t5iVY0iJXEpwcdm+yg=; b=HnJ3CLhD8UK+rPzknd1UOYhoa6RY/oDBXM4W1EsFHxQZSoD59h+5xqEQZa5oZRlPEQ RPQt9XRnAJyJl+EKd7tEIveXFWNji8DzZu3CK5UmumeAzwKoVFCI4s1BmfnIyjdnLJZb 1EL2Z/QDoNSeG7owKvzNoCK+kczlyTEjcZNOl7ETQ6TnPChywZX1iMQUZSrjRz9eSDNb fomz9b1OaRTQsWz03+kl5yVT+ubDGBKUl70pcUVtAYnyYvVBWmNboouk5To1pSZlJ4JF qszx1LtlSaUg7yFH/0/Te8H750BIRnQGmXl74ZWRboNcmv3PBYIIHpI0eVBwcs701CL2 OcwQ== X-Gm-Message-State: AOAM5319JlvmicMGjTFpsldgVHkNnKpR2gL6+cigcAedTyD+ORyip+BT OzQNKQeZ20mq9vepKAS1/B8= X-Google-Smtp-Source: ABdhPJyz8hGumic8FlV/dGqOlNtMaFk5hqVhMx4n9w54jdW0McruLfu0zOJ5uZ4gv1HkJW/UD4hQxg== X-Received: by 2002:a7b:c319:0:b0:38c:8655:4019 with SMTP id k25-20020a7bc319000000b0038c86554019mr9515246wmj.60.1648040562066; Wed, 23 Mar 2022 06:02:42 -0700 (PDT) Received: from lili (client-eduroam632.canalip.upmc.fr. [134.157.122.122]) by smtp.gmail.com with ESMTPSA id 10-20020a5d47aa000000b00204012e4373sm12383544wrb.101.2022.03.23.06.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 06:02:41 -0700 (PDT) From: zimoun To: Danny Milosavljevic Subject: Re: bug#30464: [PATCH 0/2] Add console-agetty-service. References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> <878tbu8dat.fsf@gnu.org> <877eqzvdsi.fsf@gnu.org> <87ft6otw7b.fsf@gmail.com> <86h7a7ipxo.fsf_-_@gmail.com> <86k0ec1xxp.fsf_-_@gmail.com> <20220203215534.1fc0f095@scratchpost.org> Date: Wed, 23 Mar 2022 14:00:16 +0100 In-Reply-To: <20220203215534.1fc0f095@scratchpost.org> (Danny Milosavljevic's message of "Thu, 3 Feb 2022 21:55:34 +0100") Message-ID: <86ils4zuvz.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30464 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 30464@debbugs.gnu.org, Maxim Cournoyer 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 (-) Hi Danny, On Thu, 03 Feb 2022 at 21:55, Danny Milosavljevic wrote: > See bug# 53763 for a patchset. Thanks! Really cool that this old report is now closed. :-) Cheers, simon From unknown Mon Aug 18 02:32:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Apr 2022 11:24:06 +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