Subject: bug#44347: mingetty --no-clear is hard-coded

From: Ludovic Courtès <[email-masked]>
Date: Sun, 01 Nov 2020 23:12:02 +0100

Hi Mark,

Mark H Weaver <[email-masked]> 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’s probably a safer default.

> From 61d0055493c46cdee178d0ffbbf15742de930028 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <[email-masked]>
> 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 (<mingetty-configuration>): 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’.