* [Buildroot] [PATCH] package/systemd: set vconsole support option to default y
@ 2019-01-04 21:35 David J. Fogle
2019-01-05 13:40 ` Thomas Petazzoni
2019-02-06 13:16 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: David J. Fogle @ 2019-01-04 21:35 UTC (permalink / raw)
To: 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 <dave@exitstrategytech.com>
---
?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.
--
2.19.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/systemd: set vconsole support option to default y
2019-01-04 21:35 [Buildroot] [PATCH] package/systemd: set vconsole support option to default y David J. Fogle
@ 2019-01-05 13:40 ` Thomas Petazzoni
2019-02-06 13:16 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-01-05 13:40 UTC (permalink / raw)
To: buildroot
Hello David,
Thanks for this contribution!
On Fri, 4 Jan 2019 21:35:23 +0000, David J. Fogle wrote:
> package/systemd:? set vconsole support option to default y
There is no need to repeat the commit title twice.
> 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.
I am not sure why you say "much more prevalent than not". I would say
quite the opposite: in embedded systems, either there is no screen at
all, or when there is a screen, it is used to display an end-user
application and not a console login.
> 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*.
I'm a bit unconvinced. What is the size impact of having this option
enabled by default ?
Also, make sure your commit log is wrapped to 72 characters.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/systemd: set vconsole support option to default y
2019-01-04 21:35 [Buildroot] [PATCH] package/systemd: set vconsole support option to default y David J. Fogle
2019-01-05 13:40 ` Thomas Petazzoni
@ 2019-02-06 13:16 ` Thomas Petazzoni
2019-02-18 22:26 ` Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-02-06 13:16 UTC (permalink / raw)
To: buildroot
On Fri, 4 Jan 2019 21:35:23 +0000
"David J. Fogle" <Dave@exitstrategytech.com> wrote:
> 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 <dave@exitstrategytech.com>
> ---
> ?package/systemd/Config.in | 1 +
> ?1 file changed, 1 insertion(+)
Applied to master with the reworked commit message proposed by Yann.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/systemd: set vconsole support option to default y
2019-02-06 13:16 ` Thomas Petazzoni
@ 2019-02-18 22:26 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-02-18 22:26 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> On Fri, 4 Jan 2019 21:35:23 +0000
> "David J. Fogle" <Dave@exitstrategytech.com> wrote:
>> 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 <dave@exitstrategytech.com>
>> ---
>> ?package/systemd/Config.in | 1 +
>> ?1 file changed, 1 insertion(+)
> Applied to master with the reworked commit message proposed by Yann.
> Thanks!
Committed to 2018.02.x and 2018.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-18 22:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 21:35 [Buildroot] [PATCH] package/systemd: set vconsole support option to default y David J. Fogle
2019-01-05 13:40 ` Thomas Petazzoni
2019-02-06 13:16 ` Thomas Petazzoni
2019-02-18 22:26 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox