From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emLlW-0002Bb-M3 for guix-patches@gnu.org; Thu, 15 Feb 2018 10:48:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emLlS-0006x3-QF for guix-patches@gnu.org; Thu, 15 Feb 2018 10:48:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emLlS-0006wt-Lt for guix-patches@gnu.org; Thu, 15 Feb 2018 10:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emLlS-0008WS-Df for guix-patches@gnu.org; Thu, 15 Feb 2018 10:48:02 -0500 Subject: [bug#30464] [PATCH 1/2] services: Add console-agetty-service. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180215114256.551-1-dannym@scratchpost.org> <20180215114742.663-1-dannym@scratchpost.org> <87r2pm8gfl.fsf@gnu.org> <20180215164135.188beed0@scratchpost.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 30464@debbugs.gnu.org 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.