From unknown Mon Aug 18 14:20:42 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#44347 <44347@debbugs.gnu.org> To: bug#44347 <44347@debbugs.gnu.org> Subject: Status: mingetty --no-clear is hard-coded Reply-To: bug#44347 <44347@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:20:42 +0000 retitle 44347 mingetty --no-clear is hard-coded reassign 44347 guix submitter 44347 Jesse Gibbons severity 44347 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 11:16:29 2020 Received: (at submit) by debbugs.gnu.org; 31 Oct 2020 15:16:29 +0000 Received: from localhost ([127.0.0.1]:34301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYscH-0008Hh-6j for submit@debbugs.gnu.org; Sat, 31 Oct 2020 11:16:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:58276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYscE-0008HX-4c for submit@debbugs.gnu.org; Sat, 31 Oct 2020 11:16:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYscD-0006GQ-JB for bug-guix@gnu.org; Sat, 31 Oct 2020 11:16:25 -0400 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:36002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYscC-00074N-3s for bug-guix@gnu.org; Sat, 31 Oct 2020 11:16:25 -0400 Received: by mail-pf1-x42f.google.com with SMTP id w65so7565421pfd.3 for ; Sat, 31 Oct 2020 08:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=mFsR0enVGpVPka56wx2Q3jnMwfxpAH5cHAWRRZEYAZc=; b=PFGdoaNWtcBebVgpmIb4Yp0R+IKnU6nVvrG6KZ7JMzyMLNgZqmzB43/RJi5CcizFMa RuIP4TaHG7UaIBOfR67/uimTpR9NHeJiCFP8bX5g1UNOn8bQrRsAy1JrfoUnCnd6yUSI /LArdwU/lyFnw+MuQAtZQyhwccVcdBTNfazSb/wq13mke0MFrWbM11b+3A8s8xEqBDXr b9AmldUaMlgndvLqFspEIcjhwe/utEBdWsgfyM4/sdSoctxVB5OhfU2/Ik1CC6CWS4AZ kMTi9bG0vH7HfyVuqX18c/MT6TWebTl6A+WgwfkflpOpz0ZzSjUs0PFZAjRj6Ip7AZDV 0fYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=mFsR0enVGpVPka56wx2Q3jnMwfxpAH5cHAWRRZEYAZc=; b=DKCrRAB9bi5dA/+h5ee5JaELBKqhOHN33zTlG33h2aPoO5qxk9j8lzSW7P5NJO72uv uJ5RT6TgbI0VJ40PMgtdTGQOx/Qep27jolTJXNndTLtwx0tLVajogvTMtML9S69aa7r2 cZXfgt6q/+7mYCrZHT1ZhOpNK01QY6a/b6eFSD6NkfiGAMzE1uFWLUGEecM/GLWsj3v/ 8fQUqSJVu/3ewkBSGcw/JFKZ6oi0lWqmqBG5L+Yhbzb8+rL64MaphrgHU5eU5TH55pk3 VwDhc+CDCwwVHcL2uL1QH/c5cGF+B64sbLDGsZod3eXi0A4L+hHVNRIMzNBmkfdSkNsY ItkQ== X-Gm-Message-State: AOAM5332F9xzzM/xUTEszwkwzZ4j/GB4gNo5aQNGSfWnmek3wv3vpiK4 cNewCgzeIJAXJk35mAN33rtxtYfQBEwezw== X-Google-Smtp-Source: ABdhPJx/wJivoSE29pW+GNVHlsthnhHsGa7JfWKl8TKpb/JDDS5nBfnqoNwP1jXU3JL/zL5JhGq5cA== X-Received: by 2002:a63:1c14:: with SMTP id c20mr6380462pgc.82.1604157382064; Sat, 31 Oct 2020 08:16:22 -0700 (PDT) Received: from [192.168.1.25] ([38.141.58.134]) by smtp.gmail.com with ESMTPSA id 63sm9078683pfv.25.2020.10.31.08.16.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Oct 2020 08:16:21 -0700 (PDT) To: bug-guix@gnu.org From: Jesse Gibbons Subject: mingetty --no-clear is hard-coded Message-ID: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> Date: Sat, 31 Oct 2020 09:16:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=jgibbons2357@gmail.com; helo=mail-pf1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 15 X-Spam_score: 1.5 X-Spam_bar: + X-Spam_report: (1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 4.5 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The --no-clear option is hard-coded for mingetty, with no documentation about why. The mingetty page says,        --noclear               Do not clear the screen before prompting fo [...] Content analysis details: (4.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [38.141.58.134 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (jgibbons2357[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jgibbons2357[at]gmail.com) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 SPOOFED_FREEMAIL No description available. 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: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The --no-clear option is hard-coded for mingetty, with no documentation about why. The mingetty page says,        --noclear               Do not clear the screen before prompting fo [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [38.141.58.134 listed in zen.spamhaus.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (jgibbons2357[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jgibbons2357[at]gmail.com) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager The --no-clear option is hard-coded for mingetty, with no documentation about why. The mingetty page says,        --noclear               Do not clear the screen before prompting for the login name (the               screen is normally cleared). I do not think I am alone in preferring the screen cleared after logout. I also think it could be a security issue. For now my workaround is to include a call to "tput reset" or "clear" in my .bash_logout script, but that has to be configured for every user and requires more packages installed either at the system level or per-user. I think this is an "easy for beginners" issue. I would fix it myself, but I have a lot of other stuff to do. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 11:32:10 2020 Received: (at 44347) by debbugs.gnu.org; 1 Nov 2020 16:32:10 +0000 Received: from localhost ([127.0.0.1]:38325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZGH3-0001PJ-WF for submit@debbugs.gnu.org; Sun, 01 Nov 2020 11:32:10 -0500 Received: from world.peace.net ([64.112.178.59]:57406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZGH2-0001P5-0U for 44347@debbugs.gnu.org; Sun, 01 Nov 2020 11:32:08 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZGGv-0007pw-Ey; Sun, 01 Nov 2020 11:32:01 -0500 From: Mark H Weaver To: Jesse Gibbons , 44347@debbugs.gnu.org Subject: Re: bug#44347: mingetty --no-clear is hard-coded In-Reply-To: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> References: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> Date: Sun, 01 Nov 2020 11:30:20 -0500 Message-ID: <87zh413uq0.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44347 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Jesse, Jesse Gibbons writes: > The --no-clear option is hard-coded for mingetty, with no documentation=20 > about why. The mingetty page says, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --noclear > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 Do not clear the screen before prompting for the login=20 > name (the > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 screen is normally cleared). > > I do not think I am alone in preferring the screen cleared after logout.= =20 You're not alone. I'd also prefer that the screen be cleared. At least, it should be configurable. Here's an *untested* patch to make it configurable, and to change the default behavior to clear. I'm rebuilding my system now, but I have a lot of compiling ahead of me (I don't use substitutes), so it will be a while. I'll report back after I've tested it. In the meantime, does anyone object to changing the default behavior to clear-on-logout, which is the upstream default? Regards, Mark --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-UNTESTED-gnu-mingetty-shepherd-service-Make-clear-on.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] UNTESTED: gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable. >From 61d0055493c46cdee178d0ffbbf15742de930028 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 1 Nov 2020 11:16:08 -0500 Subject: [PATCH] UNTESTED: gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable. Also change the default configuration to clear on logout, which is the upstream default. * gnu/services/base.scm (): Add 'clear-on-logout?' field. (mingetty-shepherd-service): Pass the "--noclear" option to mingetty only if 'clear-on-logout?' is #false. --- gnu/services/base.scm | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 5a5c41d588..1f750670c9 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovi= c Court=C3=A8s ;;; Copyright =C2=A9 2015, 2016 Alex Kost -;;; Copyright =C2=A9 2015, 2016 Mark H Weaver +;;; Copyright =C2=A9 2015, 2016, 2020 Mark H Weaver ;;; Copyright =C2=A9 2015 Sou Bunnbu ;;; Copyright =C2=A9 2016, 2017 Leo Famulari ;;; Copyright =C2=A9 2016 David Craven @@ -1024,20 +1024,22 @@ the tty to run, among other things." (define-record-type* mingetty-configuration make-mingetty-configuration mingetty-configuration? - (mingetty mingetty-configuration-mingetty ; - (default mingetty)) - (tty mingetty-configuration-tty) ;string - (auto-login mingetty-auto-login ;string | #f - (default #f)) - (login-program mingetty-login-program ;gexp - (default #f)) - (login-pause? mingetty-login-pause? ;Boolean - (default #f))) + (mingetty mingetty-configuration-mingetty ; + (default mingetty)) + (tty mingetty-configuration-tty) ;string + (auto-login mingetty-auto-login ;string | #f + (default #f)) + (login-program mingetty-login-program ;gexp + (default #f)) + (login-pause? mingetty-login-pause? ;Boolean + (default #f)) + (clear-on-logout? mingetty-clear-on-logout? ;Boolean + (default #t))) =20 (define mingetty-shepherd-service (match-lambda (($ mingetty tty auto-login login-program - login-pause?) + login-pause? clear-on-logout?) (list (shepherd-service (documentation "Run mingetty on an tty.") @@ -1050,7 +1052,6 @@ the tty to run, among other things." =20 (start #~(make-forkexec-constructor (list #$(file-append mingetty "/sbin/mingetty") - "--noclear" =20 ;; Avoiding 'vhangup' allows us to avoid 'setfont' ;; errors down the path where various ioctls get @@ -1058,6 +1059,9 @@ the tty to run, among other things." ;; in Linux. "--nohangup" #$tty =20 + #$@(if clear-on-logout? + #~() + #~("--noclear")) #$@(if auto-login #~("--autologin" #$auto-login) #~()) --=20 2.28.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 11:38:51 2020 Received: (at 44347) by debbugs.gnu.org; 1 Nov 2020 16:38:51 +0000 Received: from localhost ([127.0.0.1]:38333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZGNX-0001Yl-4J for submit@debbugs.gnu.org; Sun, 01 Nov 2020 11:38:51 -0500 Received: from world.peace.net ([64.112.178.59]:57586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZGNV-0001YZ-VX for 44347@debbugs.gnu.org; Sun, 01 Nov 2020 11:38:50 -0500 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZGNP-0007vV-Ev; Sun, 01 Nov 2020 11:38:43 -0500 From: Mark H Weaver To: Jesse Gibbons , 44347@debbugs.gnu.org Subject: Re: bug#44347: mingetty --no-clear is hard-coded In-Reply-To: <87zh413uq0.fsf@netris.org> References: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> <87zh413uq0.fsf@netris.org> Date: Sun, 01 Nov 2020 11:37:02 -0500 Message-ID: <87wnz53ueu.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44347 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 (-) --=-=-= Content-Type: text/plain Here's a revised patch, still untested, that also updates the documentation. Mark --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-UNTESTED-gnu-mingetty-shepherd-service-Make-clear-on.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] UNTESTED: gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable. >From 9229d0493cdbb521a2f7a821d47d60d2392b8447 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 1 Nov 2020 11:16:08 -0500 Subject: [PATCH] UNTESTED: gnu: mingetty-shepherd-service: Make 'clear-on-logout' configurable. Also change the default configuration to clear on logout, which is the upstream default. * gnu/services/base.scm (): Add 'clear-on-logout?' field. (mingetty-shepherd-service): Pass the "--noclear" option to mingetty only if 'clear-on-logout?' is #false. * doc/guix.texi (Base Services): Document the 'clear-on-logout?' field. --- doc/guix.texi | 3 +++ gnu/services/base.scm | 28 ++++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 69e7d5f85c..6ef4350f97 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -14494,6 +14494,9 @@ the name of the log-in program. When set to @code{#t} in conjunction with @var{auto-login}, the user will have to press a key before the log-in shell is launched. =20 +@item @code{clear-on-logout?} (default: @code{#t}) +When set to @code{#t}, the screen will be cleared after logout. + @item @code{mingetty} (default: @var{mingetty}) The Mingetty package to use. =20 diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 5a5c41d588..1f750670c9 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovi= c Court=C3=A8s ;;; Copyright =C2=A9 2015, 2016 Alex Kost -;;; Copyright =C2=A9 2015, 2016 Mark H Weaver +;;; Copyright =C2=A9 2015, 2016, 2020 Mark H Weaver ;;; Copyright =C2=A9 2015 Sou Bunnbu ;;; Copyright =C2=A9 2016, 2017 Leo Famulari ;;; Copyright =C2=A9 2016 David Craven @@ -1024,20 +1024,22 @@ the tty to run, among other things." (define-record-type* mingetty-configuration make-mingetty-configuration mingetty-configuration? - (mingetty mingetty-configuration-mingetty ; - (default mingetty)) - (tty mingetty-configuration-tty) ;string - (auto-login mingetty-auto-login ;string | #f - (default #f)) - (login-program mingetty-login-program ;gexp - (default #f)) - (login-pause? mingetty-login-pause? ;Boolean - (default #f))) + (mingetty mingetty-configuration-mingetty ; + (default mingetty)) + (tty mingetty-configuration-tty) ;string + (auto-login mingetty-auto-login ;string | #f + (default #f)) + (login-program mingetty-login-program ;gexp + (default #f)) + (login-pause? mingetty-login-pause? ;Boolean + (default #f)) + (clear-on-logout? mingetty-clear-on-logout? ;Boolean + (default #t))) =20 (define mingetty-shepherd-service (match-lambda (($ mingetty tty auto-login login-program - login-pause?) + login-pause? clear-on-logout?) (list (shepherd-service (documentation "Run mingetty on an tty.") @@ -1050,7 +1052,6 @@ the tty to run, among other things." =20 (start #~(make-forkexec-constructor (list #$(file-append mingetty "/sbin/mingetty") - "--noclear" =20 ;; Avoiding 'vhangup' allows us to avoid 'setfont' ;; errors down the path where various ioctls get @@ -1058,6 +1059,9 @@ the tty to run, among other things." ;; in Linux. "--nohangup" #$tty =20 + #$@(if clear-on-logout? + #~() + #~("--noclear")) #$@(if auto-login #~("--autologin" #$auto-login) #~()) --=20 2.28.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 01 17:12:11 2020 Received: (at 44347) by debbugs.gnu.org; 1 Nov 2020 22:12:11 +0000 Received: from localhost ([127.0.0.1]:38875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZLa6-0007rt-NU for submit@debbugs.gnu.org; Sun, 01 Nov 2020 17:12:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZLa5-0007rh-C2 for 44347@debbugs.gnu.org; Sun, 01 Nov 2020 17:12:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33864) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZLa0-0005qA-0V; Sun, 01 Nov 2020 17:12:04 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49134 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kZLZz-0008FI-AD; Sun, 01 Nov 2020 17:12:03 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mark H Weaver Subject: Re: bug#44347: mingetty --no-clear is hard-coded References: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> <87zh413uq0.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Brumaire an 229 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: Sun, 01 Nov 2020 23:12:02 +0100 In-Reply-To: <87zh413uq0.fsf@netris.org> (Mark H. Weaver's message of "Sun, 01 Nov 2020 11:30:20 -0500") Message-ID: <87o8kgpw0d.fsf@gnu.org> 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: -2.3 (--) X-Debbugs-Envelope-To: 44347 Cc: Jesse Gibbons , 44347@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: -3.3 (---) Hi Mark, Mark H Weaver skribis: > In the meantime, does anyone object to changing the default behavior to > clear-on-logout, which is the upstream default? Fine with me; it=E2=80=99s probably a safer default. > From 61d0055493c46cdee178d0ffbbf15742de930028 Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Sun, 1 Nov 2020 11:16:08 -0500 > Subject: [PATCH] UNTESTED: gnu: mingetty-shepherd-service: Make > 'clear-on-logout' configurable. > > Also change the default configuration to clear on logout, which is the > upstream default. > > * gnu/services/base.scm (): Add 'clear-on-logout?' > field. > (mingetty-shepherd-service): Pass the "--noclear" option to mingetty only= if > 'clear-on-logout?' is #false. Untested as well :-), but your v2 LGTM. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 12:12:27 2020 Received: (at 44347-done) by debbugs.gnu.org; 3 Dec 2020 17:12:27 +0000 Received: from localhost ([127.0.0.1]:41635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kks9b-0005Cz-0F for submit@debbugs.gnu.org; Thu, 03 Dec 2020 12:12:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kks9Z-0005Ck-Nc for 44347-done@debbugs.gnu.org; Thu, 03 Dec 2020 12:12:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47442) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kks9R-0008Cr-OA; Thu, 03 Dec 2020 12:12:19 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51478 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kks9Q-0001HR-8I; Thu, 03 Dec 2020 12:12:16 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mark H Weaver Subject: Re: bug#44347: mingetty --no-clear is hard-coded References: <9da4da56-c557-19be-fac6-f8b9ab8541c5@gmail.com> <87zh413uq0.fsf@netris.org> <87o8kgpw0d.fsf@gnu.org> Date: Thu, 03 Dec 2020 18:12:14 +0100 In-Reply-To: <87o8kgpw0d.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 01 Nov 2020 23:12:02 +0100") Message-ID: <87lfeebyq9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44347-done Cc: 44347-done@debbugs.gnu.org, Jesse Gibbons 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 (---) This was fixed by commit e3ae31347882b25e1513e4475616fb6e4497e280. Closing! From unknown Mon Aug 18 14:20:42 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, 01 Jan 2021 12:24:10 +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