From patchwork Fri Jan 4 21:35:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "David J. Fogle" X-Patchwork-Id: 1020902 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=exitstrategytech.com Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43WdRL4TFBz9s7T for ; Sat, 5 Jan 2019 08:37:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 0783323543; Fri, 4 Jan 2019 21:37:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLG135aCmz0H; Fri, 4 Jan 2019 21:37:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6ECD42273B; Fri, 4 Jan 2019 21:37:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 706BA1C32AC for ; Fri, 4 Jan 2019 21:37:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6B1D8834E6 for ; Fri, 4 Jan 2019 21:37:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2KwW-XbecPez for ; Fri, 4 Jan 2019 21:37:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.exitstrategytech.com (50-73-118-36-ip-static.hfc.comcastbusiness.net [50.73.118.36]) by whitealder.osuosl.org (Postfix) with ESMTPS id D178482441 for ; Fri, 4 Jan 2019 21:37:13 +0000 (UTC) Received: from mailbox01.exitstrategytech.com (192.168.13.9) by mailbox01.exitstrategytech.com (192.168.13.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.196.0; Fri, 4 Jan 2019 15:35:23 -0600 Received: from mailbox01.exitstrategytech.com ([fe80::2906:3cc4:b6a8:957]) by mailbox01.exitstrategytech.com ([fe80::2906:3cc4:b6a8:957%11]) with mapi id 15.02.0196.000; Fri, 4 Jan 2019 15:35:23 -0600 From: "David J. Fogle" To: "buildroot@busybox.net" Thread-Topic: [PATCH] package/systemd: set vconsole support option to default y Thread-Index: AQHUpHQnTwbFbsVISkGRqDBwN2XyIg== Date: Fri, 4 Jan 2019 21:35:23 +0000 Message-ID: <1dc021862b1041c3990d6ce25bb331ca@exitstrategytech.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.13.1] MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/systemd: set vconsole support option to default y X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "yann.morin.1998@free.fr" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" package/systemd:  set vconsole support option to default y Without this support option enabled, systemd does not allow vterm switching, and could possibly lead to user lockout on tty1. We prevent these scenarios by enabling the vconsole tool default y, as console login is much more prevalent than not. This allows the option to disable the tool if needed, but as this is a rare usage, it is better to let a user decide they do *not* need it than to expect them to know they *do*. Any serial connections will not be impacted by absence of this tool, as there are no vconsoles on serial. Signed-off-by: David Fogle ---  package/systemd/Config.in | 1 +  1 file changed, 1 insertion(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 25f322e8f3..920b65db44 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -325,6 +325,7 @@ config BR2_PACKAGE_SYSTEMD_TMPFILES    config BR2_PACKAGE_SYSTEMD_VCONSOLE         bool "enable vconsole tool" +       default y         help           systemd-vconsole-setup is an early boot service that           configures the virtual console font and console keymap.